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. 2 186 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 747 · avg 217 · -40% w/w
a month agotoday
2 186
Installs / week
npm · hana-cli
114
Stars
0 open issues
5 Sep 2026
Last commit
1 release in 90 days
custom licence
License
JavaScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

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": {
      "command": "npx",
      "args": [
        "-y",
        "hana-cli"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.hana-cli]
command = "npx"
args = ["-y", "hana-cli"]
.cursor/mcp.json
{
  "mcpServers": {
    "hana-cli": {
      "command": "npx",
      "args": [
        "-y",
        "hana-cli"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "hana-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hana-cli"
      ]
    }
  }
}

Alternatives to SAP HANA CLI

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

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

244 installs/wk local only
Manticore Search
by manticoresoftware

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

114 installs/wk local only
Infrawise
by sidd27

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

413 installs/wk local only
Copilot Datagate
by afurlane

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

53 installs/wk local only
U2 MCP Server
by bpamiri

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

108 installs/wk local only
Thingery
by thingery

Open item database and MCP server for AI agents to list, find, and trade second-hand goods.

647 installs/wk local only
Obambu cPanel MCP
by rodriguedev13

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

52 installs/wk local only
Quorum
by quorumdb

Database tools for AI clients through the Quorum app: reads, masking, approved writes.

394 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 2 186 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 in the form 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 2 186 times in the last week. Week over week that is -40%. 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?
No, and the distinction matters: it ships its own licence file rather than a standard open-source licence. That makes it source-available — you can read the code, but the terms are the author's own, not one of the recognised open-source licences. Read them before you build on it.