Enterprise6-minute read7 languages

Connect SAP to Claude: S/4HANA, Business One, ECC and Concur

Connect SAP to Claude with ready MCP connectors: S/4HANA on-premise via HANA SQL or OData, S/4HANA Cloud, Business One, ECC and Concur. Pick your system, no code.

HCBy HelpCode teamUpdated 6 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Connect SAP to Claude with ready MCP connectors: S/4HANA on-premise via HANA SQL or OData, S/4HANA Cloud, Business One, ECC and Concur. Pick your system, no code.

AnythingMCP is listed in Claude's connector directory: add it to Claude in one click (opens in a new tab), then sign in and choose which MCP servers Claude may use.

TL;DR: Claude reaches SAP through an MCP connector in AnythingMCP. Which connector depends on your SAP system: S/4HANA on-premise or Private Cloud reads the HANA database with SAP's own data dictionary (or the Gateway OData services), S/4HANA Cloud Public Edition uses SAP's released APIs, and Business One, ECC and Concur have their own routes. You install the connector, enter the credentials and add the MCP server to Claude as a custom connector. The same server works in ChatGPT, Copilot, Cursor and Claude Code.

Which SAP do you run?

HANA SQL
SAP S/4HANA on-premise or Private Cloud (RISE)

Read the HANA database with SQL, guided by SAP's own data dictionary. Read-only, 10 tools, verified on S/4HANA 2025.

Connect S/4HANA via HANA →
OData
SAP S/4HANA, ECC or BW with SAP Gateway

The Gateway's OData V2/V4 services become MCP tools, with SAP's authorization checks on every call.

OData to MCP →
S/4HANA Cloud
SAP S/4HANA Cloud Public Edition

SAP's released OData APIs through a BTP communication arrangement: business partners, orders, billing, journal entries.

Connect S/4HANA Cloud →
Service Layer
SAP Business One

The Service Layer (OData v4): business partners, items, quotations, orders, deliveries, invoices. It can also create sales orders.

Connect Business One →
REST
SAP Concur

Expense reports, approvals, attendees and itineraries, with OAuth 2.0.

Connect Concur →

Not sure which one fits your S/4HANA? It comes down to what you can reach:

Do you have direct database access to HANA?
Yes
Route
HANA SQL
SQL with SAP's data dictionary
Connect S/4HANA via HANA →
No
Is SAP Gateway exposed?
Yes
Route
OData
Gateway services as MCP tools
OData to MCP →
S/4HANA Cloud Public Edition
Route
S/4HANA Cloud APIs
Released APIs via BTP
Connect S/4HANA Cloud →

What people ask Claude about SAP

These are the questions the connectors are built for. Each one runs against your own system, with the rights of the user you configured.

QuestionRoute
"What was our gross margin by month in 2025, per company code?"HANA SQL
"Which customers have invoices more than 60 days overdue, and how much?"HANA SQL, OData
"What is our DSO this quarter compared to last?"HANA SQL
"Top 10 customers by net sales in the last 12 months."HANA SQL, OData, S/4HANA Cloud
"Which purchase orders are still open and past their delivery date?"OData, S/4HANA Cloud
"Show stock value by plant and material group."HANA SQL

The HANA guide shows three of them end to end: the tools Claude calls, the SAP tables it reads and the SQL it runs.

How it works

AI client
Claude
ChatGPT
Copilot
MCP over HTTPS · OAuth
Inside your network
AnythingMCP
self-hosted
  • Roles and tool access
  • Read-only by default
  • Audit log
SQL · OData · HTTPS
SAP
HANA SQL
SQL user · SELECT only
OData via SAP Gateway
S/4HANA or ECC
S/4HANA Cloud APIs
BTP communication arrangement
Claude talks MCP to AnythingMCP. AnythingMCP runs next to SAP and is the only component that talks to it.

S/4HANA on-premise, Private Cloud and ECC sit inside your network or SAP's private cloud landing zone, so AnythingMCP runs there too: one Docker Compose file on a host that reaches SAP. Only the MCP endpoint has to be published for claude.ai, never the SAP system. SAP Business One, S/4HANA Cloud and Concur are reachable over the internet, so they also work from AnythingMCP Cloud.

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d   # then add the SAP host to SSRF_ALLOWED_HOSTS in .env

Then install the connector from Connectors → Marketplace, and add the MCP server to Claude: on claude.ai or in Claude Desktop, Customize → Connectors → + → Add custom connector, paste the URL shown under MCP Servers and sign in. In Claude Code: claude mcp add --transport http sap <url> --header "X-API-Key: <key>".

HANA SQL or OData?

Both routes reach S/4HANA on-premise and Private Cloud, and both can run side by side.

