A side-by-side look at the Pg Readonly MCP and PostgreSQL Performance (read Only) MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Pg Readonly MCP for databases work as a local process; choose PostgreSQL Performance (read Only) for databases over a hosted endpoint. You can also run both side by side in one mcpServers block.
PG_READONLY_MCP_DSN.Rows where the two servers differ are marked.
| Spec | P Pg Readonly MCP | |
|---|---|---|
| Category | Databases | Databases |
| Quality signal | 41/100 · Fair | 36/100 · Fair |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Remote HTTP/SSE |
| Auth | other | Not declared |
| Pricing | Free | Not declared |
| Required env vars | PG_READONLY_MCP_DSN | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 0 | 0 |
| Directory activity | 0 views 0 installs 0 upvotes | 0 views 0 installs 0 upvotes |
| Tools | Not listed | Not listed |
| Full listing | View Pg Readonly MCP | View PostgreSQL Performance (read Only) |
No tool names declared yet. Check the project README from the listing page.
No tool names declared yet. Check the project README from the listing page.
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"pg-readonly-mcp": {
"command": "uvx",
"args": [
"pg-readonly-mcp"
],
"env": {
"PG_READONLY_MCP_DSN": "YOUR_PG_READONLY_MCP_DSN_HERE"
}
}
}
}
{
"mcpServers": {
"postgresql-performance-read-only": {
"url": "http://localhost:8080/mcp"
}
}
}