LocalFree

DB Connect MCP server

yugui923/db-connect-mcp

Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse

6 GitHub stars4 forks

Install DB Connect in Claude Code

Claude Code
claude mcp add yugui923-db-connect -e DATABASE_URL=... -- uvx db-connect-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "yugui923-db-connect": {
      "command": "uvx",
      "args": [
        "db-connect-mcp"
      ],
      "env": {
        "DATABASE_URL": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the DB Connect MCP server do?

Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse

Is the DB Connect 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 Connect 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 Connect to Claude Code?

Run: claude mcp add yugui923-db-connect -e DATABASE_URL=... -- uvx db-connect-mcp

More databases MCP servers

View all