Enterprise DNAEnterprise DNA
MMCP ServersDeveloperlow

mahAnuj/mcp-multi-db

by Various

Read-only MCP server for querying PostgreSQL, MySQL, and SQLite from AI agents — multi-database, safe by default.

MCP

mahAnuj/mcp-multi-db

Added 26 June 2026

Catalogue record, not a reviewed recommendation. This record can include automatically collected descriptions and setup details. Confirm important claims with the original source. Explore source-reviewed tools.

Overview

A read-only MCP server that lets AI agents query PostgreSQL, MySQL, and SQLite databases. It enforces safety by default, preventing write operations while providing structured access to multiple database types through a single interface.

Best for

Best for
Developers who need a safe, multi-database read-only bridge for AI agents

Use cases

  • Let an AI agent inspect production database schemas without risk of data modification
  • Query multiple database types (PostgreSQL, MySQL, SQLite) from a single MCP endpoint
  • Enable read-only data retrieval for AI-powered analytics or reporting tools

How to use

Install

npx -y mcp-multi-db

Tools exposed

  • list_databases
  • list_tables
  • describe_table
  • run_query

Clients listed in this record (not verified here)

Claude Desktop, Claude Code, Cursor, Windsurf, Cline

Example client config

{
  "mcpServers": {
    "mcp-multi-db": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-multi-db"
      ],
      "env": {
        "MCP_DB_CONFIG": "/absolute/path/to/databases.json"
      }
    }
  }
}

Notes

0 stars on GitHub. Last updated 2026-06-21. Licensed ISC.

Pros

  • Read-only by design, reducing risk of accidental data corruption
  • Supports three major database types in one server
  • Lightweight TypeScript implementation with no external dependencies beyond database drivers

Cons

  • No write support limits use cases to data retrieval only
  • Zero stars and no community adoption suggests early or untested code
  • Requires separate database credentials and network access for each database type
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.