SAP HANA CLI
SAP HANA CLI is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. 150+ SAP HANA database tools as MCP tools for AI assistants. It has 114 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y hana-cli.
github.com/SAP-samples/hana-developer-cli-tool-example (opens in a new tab)
- Official
- Databases
- Apache-2.0
- Actively maintained
Install SAP HANA CLI
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"sap-hana-cli": {
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio sap-hana-cli -- npx -y hana-cliCursor
{
"mcpServers": {
"sap-hana-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"sap-hana-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
About SAP HANA CLI
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.
- sample
- sample-code
- sap-hana
- command-line-tool
- vscode
- sap-hana-cloud-hana-database
- sap-hana-cloud
- owner-jung-thomas
Similar MCP servers
More databases MCP servers
Dbx
t8y2/dbx
Query databases from AI agents using connections configured in DBX.
DatabasesRustButterbase AI MCP Server
butterbase-ai/butterbase
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
DatabasesTypeScriptDBHub
bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.
DatabasesTypeScriptLINQ to DB
linq2db/linq2db
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
DatabasesC#Mindwtr
dongdongbh/Mindwtr
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
DatabasesTypeScriptMCP Memory Service
doobidoo/mcp-memory-service
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude.
DatabasesPython
What is SAP HANA CLI?
SAP HANA CLI is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. 150+ SAP HANA database tools as MCP tools for AI assistants. It has 114 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y hana-cli. The source code is at github.com/SAP-samples/hana-developer-cli-tool-example.
How do I install the SAP HANA CLI MCP server?
Add the command npx -y hana-cli to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is SAP HANA CLI free?
The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.
Is SAP HANA CLI actively maintained?
The most recent commit was on Sep 5, 2026. The latest release is v4.202609.0, published Sep 23, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.