MCP SAP Docs
Lets your AI agent search and read SAP documentation: UI5, CAP, ABAP, BTP and more.
250 stars on GitHubby marianfooLicense Apache-2.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add sap-docs -- npx -y mcp-sap-docs
Ready! Now test it
Restart the app and paste one of these requests in the chat:
How do I enable draft handling in a RAP business object?
Search SAP docs for how to configure a destination in BTP.
What it is
MCP SAP Docs gives AI assistants one search and fetch interface over SAP documentation. It combines a local full-text index of SAP docs with optional live queries to SAP Help, SAP Community and Software Heroes. A public hosted server is available, with no key or login.
What it can do
search: search offline docs and optional online sourcesfetch: get the full text of a resultabap_feature_matrix: check ABAP feature availability by releasesap_community_search: search SAP Community postssap_search_objects: find released SAP objectssap_get_object_details: release state and clean core level of an objectabap_lint: static analysis of ABAP code (ABAP variant)
When to use
- βΊWhen you want the AI to answer from real SAP documentation instead of memory
- βΊWhen you need an ABAP or RAP code example or style guide
- βΊWhen you are looking for a fix for a specific SAP error in the Community
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
doc-generatorHelps your agent write accurate API documentation from source code, including endpoint details, examples, and OpenAPI specs.microsoft-docsLets your agent query official Microsoft documentation. It can find concepts, tutorials, and code examples for various Microsoft technologies.agent-native-docsHelps your agent find the right version-matched framework docs and source examples before it writes code against the Agent-Native core package.Frequently asked questions
Is it free?
The hosted server needs no key or login and is public and read-only. The project can also be self-hosted.
Which sources does it cover?
UI5, CAP, Cloud SDK, ABAP keyword docs, RAP samples, BTP docs and more, plus SAP Help, SAP Community and Software Heroes online.
Can I use it offline?
Yes, with a local index and includeOnline set to false.
Are there different variants?
Yes: sap-docs for broad docs and abap for ABAP-focused docs with the abap_lint tool.
How does ranking work?
BM25 keyword search by default, with optional semantic ranking.
Are results limited in size?
SAP Help and Community fetches default to 75,000 characters and mark shortened results.
If it does not work
- βΊFor the hosted server, check that your client supports streamable HTTP and the URL is correct.
- βΊIf self-hosting, run npm run setup and npm run build before starting.
- βΊOnline lookups have a 10-second timeout per request; try again or use offline search.
5 new skills a week. 1 minute to read.