NexQL Postgres MCP Server
by nexql-ossio.github.NexQL-OSS/nexql-mcpv0.2.4
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
context tax
queued
security
queued
cold start
queued
freshness
Maintained45d ago
Install NexQL Postgres MCP server
Install in Claude Code
claude mcp add nexql -e DATABASE_URL='<database-url>' -- npx -y nexql-mcpInstall in Cursor
{
"mcpServers": {
"nexql": {
"command": "npx",
"args": [
"-y",
"nexql-mcp"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"nexql": {
"command": "npx",
"args": [
"-y",
"nexql-mcp"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"nexql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nexql-mcp"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"nexql": {
"command": "npx",
"args": [
"-y",
"nexql-mcp"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATABASE_URL | — | yes | Postgres connection string, used when no positional URL or --profile is given. |
| NEXQL_MCP_CONFIG | — | — | Path to config.toml (default: ~/.config/nexql-mcp/config.toml). |
Freshness
Maintained — last maintenance signal 45d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-25 · 45d ago · GitHub
Latest release
2026-08-24 · 47d ago · GitHub · v0.5.0
Package published
no data · npm/PyPI
Registry entry updated
2026-08-08 · 2mo ago · official registry · v0.2.4
FAQ
›How do I install the NexQL Postgres MCP server in Claude Code?
Run: claude mcp add nexql -e DATABASE_URL='<database-url>' -- npx -y nexql-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does NexQL Postgres require an API key?
Yes. It expects DATABASE_URL, of which 1 is a secret.
›Can I use NexQL Postgres as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is NexQL Postgres in the official MCP registry?
Yes, as io.github.NexQL-OSS/nexql-mcp.
Alternatives to NexQL Postgres
Other database MCP servers.