DB MCP Server
by souhar-dyaio.github.Souhar-dya/mcp-db-serverv1.3.1
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
context tax
queued
security
queued
cold start
queued
freshness
Active26d ago
Install DB MCP server
Install in Claude Code
claude mcp add db -- docker run -i --rm docker.io/souhardyak/mcp-db-server:1.3.1Install in Cursor
{
"mcpServers": {
"db": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/souhardyak/mcp-db-server:1.3.1"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"db": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/souhardyak/mcp-db-server:1.3.1"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"db": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/souhardyak/mcp-db-server:1.3.1"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"db": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/souhardyak/mcp-db-server:1.3.1"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATABASE_URL | — | — | Database connection URL. Defaults to local SQLite in /data/default.db. |
Freshness
Active — last maintenance signal 26d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-13 · 26d ago · GitHub
Latest release
2026-09-13 · 26d ago · GitHub · v1.4.0
Package published
no data · npm/PyPI
Registry entry updated
2026-04-18 · 6mo ago · official registry · v1.3.1
FAQ
›How do I install the DB MCP server in Claude Code?
Run: claude mcp add db -- docker run -i --rm docker.io/souhardyak/mcp-db-server:1.3.1. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does DB require an API key?
No required environment variables are declared in its published metadata.
›Can I use DB as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is DB in the official MCP registry?
Yes, as io.github.Souhar-dya/mcp-db-server.
Alternatives to DB
Other database MCP servers.