# sap-hana-cli

sap-hana-cli lets Claude Code work with SAP HANA databases through MCP tools for schema inspection, data transfer, monitoring, and administration.

- plugin · `type=plugin` · Claude Code · ★ 4
- Author: SAP SE
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/SAP-samples/hana-cli-claude-plugin
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/plugins/sap-hana-cli

## What it 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.

## Install

### Claude Code (native platform)

**Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin install sap-hana-cli@claude-plugins-official
```
In the agent chat (not a shell):
```text
/plugin marketplace add anthropics/claude-plugins-official
```

## When to use it
- 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
- List the tables and views in my SAP HANA database.
- Find the most expensive SQL statements and check for blocked sessions.
- Export the `PRODUCTS` table to CSV, then profile the data quality of `CUSTOMERS`.

## Similar
- [firebase](https://affpapa.org/en/nevibecode/plugins/firebase.md) — plugin · ★ 44770
- [power-platform-architect](https://affpapa.org/en/nevibecode/plugins/power-platform-architect.md) — plugin · ★ 40451
- [power-bi-development](https://affpapa.org/en/nevibecode/plugins/power-bi-development.md) — plugin · ★ 40451
- [partners](https://affpapa.org/en/nevibecode/plugins/partners.md) — plugin · ★ 40451
- [oracle-to-postgres-migration-expert](https://affpapa.org/en/nevibecode/plugins/oracle-to-postgres-migration-expert.md) — plugin · ★ 40451
- [openapi-to-application-csharp-dotnet](https://affpapa.org/en/nevibecode/plugins/openapi-to-application-csharp-dotnet.md) — plugin · ★ 40451

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
