mcpbeat Sign in

SAP HANA CLI MCP Server

by sap-samples Your server? Claim it
local only

SAP HANA CLI runs on your own machine — the client starts it, so there is no endpoint to ping. 766 installs a week from npm. Last commit 5 Sep 2026.

150+ SAP HANA database tools as MCP tools for AI assistants

Installs per day peak 1 484 · avg 229 · +33% w/w
a month agotoday
766
Installs / week
npm · hana-cli
112
Stars
0 open issues
5 Sep 2026
Last commit
0 releases in 90 days
Apache-2.0
License
JavaScript

What the code does

We read the source, 17 h ago · rules 3dff92dd89df

A tool parameter reaches a dangerous call

A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.

A tool parameter reaches a file or shell call hana_examples.command → routes/static.js:88, hana_get_doc.path → vscode-extension/esbuild.config.mjs:87
        const content = fs.readFileSync(filePath, 'utf8')
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

      'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAM0SURBVFhHxZLfT5JhFMf5E/wPdCRkhWLXXXWvN93VHRVG1szNdVFtaUUta5mhVFKrtF+WAgFmzkz7AWrJfFADMU0gimyllGnLuvg2nhce3vd9rFgXb2f7jHO+5znnfAeoAKj+J5y…
Runs a command on install [пакет] package.json:1
postinstall: node scripts/postinstall.js
File ships in the package but is absent from the source [пакет] .github/hooks/post-tool-use.js:1, [пакет] .github/hooks/pre-tool-use.js:1, [пакет] .github/hooks/stop.js:1
этот файл ставится пользователю, но в репозитории его нет
            const child = spawn(editor, [targetFile], { stdio: 'inherit' })
            const credsPath = path.join(secretsFolder, service, instanceName)

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

A tool parameter here reaches a dangerous call

That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add hana-cli -- npx -y hana-cli
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "hana-cli": {
      "args": [
        "-y",
        "hana-cli"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.hana-cli]
command = "npx"
args = ["-y", "hana-cli"]
.cursor/mcp.json
{
  "mcpServers": {
    "hana-cli": {
      "args": [
        "-y",
        "hana-cli"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "hana-cli": {
      "args": [
        "-y",
        "hana-cli"
      ],
      "command": "npx"
    }
  }
}

Alternatives to SAP HANA CLI

same job, measured the same way
openLCA MCP Server
by below280

Connect AI assistants to openLCA. 31 tools for database search, model building, and LCIA.

4 503 installs/wk local only
Manticore Search
by manticoresoftware

MCP server for Manticore Search — lets AI assistants query and manage search databases.

75 installs/wk local only
Infrawise
by sidd27

Live AWS, database & Kafka infrastructure context for AI coding assistants via MCP.

350 installs/wk local only
Copilot Datagate
by afurlane

Policy-driven, read-only MCP server for safe database access from AI tools.

32 installs/wk local only
U2 MCP Server
by bpamiri

Connect AI assistants to Rocket Universe/UniData MultiValue databases via MCP.

77 installs/wk local only
Qdrant MCP
by avaazquezz

MCP server that wraps the Qdrant vector database API as tools.

1 385 installs/wk local only
Obambu cPanel MCP
by rodriguedev13

MCP server exposing cPanel UAPI (domains, DNS, email, MySQL, files) as tools for AI assistants.

32 installs/wk local only
MCP Server Motherduck
by motherduckdb

SQL analytics and data engineering for AI Assistants and IDEs

4 435 installs/wk local only

SAP HANA CLI — questions

Answers built from our own checks of this server.

Why is there no uptime for SAP HANA CLI?
SAP HANA CLI runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package hana-cli was installed 766 times last week.
How do I connect SAP HANA CLI?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls hana-cli straight from npm; nothing to host, nothing to sign up for.
How many people use SAP HANA CLI?
The npm package hana-cli was installed 766 times in the last week. Week over week that is +33%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is SAP HANA CLI open source?
Yes — it is published under the Apache-2.0 licence, written in JavaScript and 112 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.