HANA SQLOData
ReadsAny table or CDS view the database user may readThe Gateway services the SAP user may call
SAP authorizationsNot applied: the database grants are the boundaryChecked by SAP on every call
Good atTotals over millions of rows, finance and cross-module analysisPublished APIs, business objects, SAP's own checks
Works withS/4HANA on HANAS/4HANA, ECC, BW
You needA HANA database user and a licence that allows third-party SQLA technical SAP user and active Gateway services

Direct connection, Joule or a generic HANA server?

Three ways to put an AI model in front of SAP data.

Direct connection (AnythingMCP)SAP Joule with ClaudeGeneric HANA MCP servers
Works on-premise and on Private Cloud todayYesDepends on your SAP product, edition and releaseYes, with database access
Delivered and licensed byYou (open source, AGPL-3.0)SAP, on the SAP Business AI platformThe project you pick
Understands SAP tablesYes: SAP's data dictionary and CDS views as toolsSAP-managedNo: raw table and column names
Read-only guardrailsYes: single SELECT, 1,000 rows, timeout, denied tablesSAP-managedVaries
Works in any MCP clientClaude, ChatGPT, Copilot, CursorInside SAP's applicationsUsually

Joule is SAP's own assistant, and SAP and Anthropic have announced Claude inside it. The direct route is for teams that want Claude, ChatGPT or Copilot on their SAP data now, on systems they run themselves.

FAQ

How do I connect SAP to Claude? Install the AnythingMCP connector for your SAP system (S/4HANA via HANA SQL or OData, S/4HANA Cloud, Business One or Concur), enter the credentials and add the MCP server URL to Claude as a custom connector. For S/4HANA on-premise and Private Cloud, run AnythingMCP inside the network that reaches SAP.

How do I connect SAP Business One to Claude? Install the SAP Business One connector, enter the Service Layer URL, the company database, a user and its password, and add the MCP server to Claude. It has 12 tools for business partners, items, quotations, orders, deliveries and invoices, and it can create sales orders. Step by step: Connect SAP Business One to Claude.

How do I connect SAP HANA to ChatGPT? The same way as to Claude: install the SAP S/4HANA (HANA SQL) connector in a self-hosted AnythingMCP and add its MCP server to ChatGPT as a custom MCP server (paid plans). The tools and their read-only limits are identical in both. See SAP to ChatGPT.

Is there an SAP MCP server? Yes. AnythingMCP ships SAP S/4HANA (HANA SQL, 10 tools), S/4HANA (OData), S/4HANA Cloud (15 tools), Business One (12 tools) and Concur (10 tools) as ready MCP connectors, open source and self-hosted. The sap-mcp-server repository lists them; sap-hana-mcp-server is the HANA one on its own.

Does it work with SAP ECC? Yes, through ECC's SAP Gateway OData services: create an OData connector and import the services you want from $metadata. The HANA SQL route needs S/4HANA, because it reads S/4HANA's tables and CDS views.

Can Claude change data in SAP? Only where the connector allows it. SAP Business One can create sales orders and Concur can act on expense reports; the S/4HANA connectors only read. Give each MCP role the tools it needs and nothing more.

Next steps

Was this guide helpful?

Ship MCP to your stack in 60 seconds.

Spin up AnythingMCP on managed Cloud or self-host it on your infrastructure. Free for 7 days, no credit card.

Related guides

Connectors

Connect Åhléns to Claude via MCP

Run your shop on the Åhléns marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Sweden; sign in with the shop API key from your Åhléns seller back office.

Connectors

Connect ANWB Marketplace to Claude via MCP

Run your shop on the ANWB marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in the Netherlands; sign in with the shop API key from your ANWB seller back office.

Connectors

Connect AUTODOC to Claude via MCP: Orders and Offers

Run your shop on the AUTODOC marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in France, Germany, Austria, Belgium, Italy, Luxembourg, the Netherlands, Poland and 3 more countries; sign in with the shop API key from your AUTODOC seller back office.

Connectors

Connect Black Red White to Claude via MCP

Run your shop on the Black Red White marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in Poland; sign in with the shop API key from your Black Red White seller back office.

Connectors

Connect Bloomingdale's to Claude via MCP

Run your shop on the Bloomingdale's marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in the United States; sign in with the shop API key from your Bloomingdale's seller back office.

Connectors

Connect BrandAlley to Claude via MCP: Orders and Offers

Run your shop on the BrandAlley marketplace from an AI agent: orders, acceptance, tracking and shipping, incidents, offers with prices and stock, imports, messages, returns, invoices and transactions. The marketplace sells in the United Kingdom and France; sign in with the shop API key from your BrandAlley seller back office.