NexQL Postgres MCP server
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
0 stars53 downloads/wk
Reviews
Write oneNobody has reviewed NexQL Postgres MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
NexQL Postgres MCP tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-23 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 21 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
What the publisher says
From the NexQL Postgres MCP repository's README, as published. We do not edit it. Read it on GitHub
nexql-mcp
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
NexQL Pro ships an in-process MCP server locked to VS Code (pro/src/mcp/). This repo extracts that capability into an independent Rust binary any MCP client can spawn: Claude Desktop, Cursor, VS Code Copilot, Zed, etc.
Status: Phases 0–6 + Phase 7 extension cutover (stdio spawn) + Phase 8 HTTP (bearer, sessions, rate limit) + Phase 9 write/admin tools landed. 54 tools across Schema, Query, Context, Perf, Write, and Admin. Full OAuth gateway stays pro-only; session-store LRU eviction cap not yet implemented. See docs/CUTOVER.md.
Why this exists
Competing Postgres MCP servers expose connect → run query → return rows. Models hallucinate table names against schemas that do not exist. NexQL's moat is the offline schema index (TF-IDF, join graph with inferred FKs, value profiles, optional embeddings, RRF fusion) built in pro/src/features/dbindex/. This repo ports that index plus 54 query/schema/DBA/meta tools from Pro into a fast, trivially installable binary.
Architecture
crates/
├── nexql-mcp/ CLI, subcommands, wiring (binary)
├── nexql-proto/ MCP JSON-RPC types, transports
├── nexql-tools/ tool registry, schemas, executors
├── nexql-index/ dbindex port (builder, store, lexical, joins, embed)
├── nexql-conn/ connection resolution, pool, credentials
└── nexql-policy/ access modes, allow/deny, PII, caps, audit
npm/ npx shim (per-platform optionalDependencies)
mcpb/ one-click Claude Desktop bundle
docs/ per-client setup, tool referenceLayering is one-directional: policy + conn are leaves → index → tools → binary. nexql-tools never depends on nexql-proto.
Scope boundary: nexql-mcp manages objects within a connected database (tables, indexes, columns, …), not the database catalog itself. CREATE DATABASE / DROP DATABASE are rejected in every access mode — permanent, intentional scope, not a gap. See docs/tools/README.md and docs/REFERENCE.md.
Install
npx — recommended, zero install
npx -y nexql-mcp@latest postgres://dev@localhost:5432/appdb doctor-y skips the "ok to proceed?" confirmation prompt; @latest always resolves the newest published release instead of whatever npx happens to have cached — always use both together. This is the desired way to run nexql-mcp: no separate install step, nothing added to PATH, works identically whether a human is typing it or an AI agent is running it on your behalf. Requires Node.js (npx ships with it) — nothing else.
# Verify
npx -y nexql-mcp@latest --version
# Setup
npx -y nexql-mcp@latest setup # initialize connections and db profiles
# Wire your MCP client (or run the guided wizard)
npx -y nexql-mcp@latest init cursor # Cursor
npx -y nexql-mcp@latest init claude-desktop # Claude Desktop
npx -y nexql-mcp@latest init vscode-copilot # VS Code Copilot
npx -y nexql-mcp@latest tui # interactive profile + client wiringClient config (command/args) uses the same pattern — no install step for the client to rely on either:
{
"mcpServers": {
"nexql-mcp": {
"command": "npx",
"args": ["-y", "nexql-mcp@latest", "--profile", "mydb"]
}
}
}Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y nexql-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add nexql-mcp -- npx -y nexql-mcp
NexQL Postgres MCP: common questions
- Is NexQL Postgres MCP server safe?
- Mostly: it is graded B (82/100). Read the NexQL Postgres MCP safety report
- How do I install NexQL Postgres MCP?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does NexQL Postgres MCP need an API key?
- Yes. The registry entry asks for
DATABASE_URL. - Is NexQL Postgres MCP maintained?
- The last commit was 21 days ago (2026-09-03). The latest release is v0.2.4.
- What can I use instead of NexQL Postgres MCP?
- Servers from other publishers that do the same job: PostgreSQL MCP Server, Microsoft SQL Server MCP server and Neon MCP server. Compare all NexQL Postgres MCP alternatives.
Alternatives to NexQL Postgres MCP
Same job from other publishers: the closest match first, then the best rated.
- PostgreSQL MCP ServerPostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistantsnot reviewedGrowingB
- Microsoft SQL ServerRead-only-by-default SQL Server: schema, parameterized SELECT, execution plans; writes opt-in.not reviewedGrowingB
- NeonOfficial Neon MCP server for managing Neon projects and Lakebase Postgres databases.not reviewedEstablishedA
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA
- PostgreSQLMCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.not reviewedEstablishedB