Skip to main content
Glama
SAP HANA Analyst

SAP HANA Analyst

SAP HANA Analyst for Claude Desktop

SAP HANA Analyst connects Claude Desktop to SAP HANA through a locally installed MCP bundle (.mcpb). It provides 34 read-only tools for exploring schemas, inspecting tables, sampling data, and running SQL queries.

Download: get the .mcpb for your computer from the latest release — Windows x64, macOS Apple Silicon, macOS Intel or Linux x86-64.

Install and configure the extension

  1. Get the .mcpb for your computer from its release or the matching local dist/<version>/ folder. Install Python 3.11 to 3.14 with pip and make it available on your PATH as python on Windows or python3 on macOS and Linux. The first launch of the standard bundle downloads SAP's hdbcli driver from PyPI.

  2. In Claude Desktop, open Settings → Desktop app → Manage next to Extensions. In the older layout, open Settings → Extensions. Select Advanced settings → Install Extension, choose the .mcpb, and follow the prompts. Claude Desktop extension guide

  3. Open SAP HANA Analyst → Configure and enter your connection details. Use a HANA user with SELECT privileges on the schemas or objects you need.

Setting

What to enter

HANA host

The hostname from your HANA SQL endpoint

HANA port

The port from your SQL endpoint, usually 443 for HANA Cloud

Read-only user and password

The credentials for your HANA database login

Default schema

Optional. Leave blank to use the login's default schema

TLS encryption and certificate validation

Enable both for HANA Cloud

Related MCP server: Universal DB MCP

Use it in Claude

Open a new Claude Desktop chat. Use + → Connectors to check that SAP HANA Analyst is available, then start with one of these prompts.

  • “Test the SAP HANA connection and show me the active schema.”

  • “List the tables in my default schema.”

  • “Describe SALES_ORDERS and show me five sample rows.”

  • “Find my top ten customers by sales this month and show the SQL you used.”

Use table and schema names from your database. The extension accepts single SELECT or WITH queries. The database user's privileges determine which data Claude can read.

If the tools are missing, restart Claude Desktop and check the extension log in Settings. If the connection fails, review the host, port, and login in Configure. Ask your HANA administrator whether your machine can reach the database endpoint. Claude Desktop troubleshooting

Build the bundles

Install uv, then run this command from the repository root on Windows, macOS, or Linux. uv can provision a compatible Python and fetch the build dependencies. The first build needs access to the Python package index.

uv run setup/build_mcpb.py

The command builds all four targets. To build a subset, pass the target names, for example uv run setup/build_mcpb.py windows mac-arm. Install uv

Target

Bundle for version 2.0.0

Windows x64

sap-hana-analyst-2.0.0-windows.mcpb

macOS Apple Silicon

sap-hana-analyst-2.0.0-mac-arm.mcpb

macOS Intel

sap-hana-analyst-2.0.0-mac-intel.mcpb

Linux x86-64

sap-hana-analyst-2.0.0-linux.mcpb

Each version has its own folder, such as dist/2.0.0/, with a SHA256SUMS.txt for every bundle in that folder. Running the command again verifies and reuses existing bundles and builds any missing targets. The builder reads its version from version= in sap-hana-analyst/hana_mcp_server.py.

Track and share releases

  1. Set a new MAJOR.MINOR.PATCH version in the server file for any change that should go into a new .mcpb. Add a matching entry to CHANGELOG.md describing what changed for users.

  2. Run the build command. Verify the new bundles against SHA256SUMS.txt. On Windows, use Get-FileHash -Algorithm SHA256 <bundle> and compare the hash with its row. On macOS or Linux, run shasum -a 256 -c SHA256SUMS.txt from the version folder.

  3. Commit the source and changelog. To share or keep a copy outside your machine, create a GitHub release from that commit with a matching tag such as v2.0.1. Attach the .mcpb files and SHA256SUMS.txt from the corresponding folder. dist/ is Git-ignored, so preserve the release assets in GitHub or another shared archive.

Use the matching source tag and archived bundle when you need an older version. Creating a GitHub release

Run the offline checks

uv run --no-project --with-requirements requirements.txt python -m unittest discover -s tests -v

Security & support

License

The software is released under the MIT License. The Dinesh AI Academy name, logo and tagline are trademarks and are not covered by that license — see BRANDING.md. SAP's hdbcli driver has its own terms — see THIRD-PARTY-NOTICES.md.

SAP and SAP HANA are trademarks or registered trademarks of SAP SE. Claude is a trademark of Anthropic. This project is independent and not affiliated with or endorsed by SAP SE or Anthropic.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      This read-only MCP Server allows you to connect to SAP HANA data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude Desktop to interact with MySQL, PostgreSQL, and Redis databases using natural language for data querying and schema analysis. It provides a secure interface with a default read-only mode to prevent unauthorized database modifications.
      259 npm
      945
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude to read and query SAP SQL Anywhere databases using natural language, with read-only access and SQL query generation.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude, ChatGPT, Copilot and Cursor to explore and query SAP S/4HANA's HANA database using SAP's data dictionary, organization structure, CDS views, and read-only SQL, with tools for finding tables, fields, joins, code values, and running SELECT queries. All access is read-only, with encrypted credentials and audited calls.
      4
      AGPL 3.0