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.13.2.
- Official
- Databases
- MIT
- Actively maintained
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.13.2"
]
}
}
}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.13.2Cursor
{
"mcpServers": {
"dbmcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haymon-ai/dbmcp:0.13.2"
]
}
}
}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.13.2"
]
}
}
}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
Dbx
t8y2/dbx
Query databases from AI agents using connections configured in DBX.
DatabasesRustButterbase AI MCP Server
butterbase-ai/butterbase
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
DatabasesTypeScriptDBHub
bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.
DatabasesTypeScriptLINQ to DB
linq2db/linq2db
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
DatabasesC#Mindwtr
dongdongbh/Mindwtr
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
DatabasesTypeScriptMCP Memory Service
doobidoo/mcp-memory-service
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude.
DatabasesPython
What is 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.13.2. The source code is at github.com/haymon-ai/dbmcp.
How do I install the Dbmcp MCP server?
Add the command docker run -i --rm ghcr.io/haymon-ai/dbmcp:0.13.2 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 Sep 18, 2026. The latest release is v0.13.2, published May 29, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.