Self-hosted MCP gateway that gives AI coding agents read-only access to your databases.
View on GitHub ↗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.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/mdadul--db-mcp.html)
⚡ 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-
noskillish/bankmcpBankMCP™: 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.
herry2059/project-os-for-codexOpen-source control plane for Codex projects: Git-backed context, visible agent progress, scoped MCP access, resumable work, and safe handoffs.
JesusRS1/stock-trade-finance-apiStock Trade MCP server in Tiingo with stock prices, news, forex, and fundamentals programmatically via the MCP
Cripacx/mediagenAI image and video generation skill for Claude Code and other coding agents — Gemini, OpenAI and Kie AI behind one CLI and MCP server, with EU AI Act content marking.
INSANE0777/Awwards-mcpFree, open-source MCP server that gives AI coding agents (Claude Code, Codex, Cursor, OpenCode, ZCode…) design inspiration from award-winning websites — search with real screenshots, pull design DNA,
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.