@cocaxcode/database-mcp
MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), connection management, schema introspection, query execution with rollback, history…
Databasesnpx -y @cocaxcode/database-mcp{
"mcpServers": {
"cocaxcode-database-mcp": {
"command": "npx",
"args": [
"-y",
"@cocaxcode/database-mcp"
]
}
}
}@cocaxcode/database-mcp is a community MCP server that connects AI assistants like Claude to mcp server for database connectivity. multi-db (postgresql, mysql, sqlite), connection management, schema introspection, query execution with rollback, history…. It runs locally on your machine, keeping your data private and giving you full control over the connection. This makes it easy to query and manage your data without leaving your AI assistant.
About @cocaxcode/database-mcp
Overview
MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), connection management, schema introspection, query execution with rollback, history, elicitation for destructive ops, and prepared statements. Zero config.
Links
Topics
mcp, mcp-server, model-context-protocol, database, postgresql, mysql, sqlite, sql, query, schema, database-client, db-browser, rollback, prepared-statements, claude, claude-code, claude-desktop, cursor, windsurf, codex, gemini-cli, aider, cline, opencode, ai-tools, ai-agent
Who Should Use @cocaxcode/database-mcp?
- 1Control a browser and scrape the web through Claude
- 2Run natural-language queries against your database without writing SQL
- 3Inspect schemas, tables, and relationships during development
- 4Automate data exports, migrations, and reporting tasks
How to Install @cocaxcode/database-mcp
Before you start
You will need Node.js (v18 or later) installed on your machine — download it from nodejs.org if you haven't already.
- 1Open a terminal (Terminal on Mac, Command Prompt or PowerShell on Windows).
- 2Paste the install command above and press Enter — Node.js will download and run the server automatically.
- 3Add the server to your Claude Desktop config file (see the JSON snippet above) and restart Claude.
The Claude Desktop config snippet above can be copied and pasted directly into your claude_desktop_config.json file — no editing required.