PostgreSQL MCP Server (neverinfamous)
PostgreSQL MCP Server binding the Model Context Protocol to a secure PostgreSQL sandbox. It runs locally over stdio via the published package.
People who work with database, postgresql and developer tools and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-09-14 · ★ 12 · VERIFIED 2026-09-18
MIT · TypeScript servers · how we verify → /methodology
01 · Install PostgreSQL MCP Server (neverinfamous)
before you install - you'll need
Set POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DATABASE, MCP_AUTH_TOKEN, POSTGRES_URL before connecting.
Claude Code
claude mcp add neverinfamous-postgresql-mcp -- npx -y @neverinfamous/postgres-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"neverinfamous-postgresql-mcp": {
"command": "npx",
"args": [
"-y",
"@neverinfamous/postgres-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions · container (OCI image) - can be sandboxed away from your filesystem
license MIT - declared in the repository
npm package @neverinfamous/postgres-mcp - published under the repo owner's npm scope (@neverinfamous)
registry namespace io.github.neverinfamous is GitHub-verified and matches the repo owner
03 · What PostgreSQL MCP Server (neverinfamous) can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Limitations (from the README)
[!WARNING] HTTP without authentication: When using --transport http without enabling OAuth or --auth-token, all clients have full unrestricted access. Always enable authentication for production HTTP deployments. See SECURITY.md for details.
Latest releases
v3.1.0 · 2026-05-14
Highlights · New Tool Groups: Added Security, Roles, and Document Store tool groups, totaling 30 new tools for advanced auditing, RLS management, and JSONB document collections. · Architectural Fixes: Enforced strict…
v3.0.7 · 2026-04-09
Postgres-MCP v3.0.7 · Highlights · Patched pg_kcache_database_stats Zod schema description to explicitly state behavior when omitting the database parameter. · Fixed · Updated pg_kcache_database_stats Zod schema…
v3.0.6 · 2026-04-08
v3.0.6 - KCache and Anomaly Detection Patch · Highlights · KCache Optimization: Ensured query_preview preservation and increased API bounds. · Security Hardening: Pinned hono to 4.12.12 to mitigate middleware…
04 · Who maintains PostgreSQL MCP Server (neverinfamous)
PostgreSQL MCP Server is maintained by neverinfamous. We track 5 MCP servers from neverinfamous - 4 actively maintained, 45 combined GitHub stars, oldest repo from Dec 2025. Full record: all servers from neverinfamous.
05 · Facts
- repository
- github.com/neverinfamous/postgresql-mcp
- category
- database - actively maintained as of 2026-09-18.
- registry
- io.github.neverinfamous/postgres-mcp (active, first published 2026-01-25)
- packages
- npm:@neverinfamous/postgres-mcp · oci:docker.io/writenotenow/postgres-mcp:v1.0.2
06 · PostgreSQL MCP Server (neverinfamous) FAQ
What is PostgreSQL MCP Server (neverinfamous)?
PostgreSQL MCP Server binding the Model Context Protocol to a secure PostgreSQL sandbox. It runs locally over stdio via the published package.
Is PostgreSQL MCP Server (neverinfamous) still maintained?
Yes - as of 2026-09-18, its last commit was 2026-09-14. We re-verify nightly.
How do I install PostgreSQL MCP Server (neverinfamous)?
Run `npx -y @neverinfamous/postgres-mcp`. The README documents 7 environment variables (POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER…) to set first. Set POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DATABASE, MCP_AUTH_TOKEN, POSTGRES_URL before connecting. You can also paste the ready-made client config above.
Does PostgreSQL MCP Server (neverinfamous) run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to PostgreSQL MCP Server (neverinfamous)
Alternatives to PostgreSQL MCP Server (neverinfamous)
Maintained database servers if PostgreSQL MCP Server (neverinfamous) isn't the fit.
- Dbx Query databases from AI agents using connections configured in DBX. ★ 20,017 · 2026-09-18
- Toolbox for Databases MCP Toolbox for Databases enables your agent to connect to your database. ★ 16,449 · 2026-09-18
- Butterbase Ai MCP Server Butterbase MCP server - manage your backend: schemas, auth, functions, storage, RAG, deploys. ★ 3,562 · 2026-09-18
- Dbhub Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB ★ 3,534 · 2026-09-18
- LINQ to DB Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB. ★ 3,328 · 2026-09-17
- Supabase MCP server for interacting with the Supabase platform ★ 2,910 · 2026-09-17
Pairs well with
Servers that cover what PostgreSQL MCP Server (neverinfamous) doesn't - only shown when the pairing reason fits the companion.
- Server Chart → data & analytics companion data & analytics · ★ 4,367
- ClaudeR - RStudio MCP Server → data & analytics companion data & analytics · ★ 342
- Server Filesystem → filesystem companion filesystem · ★ 39,038
- Pdf MCP → filesystem companion filesystem · ★ 135
- Telnyx → API integration companion API integration · ★ 197
- Microsoft 365 MCP Server → API integration companion API integration · ★ 980
More database MCP servers · Local FAISS MCP Server · Snowflake MCP Server · Dynoxide · Octopus Blackboard · SQLite
More TypeScript MCP servers · Trust Oracle · Preflight · Iranti · Maket · Hub · see all