SAP HANA CLI MCP Server

If you encounter problems: Report Issues: Please open an issue on our GitHub Issues page with details about your environment and the problem you're experiencing. It runs locally over stdio via the published package.

People connecting database tools to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-19 · ★ 109 · #10 OF 151 MAINTAINED DATABASE · VERIFIED 2026-08-25

Apache-2.0 · JavaScript servers · how we verify → /methodology

01 · Install SAP HANA CLI

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add sap-samples-hana-developer-cli-tool-exam -- npx -y hana-cli

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "sap-samples-hana-developer-cli-tool-exam": {
      "command": "npx",
      "args": [
        "-y",
        "hana-cli"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license Apache-2.0 - declared in the repository

npm package hana-cli - unscoped; check the name against the project README before installing

registry namespace io.github.SAP-samples is GitHub-verified and matches the repo owner

03 · What SAP HANA CLI can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Limitations (from the README)

> Version 4.x introduces significant changes including Express 5 migration, refactored database connection handling, and major performance improvements. While we've tested extensively, please be aware of potential issues in your specific environment. - Report Issues: Please open an issue on our GitHub Issues page with details about your environment and the problem you're experiencing.

Latest releases

v4.202607.1 · 2026-07-14

What's New in v4.202607.1 · Release date: 2026-07-14 · Added · VS Code extension: hana-cli.projectPath setting to explicitly point at the connection-config folder and skip auto-detection (#182) · Changed · hana-cli…

v4.202607.0 · 2026-07-11

What's New in v4.202607.0 · Release date: 2026-07-11 · Added · VS Code extension now ships a self-contained, OS-portable .vsix via the npm package (installable through hana-cli vscode install) - bundles the web UI and…

v4.202605.2 · 2026-05-14

What's New in v4.202605.2 · Release date: 2026-05-14 · Added · MCP server tiered tool architecture: tier-1 essential tools are always available, category-specific tools activate on demand via hana_discover_by_category…

04 · Who maintains SAP HANA CLI

SAP HANA CLI is maintained by sap-samples. It's the only MCP server we track from this author; the repo dates to Feb 2020.

05 · Facts

category
database - ranked #10 of 151 actively-maintained database servers as of 2026-08-25.
release cadence
2 releases in the last 90 days (latest 2026-07-14)
registry
io.github.SAP-samples/hana-cli (active, first published 2026-04-23 · 5 versions)
packages
npm:hana-cli

06 · SAP HANA CLI FAQ

What is SAP HANA CLI?

If you encounter problems: Report Issues: Please open an issue on our GitHub Issues page with details about your environment and the problem you're experiencing. It runs locally over stdio via the published package.

Is SAP HANA CLI still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-19 and it shipped 2 releases in the last 90 days. We re-verify nightly.

How do I install SAP HANA CLI?

Run `npx -y hana-cli`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does SAP HANA CLI run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to SAP HANA CLI

More database MCP servers · Scalix Cloud · Fabric Dw · CIPP MCP · KnowBe4 MCP · SentinelOne MCP

More JavaScript MCP servers · Meta API MCP Server · Agent Forge · Server Tempmail · Seerxo · Xlsx For AI · see all