Dbecho
@ginkida
About Dbecho
MCP server for multi-database PostgreSQL analytics. Ask your databases questions in natural language - get schema exploration, profiling, trends, anomaly detection, and cross-database comparisons. Read-only, safe, local.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"dbecho": {
"command": "dbecho",
"args": [
"--config",
"/path/to/dbecho.toml"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
FAQ from Dbecho
What safety guarantees does Dbecho provide?
Connections enforce default_transaction_read_only=on, only allow SELECT/WITH/EXPLAIN/SHOW queries, prevent SQL injection with psycopg.sql.Identifier, and include query timeouts and row limits. It is safe to point at production databases.
Do I need to run containers or a web server?
No. Dbecho is a pure Python package that communicates via stdio transport โ no containers, web UI, or additional infrastructure required.
How do I connect to multiple databases?
Place multiple PostgreSQL connection definitions in a single TOML configuration file. You can compare across them with one tool call.
What are the runtime requirements?
Python 3.10 or later is required. There are no other external runtime dependencies.
How is Dbecho accessed?
Dbecho uses the standard MCP protocol over stdio transport. It integrates directly with MCP-compatible AI tools such as Claude Code, Cursor, and Windsurf.
More Databases MCP servers
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
MCP Server for MySQL based on NodeJS
benborlaA Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
Sail MCP Server for Spark SQL
lakehqDrop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
MotherDuck's DuckDB MCP Server
motherduckdbLocal MCP server for DuckDB and MotherDuck
MongoDB Lens
furey๐๐ MongoDB Lens: Full Featured MCP Server for MongoDB Databases
Comments