Skip to main content
MCP server CX Codex

sap-abap-sql — Claude Code MCP server for ABAP SQL

Checks and prepares ABAP Open SQL for SAP ADT’s data-preview console. Useful when an agent needs to query an on-premise SAP system.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add sap-abap-sql -- npx -y sap-abap-sql-mcp
Open on GitHub

What sap-abap-sql does

This server checks SQL written for the SAP ADT data-preview console. abap_sql_prepare returns a corrected statement or explains what needs changing; abap_sql_explain interprets console errors, and abap_sql_rules lists dialect constraints. You can also run prepared queries with abap_sql_query after configuring a SAP connection.

Three tools work on the supplied statement without connecting to a system or requiring configuration. Running queries requires the system address and credentials in the server’s environment. This targets the ADT console, not SQL embedded in ABAP programs. The console allows up to 255 characters per statement and 5,000 result rows; results at the row cap are marked as truncated. That limit shapes what a single query can return.

What it helps with

  • correct spacing around parentheses in aggregates and conditions
  • identify why the ADT console rejected a statement
  • check a query against the console’s dialect rules
  • run a prepared query against a configured SAP system

Example prompts for the agent

  • Check SELECT COUNT(DISTINCT kunnr) FROM vbak for the SAP ADT data-preview console.
  • Explain why the ADT console rejected this query: SELECT a FROM t WHERE (x = '1' OR y = '2').
  • Run a prepared query against the configured SAP system and return its rows.

How to install sap-abap-sql

Platform CLI

claude mcp add sap-abap-sql -- npx -y sap-abap-sql-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about sap-abap-sql

How do I install sap-abap-sql in Claude Code?

Run claude mcp add sap-abap-sql -- npx -y sap-abap-sql-mcp.

What does sap-abap-sql do?

It checks and prepares statements for the SAP ADT data-preview SQL dialect. It can also explain rejected statements or run queries against a configured system.

What query limits does the ADT console enforce?

Statements are limited to 255 characters, and results stop at 5,000 rows. Results at that cap are marked as truncated.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor