SAP MCP server exposing sales orders to Claude via SAP Graph

SAP MCP server exposing sales orders to Claude via SAP Graph

sap-mcp•bycostinggeek

A Python MCP server that connects Claude to SAP systems through the SAP Graph API, letting Claude retrieve and process real-time SAP business data such as sales orders.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Exposes a get_sales_orders tool that retrieves sales order information from the SAP Graph API.
  • •Accepts an optional top parameter to control how many sales orders to retrieve, defaulting to 3.
  • •Returns formatted sales order details including order ID, sold-to party, net amount and creation date.
  • •Uses an SAP API key from an environment variable if not supplied directly.

BEST FOR

  • •Asking Claude questions about recent SAP sales orders from an SAP Graph sandbox or production system.
  • •Proof-of-concept extensions toward additional SAP entities such as customers and products.

ABOUT SAP-MCP

SAP MCP server exposing sales orders to Claude via SAP Graph is cataloged as an MCP server attributed to costinggeek. A Python MCP server that connects Claude to SAP systems through the SAP Graph API, letting Claude retrieve and process real-time SAP business data such as sales orders. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for SAP MCP server exposing sales orders to Claude via SAP Graph are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server return SAP data to Claude?

When Claude calls a tool, the function connects to the SAP Graph API, returns formatted results, and Claude processes that data to generate insights.

Upstream README

View this exact version on GitHub

README.md · b08a8ff0fa6b · Fetched 2026-11-13 10:29:17 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

SAP-Claude Integration via MCP (Model Context Protocol)

Connect Claude AI capabilities directly to your SAP systems through a seamless MCP integration

This repository contains a Python-based solution that enables bidirectional communication between Claude (Anthropic's large language model) and SAP systems via the SAP Graph API. By leveraging the Model Context Protocol (MCP), this integration allows Claude to retrieve and process SAP business data in real-time.

Features

  • Connect Claude to SAP systems with minimal setup
  • Retrieve real-time sales order data from SAP via Graph API
  • Extend the integration with additional SAP entities (Customers, Products, etc.)
  • Process SAP data with the full capabilities of Claude's LLM

Prerequisites

  • Python 3.8+
  • SAP API key (sandbox or production)
  • Claude Desktop
  • Basic understanding of MCP and SAP Graph API

This documentation is written for a Windows environment with administrator rights

Reference Documentation

Installation

  1. Get the SAP API Key

Log into the SAP Graph Navigator. You will find the API key in your profile, under Settings > API Settings. Save that API key as system environment variable "SAP_API_KEY". Make sure to restart your machine to load the new environment variable.

  1. Set up your environment

Let's follow the Documentation for Server Developers.

First, let’s install uv and set up our Python project and environment:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Make sure to restart your terminal afterwards to ensure that the uv command gets picked up.

Now, let’s create and set up our project:

# Create a new directory for our project
uv init saptools
cd saptools

# Create virtual environment and activate it
uv venv
.venv\Scripts\activate

# Install dependencies
uv add mcp[cli] httpx requests

# Create our server file
new-item saptools.py
  1. Building the server

Clone the saptools.py file into your own file.

  1. Connect Claude Desktop with the MCP Server

Open Claude Studio. Under File > Settings > Developer, click Edit Config. Edit the file claude_desktop_config.json usually located in the %APPDATA%\Claude folder. Make sure to replace the C:\\PATH\\TO\\PARENT\\FOLDER with your own.

{
    "mcpServers": {
        "saptools": {
            "command": "uv",
            "args": [
                "--directory",
                "C:\\PATH\\TO\\PARENT\\FOLDER",
                "run",
                "saptools.py"
            ]
        }
    }
}

Now, restart Claude Desktop to load the configuration. Note that by default, closing the Claude window only minimizes it to the system tray. You will need to close it completely by right-clicking on the icon in the system tray and selecting Quit. After restarting Claude, a new hammer icon should show in the chat window, that displays the number of active MCP tools. Click on it to show the information popup, which should show: get_sales_orders Retrieve sales orders from SAP Graph API sandbox. Args: top: Number of sales orders to retrieve (default: 3). api_key: SAP API key (optional, will use environment variable if not provided) Returns:String containing formatted sales order information

  1. Test the MCP Server

You should now be ready to chat with your SAP system from Claude with prompts like:

Give me the last 10 sales orders
What is the average amount of the last 5 sales orders

This is of course limited at this point, but extensions to this proof-of-concept should support more complex interactions, like getting the last sales orders for a given customer.

🛠️ How It Works

This solution uses the Model Context Protocol (MCP) to create a bidirectional communication channel between Claude and SAP systems:

  1. An MCP server is initialized using the FastMCP library
  2. The server exposes SAP functionality as "tools" that Claude can invoke
  3. When Claude needs to access SAP data, it calls the appropriate tool function
  4. The function connects to SAP Graph API and returns formatted results
  5. Claude processes the returned data and generates relevant insights

📊 Current Available Tools

get_sales_orders

Retrieves sales order information from SAP Graph API.

Parameters:

  • top (int, optional): Number of sales orders to retrieve (default: 3)
  • api_key (str, optional): SAP API key (uses environment variable if not provided)

Example response:

Found 3 sales orders:

Order ID: 123456
Display ID: SO-123456
Sold To Party: ACME Corp
Net Amount: 5000.00 USD
Created At: 2024-10-12T15:30:00Z
----------------------------------------
Order ID: 123457
Display ID: SO-123457
Sold To Party: TechInnovations
Net Amount: 7500.00 USD
Created At: 2024-10-13T09:15:00Z
----------------------------------------
Order ID: 123458
Display ID: SO-123458
Sold To Party: SampleCustomer
Net Amount: 2500.00 USD
Created At: 2024-10-14T09:15:00Z
----------------------------------------

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for SAP MCP server exposing sales orders to Claude via SAP Graph from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/sap-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage