Dbmcp
Dbmcp is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention. It has 32 GitHub stars, is released under the MIT license and runs locally with docker run -i --rm ghcr.io/haymon-ai/dbmcp:0.15.1.
github.com/haymon-ai/dbmcp (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install Dbmcp
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"dbmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haymon-ai/dbmcp:0.15.1"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio dbmcp -- docker run -i --rm ghcr.io/haymon-ai/dbmcp:0.15.1Cursor
{
"mcpServers": {
"dbmcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haymon-ai/dbmcp:0.15.1"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"dbmcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haymon-ai/dbmcp:0.15.1"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
About Dbmcp
A single-binary MCP server for SQL databases. Connect your AI assistant to MySQL/MariaDB, PostgreSQL, or SQLite with zero runtime dependencies.
- ai
- ai-agents
- database
- mariadb
- mcp
- mcp-server
- mysql
- postgres
- sql
- sqlite
Similar MCP servers
More databases MCP servers
InsForge
InsForge/insforge-mcp
MCP server for InsForge BaaS — database, storage, edge functions, and deployments.
Maintained · last commit Oct 23, 2026
OfficialDatabasesTypeScriptMCP For API
appwrite/mcp
MCP (Model Context Protocol) server for Appwrite.
Active · last commit Oct 25, 2026
OfficialDatabasesPythonAlibabacloud Dataworks MCP Server
aliyun/alibabacloud-dataworks-mcp-server
A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks Open API through a standardized interface.
Maintained · last commit Jun 16, 2026
OfficialDatabasesTypeScriptCairn.ink Memory
Cairn-ink/cairn-memory
Cross-session memory for AI agents with a Source Receipt for every memory, over MCP.
Too new to judge · created Sep 4, 2026
OfficialDatabasesJavaScriptMemory Vault
MihaiBuilds/memory-vault
Local-first AI memory layer with hybrid search.
Active · last commit Oct 10, 2026
OfficialDatabasesPythonOpenDeviceDB
opendevicedb/opendevicedb
Check 21,000+ devices with open firmware or protocols before reverse engineering one.
Too new to judge · created Oct 17, 2026
OfficialDatabasesTypeScript
How do I install the Dbmcp MCP server?
Add the command docker run -i --rm ghcr.io/haymon-ai/dbmcp:0.15.1 to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Dbmcp free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is Dbmcp actively maintained?
The most recent commit was on Oct 22, 2026. The latest release is v0.15.1, published Oct 22, 2026. appsgit only lists MCP servers with a commit in the last six months.