mcp-dbutils
by donghao1393·★ 88·Score 41
mcp-dbutils is a secure MCP server enabling AI to analyze data across multiple database types with read-only access.
Overview
mcp-dbutils provides a secure bridge between AI systems and databases, allowing models to analyze data without direct database access. It supports SQLite, MySQL, PostgreSQL and other database types through a unified configuration. The server employs a security-first architecture with read-only operations, isolated connections, and minimal data exposure. Users can browse tables, analyze schemas, and execute SQL queries while maintaining data protection and privacy.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server when you need secure, read-only AI access to multiple database types without exposing credentials directly to AI models.
When NOT to choose this
Avoid this server if you need write access to databases or require direct SQL execution capabilities beyond SELECT queries.
Tools this server exposes
11 tools extracted from the READMEdbutils-list-connectionsLists all available database connections with details while hiding sensitive information.
dbutils-list-tablesLists all tables in a specified database connection with metadata.
dbutils-run-queryExecutes read-only SQL queries and returns structured results.
dbutils-describe-tableProvides detailed table structure including column names and data types.
dbutils-get-ddlRetrieves the complete DDL statement for creating a specified table.
dbutils-list-indexesLists all indexes on a specified table with their properties.
dbutils-get-statsRetrieves statistical information about a table including row count and size.
dbutils-list-constraintsLists all constraints on a table including primary keys and foreign keys.
dbutils-explain-queryProvides the execution plan for an SQL query showing how it will be processed.
dbutils-get-performanceRetrieves performance metrics for a database connection.
dbutils-analyze-queryAnalyzes SQL query performance with execution plan and optimization suggestions.
Comparable tools
Installation
Installation
Using Smithery (Recommended)
smithery install @donghao1393/mcp-dbutilsUsing uvx
uvx mcp-dbutilsUsing Docker
docker run -it donghao1393/mcp-dbutilsClaude Desktop Configuration
Add to your Claude Desktop configuration:
{
"mcpServers": {
"dbutils": {
"command": "mcp-dbutils",
"args": []
}
}
}FAQ
- Is this server truly read-only?
- Yes, mcp-dbutils only supports read operations (SELECT statements). It blocks any write operations to ensure data safety.
- Can I connect to multiple databases simultaneously?
- Yes, the server supports multiple database connections configured through a single YAML file.
Compare mcp-dbutils with
Last updated · Auto-generated from public README + GitHub signals.