DB MCP Server for Claude Code and Claude Desktop

db-mcp-server

An MCP server for several databases with protection: a read-only mode per database and a row limit. Written in Go, launched in Docker

Install in Claude Code, Claude Desktop and SourceCraft

Manual install

docker run -p 9092:9092 ... -e DB_MCP_API_KEY=...

See the README for the full command with database setup. Or git clone https://github.com/FreePeak/db-mcp-server.git.

Access and checks

How we review

Broad access. The tool can change data, run commands or handle secrets.

  • Without an API key the transport is open
  • With read_only off the agent writes to the databases

This is third-party code. Review the repository files before installing.

What it does

DB MCP Server gives an agent access to several databases through one MCP server. Protection: a `read_only` mode per database and a row limit in the response. Docker launch: `docker run -p 9092:9092 ... -e DB_MCP_API_KEY=...`, also `git clone https://github.com/FreePeak/db-mcp-server.git`. Without an API key the transport stays open, which is a single-user mode. A Go program, version 1.9.0 from 11.04.2026, MIT license.

Who it is for. For developers and analysts who want to read several databases from an agent with write limits.

Good fit when

  • You need agent access to several databases through one server
  • You need a read-only mode per database
  • You need to limit the number of rows in a response

Not a fit when

  • You cannot let an agent write to production databases
  • You need protection stronger than an API key

Example request

Show the ten latest orders from the test database and how many there were in a week, read only

MCP

Transport
http
Authentication
API key

Keys and settings

DB_MCP_API_KEY required, secret
Environment variable DB_MCP_API_KEY, the value is set in the client or a .env file

Limitations

Without an API key the transport is open (a single-user mode): set DB_MCP_API_KEY. With read_only on, access is extended and with it off it is wide: the agent writes to the databases. Turn read_only on for each database and connect test copies.

How to disable. Stop the container and remove the server entry from the client and revoke the DB_MCP_API_KEY key.

FAQ

What does the server do?

It gives an agent access to several databases with a read_only mode per database and a row limit.

How do I launch it?

In Docker: docker run -p 9092:9092 with the DB_MCP_API_KEY key, or git clone.

What happens without an API key?

The transport stays open, a single-user mode.

How do I install DB MCP Server?

Run docker run -p 9092:9092 ... -e DB_MCP_API_KEY=... in a terminal.

Which agents does DB MCP Server work with?

DB MCP Server works in Claude Code, Claude Desktop, SourceCraft, Koda and Coddy.

Is DB MCP Server safe to install?

Broad access. The tool can change data, run commands or handle secrets.

Discussion

No questions or reviews yet.

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
DB MCP Server (this card)noAPI key487
ArcticDB MCPnonot required717the ArcticDB time series store
dbt MCPyesAPI key625dbt projects, the Semantic Layer and running dbt commands

README in short

The README describes an MCP server for several databases with a read_only mode, a row limit and Docker launch. MIT license.

README badge

Report a problem