MCP Database Server
local MCP serverInstallation
Terminal
claude mcp add mcp-db-server -e DATABASE_URL=... -- docker run -i --rm docker.io/souhardyak/mcp-db-server:1.3.1
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"mcp-db-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/souhardyak/mcp-db-server:1.3.1"
],
"env": {
"DATABASE_URL": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
Questions
MCP Database Server is a local MCP server distributed as the oci package docker.io/souhardyak/mcp-db-server:1.3.1.
Run: claude mcp add mcp-db-server -e DATABASE_URL=... -- docker run -i --rm docker.io/souhardyak/mcp-db-server:1.3.1
Run: codex mcp add mcp-db-server --env DATABASE_URL=... -- docker run -i --rm docker.io/souhardyak/mcp-db-server:1.3.1
Similar MCP servers
NameStars
- DBHubio.github.bytebase/dbhub3,574
- dbmcpai.haymon/dbmcp32
- Airweave Searchio.github.airweave-ai/search6,561
- QueryWeavercom.falkordb/QueryWeaver1,081
- PlanExeio.github.PlanExeOrg/planexe402
- Toleno Networkio.github.tolenonetwork/toleno-mcp224
- cli-microsoft365-mcp-serverio.github.pnp/cli-microsoft365-mcp-server133
- Auth0 MCP Servercom.auth0/mcp122