- Dbecho
Dbecho
dbecho gives AI agents (Claude Code, Cursor, Windsurf) direct read-only access to your PostgreSQL databases.
11 tools: schema, query, analyze, compare, trend, anomalies, sample, erd, health, summary, list_databases. Plus 3 MCP resources and 3 MCP prompts.
Safety: read-only connections (default_transaction_read_only=on), query whitelist (SELECT/WITH/EXPLAIN/SHOW only), SQL injection prevention via psycopg.sql.Identifier, query timeouts, row limits. Safe to point at production.
Multi-database: connect multiple PostgreSQL databases in one TOML config, compare across them with a single tool call.
Zero infrastructure: pure Python package, stdio transport, no containers or web UI needed.
Requires Python 3.10+. Install: pip install dbecho
Server Config
{
"mcpServers": {
"dbecho": {
"command": "dbecho",
"args": [
"--config",
"/path/to/dbecho.toml"
]
}
}
}