What is Dbecho?
Dbecho gives AI agents (Claude Code, Cursor, Windsurf) direct read-only access to your PostgreSQL databases. It is a pure Python package using stdio transport — no containers or web UI needed.
How to use Dbecho?
Install with pip install, configure your PostgreSQL connection(s) in a TOML file, and Dbecho exposes 11 tools, 3 MCP resources, and 3 MCP prompts to your MCP-compatible AI agent.
Key features of Dbecho
- 11 tools: schema, query, analyze, compare, trend, anomalies, sample, erd, health, summary, list_databases
- Read-only safety enforced at the database level
- Supports multiple PostgreSQL databases in one config
- Compare databases with a single tool call
- Pure Python, zero infrastructure required
- Requires Python 3.10+
Use cases of Dbecho
- Allow AI coding assistants to explore your database schema and data
- Query PostgreSQL without granting write or destructive permissions
- Compare schemas or data patterns across multiple databases
- Automate database health checks and trend analysis with AI agents
- Sample and analyze production tables without risk of data modification
评论