sap-hana-cli — Claude Code plugin: what it does, how to install
sap-hana-cli lets Claude Code work with SAP HANA databases through MCP tools for schema inspection, data transfer, monitoring, and administration.
/plugin install sap-hana-cli@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-officialWhat sap-hana-cli does
sap-hana-cli gives Claude Code an MCP connection to SAP HANA Cloud and on-premise systems. Its toolset covers table queries, schema inspection, CSV, Excel, and JSON data transfers, data-quality checks, schema comparison, privilege audits, backups, and system diagnostics. The README lists 166 MCP tools.
It also includes command discovery, examples, guided troubleshooting, CDS generation, test-data creation, and HDI container tasks. Connection settings can come from default-env-admin.json, .cdsrc-private.json, .env, VCAP_SERVICES, default-env.json, or ~/.hana-cli/default.json; the plugin checks them in that order. Node.js 20.19.0 or newer is required, so older runtimes will stop setup from working.
What it helps with
- inspect SAP HANA tables, views, and procedures
- move data through CSV, Excel, or JSON files
- spot expensive statements and blocked sessions
- review users, roles, privileges, and audit logs
- create, inspect, and restore database backups
Example prompts for the agent
- List the tables and views in my SAP HANA database.
- Find the most expensive SQL statements and check for blocked sessions.
- Export the
PRODUCTStable to CSV, then profile the data quality ofCUSTOMERS.
How to install sap-hana-cli
Plugin marketplace
/plugin install sap-hana-cli@claude-plugins-official/plugin marketplace add anthropics/claude-plugins-officialStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about sap-hana-cli
How do I install sap-hana-cli in Claude Code?
Run /plugin marketplace add anthropics/claude-plugins-official in Claude Code, then run /plugin install sap-hana-cli@claude-plugins-official.
What does sap-hana-cli do?
It adds MCP tools that let Claude Code inspect SAP HANA structures, move data, monitor database activity, review security, manage backups, and support development tasks.
What is required to connect to SAP HANA?
You need Node.js 20.19.0 or newer plus an SAP HANA database and connection credentials. Credentials can be configured with the listed environment files or through npx hana-cli connect.