Cds DB Nlquery MCP Server
by shahidlaio.github.shahidla/cds-db-nlquery-mcpv0.7.3
MCP server for natural language queries against CDS db-layer entities. Targets raw db/schema.cds entities via cds.run() with real SQL JOINs — bring your own LLM (Anthropic, OpenAI, or any OpenAI-compatible endpoint).
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install Cds DB Nlquery MCP server
Install in Claude Code
claude mcp add cds-db-nlquery -e ANTHROPIC_API_KEY='<anthropic-api-key>' -e OPENAI_API_KEY='<openai-api-key>' -- npx -y @shahid.la/cds-db-nlquery-mcpInstall in Cursor
{
"mcpServers": {
"cds-db-nlquery": {
"command": "npx",
"args": [
"-y",
"@shahid.la/cds-db-nlquery-mcp"
],
"env": {
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"cds-db-nlquery": {
"command": "npx",
"args": [
"-y",
"@shahid.la/cds-db-nlquery-mcp"
],
"env": {
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"cds-db-nlquery": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@shahid.la/cds-db-nlquery-mcp"
],
"env": {
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"cds-db-nlquery": {
"command": "npx",
"args": [
"-y",
"@shahid.la/cds-db-nlquery-mcp"
],
"env": {
"ANTHROPIC_API_KEY": "<anthropic-api-key>",
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| ANTHROPIC_API_KEY | — | yes | Anthropic API key (used if ANTHROPIC_API_KEY is set and OPENAI_API_KEY is not) |
| OPENAI_API_KEY | — | yes | OpenAI (or OpenAI-compatible) API key |
| MCP_ALLOWED_ENTITIES | — | — | Comma-separated entity allowlist, enforced on JOINs too |
| MCP_BLOCKED_COLUMNS | — | — | Comma-separated column blocklist, stripped before the query is built |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-06-25 · 4mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-06-25 · 4mo ago · official registry · v0.7.3
FAQ
›How do I install the Cds DB Nlquery MCP server in Claude Code?
Run: claude mcp add cds-db-nlquery -e ANTHROPIC_API_KEY='<anthropic-api-key>' -e OPENAI_API_KEY='<openai-api-key>' -- npx -y @shahid.la/cds-db-nlquery-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Cds DB Nlquery require an API key?
Yes. It expects ANTHROPIC_API_KEY, OPENAI_API_KEY, of which 2 are secrets.
›Can I use Cds DB Nlquery as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Cds DB Nlquery in the official MCP registry?
Yes, as io.github.shahidla/cds-db-nlquery-mcp.
Alternatives to Cds DB Nlquery
Other database MCP servers.