MCP Catalogs
Homemcp-dbutils screenshot

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.

databasedeveloper-toolssecurity
14
Forks
14
Open issues
12 mo ago
Last commit
2d ago
Indexed

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:

you:AI-powered data analysis across multiple database types
you:Secure database interaction for enterprise environments
you:Automated database exploration and schema analysis
you:Is this server truly read-only?
you:Can I connect to multiple databases simultaneously?

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 README
  • dbutils-list-connections

    Lists all available database connections with details while hiding sensitive information.

  • dbutils-list-tables

    Lists all tables in a specified database connection with metadata.

  • dbutils-run-query

    Executes read-only SQL queries and returns structured results.

  • dbutils-describe-table

    Provides detailed table structure including column names and data types.

  • dbutils-get-ddl

    Retrieves the complete DDL statement for creating a specified table.

  • dbutils-list-indexes

    Lists all indexes on a specified table with their properties.

  • dbutils-get-stats

    Retrieves statistical information about a table including row count and size.

  • dbutils-list-constraints

    Lists all constraints on a table including primary keys and foreign keys.

  • dbutils-explain-query

    Provides the execution plan for an SQL query showing how it will be processed.

  • dbutils-get-performance

    Retrieves performance metrics for a database connection.

  • dbutils-analyze-query

    Analyzes SQL query performance with execution plan and optimization suggestions.

Comparable tools

db-mcpsql-mcppostgres-mcpmysql-mcp

Installation

Installation

Using Smithery (Recommended)

smithery install @donghao1393/mcp-dbutils

Using uvx

uvx mcp-dbutils

Using Docker

docker run -it donghao1393/mcp-dbutils

Claude 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.