Language: 日本語English

sap-hana-cli Plugin

Author
SAP SE
Category
Database
Topics
Databases & Storage · Enterprise Business Platforms · AI Agents & AI App Development
First seen
2026-07-09
Last confirmed
2026-07-13
Explanation last updated
2026-07-12

The explanation below is AI-generated. Please verify it against the sources.

sap-hana-cli is a Claude Code plugin that exposes 150+ (166 total, per the README) SAP HANA database tools as MCP tools for AI assistants. It connects Claude Code to SAP HANA Cloud or on-premise databases, letting the assistant explore schemas, import/export data, monitor performance, run security audits, and manage backups. It is installed via the /plugin install command or by adding an entry to a project's .mcp.json that runs npx hana-cli hana-cli-mcp. It requires Node.js 20.19.0 or later and a SAP HANA database with connection credentials, which can be configured through several supported file/environment methods. The plugin wraps the open-source hana-cli SAP sample project and is licensed under Apache 2.0.

Overview

According to the README, sap-hana-cli is not itself a hosted SaaS but a Claude Code plugin (MCP server) that wraps the open-source hana-cli tool, providing AI assistants with direct MCP-based access to SAP HANA Cloud and on-premise database administration and development functions.

What you can do with sap-hana-cli

  • List and inspect schemas, tables, views, procedures, and functions (20+ schema exploration tools, 10+ object inspection tools)
  • Import CSV/Excel/JSON data, export data, profile data quality, and validate data (15+ data tools)
  • Monitor performance issues such as expensive statements, memory usage, blocking sessions, and deadlocks (15+ tools)
  • Review users, roles, privileges, run security scans, and check audit logs (10+ security tools)
  • Create, check, list, and restore backups (5+ backup & recovery tools)
  • Run health checks, view system info/diagnostics, and manage INI configuration (10+ system admin tools)
  • Generate CDS models, code templates, test data, and manage HDI containers (15+ developer tools)
  • Search commands/examples and follow guided troubleshooting workflows (15+ discovery & help tools)
  • Ask Claude natural-language requests such as "What tables are in my HANA database?" or "Show me the most expensive SQL statements"

Sources

Original description (English)

150+ SAP HANA database tools for AI assistants. Query tables, import/export data, profile data quality, compare schemas, manage backups, monitor performance, and more. Connects to SAP HANA Cloud and on-premise databases.

History of sap-hana-cli

Back to list