Database MCP Server

MCP server providing SQL and database tools for AI agents. All analysis is performed on SQL text — no actual database connection required.

Local serverstdioMIT

What is the Database MCP Server?

@rog0x/mcp-database-tools is an MCP project maintained in the rog0x/mcp-database-tools repository. The maintainer describes its purpose as “MCP server providing SQL and database tools for AI agents. All analysis is performed on SQL text — no actual database connection required”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
sql_format
sql_explain
schema_analyze
query_build
migration_generate

How to install the Database MCP Server

{
  "mcpServers": {
    "database-tools": {
      "command": "node",
      "args": [
        "path/to/mcp-database-tools/dist/index.js"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.