NexQL Postgres MCP for Claude Code
io.github.nexql-oss/nexql-mcp
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
client:Claude Code
transport:stdio
runtime:npm
Install NexQL Postgres MCP in Claude Code
run in your project directory
claude mcp add nexql-mcp -e DATABASE_URL=<DATABASE_URL> -e NEXQL_MCP_CONFIG=<NEXQL_MCP_CONFIG> -- npx -y nexql-mcp
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs