queryviz-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
queryviz-mcp
SAP table intelligence for AI coding assistants. Search SAP tables, get correct joins (MANDT included), generate production-grade SQL/ABAP, and check S/4HANA migration status, all from Claude Code, Cursor, VS Code, or any MCP client.
Powered by QueryViz. Free to use.
Quick start
Claude Code
claude mcp add queryviz -- npx -y queryviz-mcp@latestCursor, VS Code, Windsurf, or any MCP client. Add this to your MCP configuration:
{
"mcpServers": {
"queryviz": {
"command": "npx",
"args": ["-y", "queryviz-mcp@latest"]
}
}
}Requires Node.js 20 or later.
Related MCP server: sap-adt-mcp
Tools
Tool | What it does | Try asking |
| Find tables (and S/4HANA CDS views) by business concept or name | "Where are purchase orders stored in SAP?" |
| Fields, keys, relationships with ready-made join conditions, related templates | "What's in EKKO?" |
| The correct join between two tables: ON condition with MANDT, INNER vs LEFT, cardinality, gotchas. Finds one-hop paths. | "How do EKKO and EKBE join?" |
| ECC → S/4HANA status: replaced, merged, unchanged; replacement table and key differences | "What replaced BSEG in S/4HANA?" |
| Match a reporting need to a query template; explains tables, join chain, gotchas, and parameters | "I need a vendor aging report" |
| Generate SQL or ABAP from a template, with MANDT handling, deletion filters, and inline comments | "Generate the open purchase orders query for company code 1000" |
QueryViz is a knowledge server. It doesn't connect to your SAP system and never sees your data: it returns table knowledge and query text.
What's free, and what needs an account
Without a key | With an API key | |
Search, table details, join paths, S/4HANA migration, scenario explanations | ✓ | ✓ |
| ✓ | ✓ |
| ✓ during your 14-day trial, then with a subscription | |
Query generation rate limit | 10 per minute, per network | 30 per minute, per key |
The key links the MCP server to your QueryViz account, so template access is the same as on the website. The trial is free and needs no card.
API key
Create a free account and a key at queryviz.io/account, then do one of the following:
# Save it once (writes ~/.queryviz/config.json)
npx queryviz-mcp setup
# Or pass it to Claude Code
claude mcp add queryviz -e QUERYVIZ_API_KEY=qv_your_key -- npx -y queryviz-mcp@latestOr add "env": { "QUERYVIZ_API_KEY": "qv_your_key" } to the JSON config above.
The server resolves the key in this order: the --api-key flag, then the QUERYVIZ_API_KEY environment variable, then ~/.queryviz/config.json.
Configuration
Variable | Purpose |
| API key (optional) |
| Override the API base URL, for example |
Development
npm install
npm test # unit and in-process MCP tests (no network)
npm run smoke # build, spawn the server over stdio, call every tool against the live API
npm run buildTo try a local build in Claude Code:
claude mcp add queryviz-dev -- node /absolute/path/to/mcp-server/dist/index.jsAbout QueryViz
QueryViz helps SAP consultants, developers, and data engineers find the SAP data they need and get the query to fetch it. The web app adds a visual query builder, a full template library, an interactive table map, and an S/4HANA migration reference.
Source and license
MIT licensed. Source, issues and corrections: github.com/bayramc/queryviz-mcp. If a join key, a cardinality or an S/4HANA mapping is wrong for your system, open an issue.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
List datasets, schemas, run APL queries, and use prompts for exploration, anomalies, and monitoring.
Work with your database from AI tools: ask, export, approved changes, and scheduled jobs.
Read-only AI coding tools for change verification, release readiness, capacity, and guidance.
Query your team's AI coding history and act on HypAware recommendations from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to access SAP ADT APIs for reading, writing, debugging, deploying, and testing ABAP code through natural language or DSL automation.541MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to work with SAP ABAP systems through the ADT REST API, supporting repository search, source code read/write, activation, syntax checks, and transport request management.1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables Claude, ChatGPT, Copilot and Cursor to explore and query SAP S/4HANA's HANA database using SAP's data dictionary, organization structure, CDS views, and read-only SQL, with tools for finding tables, fields, joins, code values, and running SELECT queries. All access is read-only, with encrypted credentials and audited calls.4AGPL 3.0
- AlicenseBqualityCmaintenanceEnables AI coding assistants to connect directly to SAP ABAP systems via ABAP Development Tools, so they can retrieve and manage source code for programs, classes, interfaces, functions, tables, and CDS views. Also supports RAP development, running unit tests and coverage checks, inspecting transports and version history, and working across multiple SAP systems.65MIT