LocalFree

dbmole MCP server

ed-smartass/dbmole-mcp

PostgreSQL and MySQL with connections managed at runtime by the agent, SSH tunnels, readonly.

1 GitHub stars282 npm downloads / month

Install dbmole in Claude Code

Claude Code
claude mcp add dbmole -- npx -y dbmole-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "dbmole": {
      "command": "npx",
      "args": [
        "-y",
        "dbmole-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the dbmole MCP server do?

PostgreSQL and MySQL with connections managed at runtime by the agent, SSH tunnels, readonly.

Is the dbmole 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 dbmole run locally or remotely?

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

How do I add dbmole to Claude Code?

Run: claude mcp add dbmole -- npx -y dbmole-mcp

More databases MCP servers

View all