mcpbeat Sign in

Database MCP Server

local only

Database MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 139 installs a week from npm. Last commit 26 Aug 2026.

MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.

Installs per day peak 50 · avg 17 · +179% w/w
a month agotoday
139
Installs / week
npm · @cocaxcode/database-mcp
2
Stars
0 open issues
26 Aug 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 21 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Dumps the whole environment tsup.config.ts:16
      __PKG_VERSION__: JSON.stringify(process.env.npm_package_version ?? '0.0.0'),

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add database-mcp -- npx -y @cocaxcode/database-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "database-mcp": {
      "args": [
        "-y",
        "@cocaxcode/database-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.database-mcp]
command = "npx"
args = ["-y", "@cocaxcode/database-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "database-mcp": {
      "args": [
        "-y",
        "@cocaxcode/database-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "database-mcp": {
      "args": [
        "-y",
        "@cocaxcode/database-mcp"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Database MCP

same job, measured the same way
DB Connect MCP
by yugui923

Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse

390 installs/wk local only
DataLink
by pilat

MCP server for secure database access (PostgreSQL, MySQL, SQLite)

42 installs/wk local only
DBHub
by bytebase

Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

25 860 installs/wk local only
I
DB MCP Server
by stucchi

Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.

245 installs/wk local only
MCP Database Server
by souhar-dya

MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.

local only
Mimer MCP
by mimersql

An MCP server with Mimer SQL Database Connectivity

80 installs/wk local only
Metabase AI Assistant
by enessari

MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL

55 installs/wk local only
Fastmcp Sqltools
by atarkowska

A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.

53 installs/wk local only

Database MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Database MCP?
Database MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @cocaxcode/database-mcp was installed 139 times last week.
How do I connect Database MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @cocaxcode/database-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Database MCP?
The npm package @cocaxcode/database-mcp was installed 139 times in the last week. Week over week that is +179%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Database MCP open source?
Yes — it is published under the MIT licence, written in TypeScript and 2 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.