Database MCP
Connects AI clients to PostgreSQL, MySQL, and SQLite with schema discovery, grouped connections, query history, and rollback.
Install Database MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"database-mcp": {
"command": "npx",
"args": [
"-y",
"@cocaxcode/database-mcp@latest"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Automated check passed— started and listed 34 tools correctly (6d ago).
Overview
Use cases
- Inspect schemas before writing queries
- Organize development and production connections by project
- Query PostgreSQL, MySQL, and SQLite from one client
- Rollback test data mutations
- Dump and restore database structure and data
Key features
- 33 tools across PostgreSQL, MySQL, and SQLite
- Group-scoped named connections
- MCP Resource schema discovery
- Query history with execution timing
- Mutation snapshots and rollback
- Database dump and restore
Tools34
What Database MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 34 tools this server returned when we ran it.
Observed 2026-10-16 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 15d ago via OSV.dev · @cocaxcode/database-mcp@latest (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Database MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Database MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/database-mcp)<a href="https://allmcps.com/mcp/database-mcp"><img src="https://allmcps.com/api/badge/database-mcp?style=directory" alt="Database MCP on AllMCPs" /></a>