LocalFree

DB Explorer MCP server

AYUSH-148/DB-Explorer-MCP

Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice

7 GitHub stars2 forks

Install DB Explorer in Claude Code

Claude Code
claude mcp add db-explorer -- uvx db-explorer-mcp-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "db-explorer": {
      "command": "uvx",
      "args": [
        "db-explorer-mcp-server"
      ]
    }
  }
}

Frequently asked questions

What does the DB Explorer MCP server do?

Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice

Is the DB Explorer MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does DB Explorer run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add DB Explorer to Claude Code?

Run: claude mcp add db-explorer -- uvx db-explorer-mcp-server

More databases MCP servers

View all