📡 MCP Radar

mdadul/db-mcp

Self-hosted MCP gateway that gives AI coding agents read-only access to your databases.

⭐ 3 stars
⑂ 0 forks
TypeScript
momentum ▲ 6.0
created 2026-08-01
on radar since 2026-08-03
db-mcpmcpmcp-servermysql-mcppostgresql-databasepostgresql-mcp
View on GitHub ↗

About db-mcp

Give Claude Code, Cursor, Windsurf, or any MCP-compatible AI tool read-only access to your databases — without exposing credentials or risking data changes.

Self-hosted. Everything runs locally. Your passwords never leave your machine.

https://github.com/user-attachments/assets/f768ff6f-3c9e-4583-9179-c7022d3b7487

Database Notes --------- PostgreSQL All versions MySQL MySQL 5.7+ / MariaDB SQLite Local file, no server needed Amazon Redshift SSL required, Redshift-specific catalog queries

Instead of copy-pasting query results between your DB client and your AI tool, the gateway lets your AI query the database directly. It can explore schemas, inspect tables, and run SELECT queries. It cannot insert, update, delete, or drop anything.

Option A — Docker (recommended, no local install needed)

docker compose pulls the pre-built image from Docker Hub — no build step required. The MCPTOKEN is printed by setup.sh — copy it before you close the terminal.

Open http://localhost:4080. Your MCPTOKEN is in .env.

Claude.ai requires HTTPS. Expose the gateway through a tunnel first:

Copy the https://... URL from the tunnel output, then add it in Claude.ai → Settings → Integrations → Add MCP Server.

"How many orders were created this week?" "What columns does the users table have?" "Show me the last 10 failed jobs."

The AI will call the gateway tools automatically — no copy-pasting.

Tool What it does ------------------- listdatabases Lists all connected databases getdatabaseschema Lists tables (optional name filter) gettableschema Shows columns, indexes, and foreign keys for a tabl

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/mdadul--db-mcp.html)

Related MCP servers

qybaihe/bla

🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> H

⭐ 1537TypeScript
INK-Q/agy-fast

Non-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.

⭐ 1411TypeScript
shinthink/blitzstrike

⚡ Blitz Strike — a universal MCP penetration-testing toolbelt. Structured methodology: reconnaissance & attack-surface mapping, source-to-sink analysis, and live validation. 57 escalation chains, 130-

⭐ 634TypeScript
muaaz9329/cheap-ag

50x your usage with cheap-ag. Opus/Astra plans, a dirt-cheap model writes every line, and tests decide what ships. Your $20 plan stops hitting limits. One MCP server for Claude Code & Codex.

⭐ 240TypeScript
noskillish/bankmcp

BankMCP™: your AI can now read your bank. Self-hosted, read-only MCP server for your own bank accounts via open banking (Enable Banking). Standard MCP; tested with Claude and Ollama.

⭐ 203TypeScript
DevCrabs-Inc/yandex-metrika-mcp

Read-only MCP server for Yandex Metrika (Яндекс Метрика): verifiable reports, period comparisons, time series and exports for Claude, Cursor, VS Code and Codex.

⭐ 130TypeScript

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.