MCP server
Pg Readonly
io.github.les-k/pg-readonly-mcp
Checked 26 Oct 2026, 08:31 UTC · Still published on its registry; checked against OSV.dev; never run by us
A read-only Postgres MCP server that parses SQL rather than pattern-matching it.
Runs on your computer
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 26 Oct 2026, 08:31 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add pg-readonly-mcp --env PG_READONLY_MCP_DSN=YOUR_VALUE -- uvx pg-readonly-mcp@0.1.1
Claude Desktop
{"mcpServers":{"pg-readonly-mcp":{"command":"uvx","args":["pg-readonly-mcp@0.1.1"],"env":{"PG_READONLY_MCP_DSN":"YOUR_VALUE"}}}}
Codex (config.toml)
[mcp_servers.pg-readonly-mcp]
command = "uvx"
args = ["pg-readonly-mcp@0.1.1"]
env = { PG_READONLY_MCP_DSN = "YOUR_VALUE" }
Gemini CLI
{"mcpServers":{"pg-readonly-mcp":{"command":"uvx","args":["pg-readonly-mcp@0.1.1"],"env":{"PG_READONLY_MCP_DSN":"YOUR_VALUE"}}}}
Cursor
{"mcpServers":{"pg-readonly-mcp":{"command":"uvx","args":["pg-readonly-mcp@0.1.1"],"env":{"PG_READONLY_MCP_DSN":"YOUR_VALUE"}}}}
VS Code
{"servers":{"pg-readonly-mcp":{"type":"stdio","command":"uvx","args":["pg-readonly-mcp@0.1.1"],"env":{"PG_READONLY_MCP_DSN":"YOUR_VALUE"}}}}
Runs on your computer with your permissions: check the package and its source before installing. Replace YOUR_VALUE with your own PG_READONLY_MCP_DSN.
Browse
Related MCP servers
- HODLXXI Read-Only
Public read-only MCP server for HODLXXI agent identity, trust, receipts, and verification. - Orthotomeo
Read-only scripture-study engine: complete-or-fail concordance over Greek NT, Hebrew OT, LXX. - Project Gumball
One MCP server exposing every tool in the Gumball portfolio. - Tollmint
Per-call data for agents: graded behavioural science, dark-pattern detection, web fetch, geocode. - Regex Explainer
Explain a regex in plain English and detect catastrophic backtracking risk. - UptyBots
Uptime monitoring: create and manage HTTP, API, SSL, ping, port and domain checks - Agent Workspace Practice
Search + patterns, maturity assessment, context pricing, redaction checks - a practice as tools. - Floot
Build and publish full-stack web and mobile apps on Floot from any MCP client. Building is free.
Badge for your README
[](https://aptlynx.net/servers/io.github.les-k/pg-readonly-mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents