Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
Connect Runs on your machine
claude mcp add nexql-mcp -e DATABASE_URL=<DATABASE_URL> -e NEXQL_MCP_CONFIG=<NEXQL_MCP_CONFIG> -- npx -y [email protected]
{
"mcpServers": {
"nexql-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"NEXQL_MCP_CONFIG": "<NEXQL_MCP_CONFIG>"
}
}
}
}
{
"mcpServers": {
"nexql-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"NEXQL_MCP_CONFIG": "<NEXQL_MCP_CONFIG>"
}
}
}
}
{
"servers": {
"nexql-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"NEXQL_MCP_CONFIG": "<NEXQL_MCP_CONFIG>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
DATABASE_URLOptional, secret | Postgres connection string, used when no positional URL or --profile is given. |
NEXQL_MCP_CONFIGOptional | Path to config.toml (default: ~/.config/nexql-mcp/config.toml). |
Details
| Package | [email protected] (NPM, stdio) |
| Package | [email protected] (CARGO, stdio) |
| First published | 8 Aug 2026 |
| Last updated | 8 Aug 2026 |
| Registry name | io.github.NexQL-OSS/nexql-mcp |
More databases servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
