mcp-dbutils
@donghao1393
About mcp-dbutils
数读 是一件可以让你的大模型安全连接到数据库的MCP工具。| DButils is an all-in-one MCP service that enables your AI to do data analysis by harnessing versatile types of database (sqlite, mysql, postgres, and more) within a unified configuration of multiple connections in a secured way (like SSL and control
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-dbutils": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@donghao1393/mcp-dbutils",
"--client",
"claude"
]
}
}
}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 mcp-dbutils?
mcp-dbutils 是一个多功能的 MCP 服务,使 AI 能够通过统一的连接配置安全地访问 SQLite、MySQL、PostgreSQL 等数据库进行数据分析,作为 AI 系统和数据库之间的安全桥梁。
How to use mcp-dbutils?
安装方式包括 uvx、Docker 和 Smithery。配置通过单个 YAML 文件定义数据库连接,然后添加到 AI 客户端即可使用。提供多种工具与数据库交互,如列出表、执行只读查询、获取表结构等。
Key features of mcp-dbutils
- 严格只读操作,无数据修改风险
- 支持 SQLite、MySQL、PostgreSQL 多数据库
- 所有数据库连接使用单个 YAML 文件配置
- 提供表格浏览、架构分析和查询执行
- 支持隐私保障:本地处理、凭证保护、敏感数据屏蔽
Use cases of mcp-dbutils
- AI 助手安全地查询和分析数据库中的客户、产品、订单等数据
- 对数据库表结构进行快速浏览和描述,无需直接连接数据库
- 获取数据库性能指标和查询执行计划,进行性能优化
FAQ from mcp-dbutils
是否支持写操作?
否,mcp-dbutils 严格只读,仅执行 SELECT 查询,不修改数据。
需要哪些运行时依赖?
需要 Python 3.10 或更高版本。
数据存储在哪里?
所有数据均在本地处理,最小化数据暴露,凭证受到保护。
More Databases MCP servers
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
MotherDuck's DuckDB MCP Server
motherduckdbLocal MCP server for DuckDB and MotherDuck

PostgreSQL
modelcontextprotocolModel Context Protocol 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.
Comments