io.github.sparta2025/postgres-mcp
postgresql-mcp
PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.
alive probed 2026-10-14
15tools
4.2ktokens in Claude Opus 5.5
4.4ktokens in Claude Code
2.1 %of a 200k context window
2.4ko200k_base estimate
3.0 sto initialize
6 msto list tools
- Run it
- uvx postgres-mcp-pro==0.4.2 (stdio, probed in a container with the network off)
- Host
- pypi.org
- Reports itself as
- postgresql-mcp 1.30.0
- Capabilities
- experimental, prompts, resources, tools
- Instructions
- none
- Claude count
- Claude Opus 5.5, measured 2026-10-14. Counted again when the tool definitions change. Method.
- Repository
- https://github.com/sparta2025/postgres-mcp
- Registry
- active, updated 2026-08-21 · registry entry
- Reachable
- 1 of the last 1 probe
Most expensive tools
| Tool | Tokens (o200k) | Share of this server |
|---|---|---|
| manage_encryption_key | 611 | 26 % |
| get_top_queries | 201 | 8 % |
| explain_query | 194 | 8 % |
| get_table_sizes | 162 | 7 % |
| list_objects | 159 | 7 % |
Badge and feed
[](https://mcpcost.ulehla.dev/s/io.github.sparta2025/postgres-mcp)
An entry for every probe that changed the result, the tool count or the token cost: Atom feed. Add it to a feed reader or a Slack RSS app to hear when the server stops answering or its tool set grows.