← Back to directory
S

SAP BW Modeling MCP Server

Community
Let AI assistants work directly with SAP BW modeling objects.
Category
Dev Tools #89 of 751
Stars
★ 92 Popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Node.js 22+
Credentials
API key / credential required
License
MIT
Last commit
60FMRS · C

A modeling and query assistant for live SAP BW systems, with read/write support and selected runtime and load operations. Before deployment, verify system version, API availability, authorizations, and BW 7.5 enhancement requirements; writes and activation have real system impact.

Strongest · Documentation 16/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
9/20
Maintenance
13/20
Documentation
16/20
Setup experience
13/20
Why each score
Reliability 9/20
The README describes four SAP APIs, the write sequence, and risks such as activation failure and stale session data. It also says some capabilities vary by system version, making key behavior and some failure cases visible. The manifest is unavailable, and the supplied material contains no CI, test, or handshake execution evidence, so the match between declared tools and actual behavior cannot be verified. The score is conservative for a static review.
Security and permissions 9/20
The material says local configuration uses environment variables for connection credentials and supports cookie authentication; it also describes TLS verification as enabled by default, with an option to disable it. For hosted use, it describes OAuth, role collections, and principal propagation. However, stdio callers can use every tool, writes modify a live system, and the material does not describe per-operation confirmation for dangerous actions or show enough implementation detail to assess credential and data flows. The supplied evidence does not establish a red-line condition, so the score is not in the 0–4 range.
Maintenance 13/20
The material lists an MIT license, a non-archived status, a changelog, a vulnerability reporting policy, and supported fix versions; it also describes updates across multiple releases. This indicates a maintenance path. It does not provide verifiable commit dates, dependency update records, maintainer response history, or actual vulnerability handling evidence, so the score remains moderate.
Documentation 16/20
The README provides a capability overview, compatibility limits, authentication configuration, client setup examples, links to hosting guides and a tool reference, and disclosures about the BW 7.5 enhancement requirement, unwritable object types, and the separation between saving and activation. The supplied material does not include full tool parameters, detailed troubleshooting, or cost information; linked documents are not available as evidence here, so full marks are not justified.
Setup experience 13/20
The README gives a Node.js version requirement, npm installation or source build steps, required configuration, and examples for Claude Desktop and Claude Code, plus an overview of hosted deployment. Connecting to SAP still requires credentials, client configuration, and specific system capabilities; BW 7.5 also requires an ABAP enhancement. No verifiable CI and key-path test execution evidence is supplied, so the static-review cap applies.

Static review · not runReviewed 2026-12-02

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkChanges third-party account dataConnects to a database

Best for

  • Developers and analysts working with SAP BW/4HANA or suitably configured SAP BW 7.5 on HANA.
  • Teams that want AI assistance with BW modeling, queries, or related runtime operations.

Not for

  • Users without access to an SAP BW system or without the required APIs enabled.
  • Users needing general ABAP repository development, debugging, ATC, or arbitrary table reads; the README recommends pairing this server with an ADT MCP server.
  • Users seeking a simulated environment that cannot change a live system.

Required permissions

  • Connection credentials or session cookies for systems such as BW Bridge; local stdio configuration requires BW_URL and BW_CLIENT, plus BW_USER/BW_PASSWORD or BW_COOKIE_FILE.
  • SAP BW applies authorizations for the supplied credentials; write operations make real changes.
  • For central hosting, XSUAA role collections control which tools are offered; principal propagation can make BW apply the caller's own identity and authorizations.

Risks and side effects

  • Writes change real BW objects; a successful save does not guarantee successful activation.
  • REST writes submit a complete object document, so stale document contents could overwrite newer values; the server says it reads fresh data for writes.
  • Disabling TLS certificate verification weakens connection security; verification is enabled by default.
  • SAP BW 7.5 coverage depends on a system enhancement and whether an object has a REST resource; some objects are metadata-readable only.
  • BW Bridge cookies expire and must be refreshed, followed by a server restart.

Setup

Before you start

Runtime:Node.js 22+

