Pg Readonly MCP
A read-only Postgres MCP server that parses SQL rather than pattern-matching it.
Connector by les-k · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/les-k-pg-readonly-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 1 read · 0 write · 0 deleteRead-only
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 1
Read from the source code; the running server may list different tools.
Read 1 · Look things up without changing anything.
query
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
PG_READONLY_MCP_DSN
Tools (1)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
queryRun a read-only SQL queryDescription is built at runtime.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 34
- Last commit
- Oct 2, 2026 (26 days ago)
- Last release
- Oct 2, 2026 (26 days ago)
- Last package publish
- Oct 2, 2026 (26 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.les-k/pg-readonly-mcp- Version
- 0.1.1
- Auth
- API key
- Packages
- pypi pg-readonly-mcp
- License
- MIT
- Repository
- github.com/les-k/pg-readonly-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from les-k
- 0.568score
MCP Confirm
les-k
An MCP server whose confirmation cannot be replayed against a different call.
ConnectorAFreshness: ALocal↓ 34/wkClaude Code +5 - 0.563score
Sweep MCP
les-k
An MCP server that can delete directories, and the guard rails that make that acceptable.
ConnectorAFreshness: ALocal↓ 27/wkClaude Code +5
Cite this page
Pg Readonly MCP. Agent Mart. https://agentmart.dev/connectors/les-k-pg-readonly-mcp (last updated 2026-10-24)