Dbecho
@ginkida
关于 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.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"dbecho": {
"command": "dbecho",
"args": [
"--config",
"/path/to/dbecho.toml"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
数据库 分类下的更多 MCP 服务器
MCP MongoDB Server
kiliczshA Model Context Protocol Server for MongoDB
Chroma MCP Server
chroma-coreA Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.
MySQL MCP Server
designcomputerA Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
MongoDB Lens
furey🍃🔎 MongoDB Lens: Full Featured MCP Server for MongoDB Databases
评论