Skip to contentpg-readonly-mcp MCP Server | MCPpediaPpg-readonly-mcp MCP Server
A read-only Postgres MCP server that parses SQL rather than pattern-matching it.
55FairInstall
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"les-k-pg-readonly-mcp": {
"command": "uvx",
"args": [
"pg-readonly-mcp"
],
"env": {
"PG_READONLY_MCP_DSN": "YOUR_PG_READONLY_MCP_DSN"
}
}
}
}
Related servers

MCP server for interacting with the Supabase platform
Environment
| Name | Required | Notes |
|---|
| PG_READONLY_MCP_DSN | Yes | Postgres connection string for a role that holds only SELECT. The server refuses to start otherwise. Secret. |
Tools show up when the registry metadata or the repository README lists them. GitHub enrichment fills this in when a token is configured.
About
A read-only Postgres MCP server that parses SQL rather than pattern-matching it.
FAQ
- What is pg-readonly-mcp?
- A read-only Postgres MCP server that parses SQL rather than pattern-matching it.
- How do I install pg-readonly-mcp?
- Pick a client above and copy the generated config. Cursor and VS Code also have a deep link when the server can run locally or remotely.
- Is pg-readonly-mcp official?
- No. Registry-listed is not the same as vendor-official. Read the methodology for the difference.
- How is the trust score calculated?
- This listing scores 55 (Fair). The formula is published on the methodology page.
Reviews
0 published · no average
Sign in to review this server.
61
Good
SSH server management for agents, with per-server read-only and allowlist security modes

MCP Toolbox for Databases enables your agent to connect to your database.
ZAgent memory: working, episodic, semantic, procedural and core layers. Local SQLite, no account.
RNatural language interface designed for agentic applications to manage and search data in Redis.
COn-device memory layer for AI agents. Claude Code, OpenClaw, and Hermes. Hooks + MCP server + hybrid RAG search.