BW_URL required URL of the SAP BW system; obtain it from your BW administrator.
BW_PASSWORD optionalsecret SAP password; obtain it from your BW administrator. Optional when using BW_COOKIE_FILE.
BW_CLIENT required SAP client number, such as 001; obtain it from your BW administrator.
Other optional settings (10)
BW_USER optional SAP user name; obtain it from your BW administrator. Optional when using BW_COOKIE_FILE.
BW_LANGUAGE optional Language for object texts, such as EN or DE; defaults to DE.
BW_COOKIE_FILE optional Path to a browser-exported session cookie file; for SAML/OAuth-fronted systems such as BW Bridge.
BW_MCP_SERVER_NAME optional Name advertised in the MCP initialize handshake; defaults to bw-modeling-mcp.
BW_MCP_SYSTEM_LABEL optional User-defined label for the connected BW system shown in server instructions.
BW_TOOL_MODE optional Tool mode, focused (default) or full; choose based on client needs.
BW_PLATFORM optional Platform detection mode: auto (default), classic, or bw4; set according to the system.
BW_SESSION_CLOSE optional Whether SAP sessions end after tool calls; defaults to on.
BW_TLS_VERIFY optional Whether to verify the BW system's HTTPS certificate; defaults to on.
NODE_EXTRA_CA_CERTS optional Path to a PEM certificate authority file used by Node.js; for an internal CA.

Requires Node.js 22 or later and an SAP BW system with the relevant internal APIs enabled. Install bw-modeling-mcp globally through npm, or clone the repository, install dependencies, and build it. The Claude Desktop example starts dist/stdio.js with node and sets BW_URL, BW_USER, BW_PASSWORD, and BW_CLIENT; BW_LANGUAGE is optional. It can also run centrally on SAP BTP Cloud Foundry with XSUAA OAuth for team access.

claude_desktop_config.json
{"mcpServers":{"bw-modeling-mcp":{"command":"node","args":["/path/to/bw-modeling-mcp/dist/stdio.js"],"env":{"BW_URL":"https://your-bw-host:50001","BW_USER":"YOUR_USER","BW_PASSWORD":"YOUR_PASSWORD","BW_CLIENT":"001","BW_LANGUAGE":"EN"}}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "bw-modeling-mcp": {
      "command": "node",
      "args": [
        "/path/to/bw-modeling-mcp/dist/stdio.js"
      ],
      "env": {
        "BW_URL": "https://your-bw-host:50001",
        "BW_USER": "YOUR_USER",
        "BW_PASSWORD": "YOUR_PASSWORD",
        "BW_CLIENT": "001",
        "BW_LANGUAGE": "EN"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.bw-modeling-mcp]
command = "node"
args = ["/path/to/bw-modeling-mcp/dist/stdio.js"]

[mcp_servers.bw-modeling-mcp.env]
BW_URL = "https://your-bw-host:50001"
BW_USER = "YOUR_USER"
BW_PASSWORD = "YOUR_PASSWORD"
BW_CLIENT = "001"
BW_LANGUAGE = "EN"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add bw-modeling-mcp -e BW_URL=https://your-bw-host:50001 -e BW_USER=YOUR_USER -e BW_PASSWORD=YOUR_PASSWORD -e BW_CLIENT=001 -e BW_LANGUAGE=EN -- node /path/to/bw-modeling-mcp/dist/stdio.js

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that bw-modeling-mcp tools appear in your MCP client. Ask it to read a BW object or run a query; a response from the connected BW system confirms the connection.

Troubleshooting

  1. Confirm Node.js 22 or later and that the MCP client points to dist/stdio.js.
  2. Check BW_URL, BW_CLIENT, and credentials; for SAML/OAuth-fronted systems, check the BW_COOKIE_FILE format and expiry.
  3. Check network access, the BW internal APIs, and the user's SAP authorizations.
  4. On BW 7.5, confirm the required ABAP enhancement is installed and that the target object has a REST resource.
  5. For TLS connection issues, inspect the certificate; for an in-house CA, configure NODE_EXTRA_CA_CERTS.

Things to try

Once connected, you can ask your AI assistant things like:

  • Read the definition and attributes of an InfoObject.
  • Check a query for consistency and explain its planning settings.
  • Create a new CompositeProvider and activate it.
  • Run a BW query and explain the returned data.

Use cases

Inspect BW modeling objects, queries, and data lineage.
Create or modify supported BW objects and queries.
Read query data and, where configured, perform data-load and runtime operations.
Provide centrally hosted team access with role-based tool controls on SAP BTP Cloud Foundry.

Supported clients

Claude Desktop
Claude Code

Listed from the project's documentation, not tested by this site.

Overview

An MCP server for SAP BW/4HANA and SAP BW 7.5 on HANA. It uses SAP APIs to read, create, and modify modeling objects, and to access queries and live data. It also supports selected runtime and data-load operations. Calls connect to a live BW system, and writes make real changes.

Similar servers

Source revision ef136ed5cb56 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/bw-modeling-mcp.svg)](https://followmcp.com/en/servers/bw-modeling-mcp)