io.github.YawLabs/postgres-mcp
PostgreSQL MCP Server
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
alive probed 2026-10-19
23tools
≈ 10ktokens, estimate
≈ 5.1 %of Claude's 200k window
7.2×the median server
309 msto initialize
63 msto list tools
- Run it
- npx -y @yawlabs/postgres-mcp@0.13.9 (stdio, probed in a container with the network off)
- Host
- npmjs.com
- Reports itself as
- @yawlabs/postgres-mcp 0.13.9
- Capabilities
- tools
- Instructions
- none
- Of a 1M window
- ≈ 1.0 % of a 1M context window, estimate
- Claude count
- The count_tokens endpoint refused the tool schemas: invalid x-api-key. The estimate stands in.
- Repository
- https://github.com/YawLabs/postgres-mcp
- Website
- https://yaw.sh/mcp-servers/postgres-mcp/
- Registry
- active, updated 2026-10-11 · registry entry
- Reachable
- 1 of the last 1 probe
Most expensive tools
Estimates with the o200k_base tokenizer.
| Tool | o200k estimate | Share of this server |
|---|---|---|
| pg_explain | 1 365 | 13 % |
| pg_advisor | 1 064 | 10 % |
| pg_index_advisor | 1 025 | 10 % |
| pg_io_stats | 814 | 8 % |
| pg_top_queries | 667 | 6 % |
Badge for the README
The result of the latest probe, the tool count and the token cost. The feed has an entry for every probe that changed them.
A mail when this server changes
Stops answering, comes back, tool set or cost changes. One confirmation mail first, a stop link in every mail.
For the publisher
- This server is in the heaviest 10 % of the registry. Its 5 most expensive tools are 48 % of the cost. Shorter descriptions, fewer optional parameters and fewer tools cut the cost. The command npx mcpcost --url <endpoint> --tools 50 lists every tool with its cost.
- The Anthropic count_tokens endpoint refused the tool schemas (invalid x-api-key). A client that validates schemas can refuse them too.