Database MCP

Your databases, one conversation away. 33 tools PostgreSQL MySQL SQLite Connection Groups Rollback Dump/Restore Schema auto-discovery. It runs locally over stdio via the published package.

People connecting database tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-26 · ★ 2 · #86 OF 168 MAINTAINED DATABASE · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Database MCP

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add cocaxcode-database-mcp -- npx -y @cocaxcode/database-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cocaxcode-database-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cocaxcode/database-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @cocaxcode/database-mcp - published under the repo owner's npm scope (@cocaxcode)

registry namespace io.github.cocaxcode is GitHub-verified and matches the repo owner

03 · What Database MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

An agent gets 1 documented tool, including search_schema.

The 1 tools it gives your agent

Extracted from the project's README - what database-mcp lets an agent do.

search_schema
- 1

04 · Who maintains Database MCP

database-mcp is maintained by cocaxcode. We track 5 MCP servers from cocaxcode - 5 actively maintained, 14 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from cocaxcode.

  1. api-testing-mcp MCP server for API testing. 35 tools: HTTP, assertions, flows, OpenAPI, collections. ★ 9

05 · Facts

category
database - ranked #86 of 168 actively-maintained database servers as of 2026-09-18.
registry
io.github.cocaxcode/database-mcp (active, first published 2026-03-16 · 2 versions)
packages
npm:@cocaxcode/database-mcp

06 · Database MCP FAQ

What is Database MCP?

Your databases, one conversation away. 33 tools PostgreSQL MySQL SQLite Connection Groups Rollback Dump/Restore Schema auto-discovery. It runs locally over stdio via the published package.

Is Database MCP still maintained?

Yes - as of 2026-09-18, its last commit was 2026-08-26. We re-verify nightly.

How do I install Database MCP?

Run `npx -y @cocaxcode/database-mcp`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Database MCP run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Database MCP

More database MCP servers · Codegraph · Colabfit MCP · Zotero Bridge · Server Couchbase · SQL Server MCP

More TypeScript MCP servers · Claude Code Explorer MCP · Email MCP · Mat · Afip · Andreani · see all