mcpbeat Sign in

Databases (read-only, switchable) MCP Server

local only

Databases (read-only, switchable) runs on your own machine — the client starts it, so there is no endpoint to ping. 77 installs a week from npm. Last commit 9 Oct 2026.

Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.

Installs per day peak 19 · avg 6 · +33% w/w
a month agotoday
77
Installs / week
npm · @shibbirweb/mcp-db-read-only
0
Stars
0 open issues
9 Oct 2026
Last commit
4 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Databases (read-only, switchable) every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

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 mcp-db-read-only -- npx -y @shibbirweb/mcp-db-read-only
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-db-read-only": {
      "command": "npx",
      "args": [
        "-y",
        "@shibbirweb/mcp-db-read-only"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-db-read-only]
command = "npx"
args = ["-y", "@shibbirweb/mcp-db-read-only"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-db-read-only": {
      "command": "npx",
      "args": [
        "-y",
        "@shibbirweb/mcp-db-read-only"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-db-read-only": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shibbirweb/mcp-db-read-only"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: DB_URL (Connection URL to open at startup, e.g. postgres://user@host:5432/db, mongodb://user@host/db, redis://host:6379/0 or sqlite:///data/app.db), DB_PASSWORD (Password for DB_URL, so it need not be percent-encoded inside the URL), DB_PROFILES (JSON object of named connections to switch between, each a URL or {"url", "password"}), DB_DEFAULT_PROFILE (Which DB_PROFILES entry to start on), DB_CONNECT_TIMEOUT_MS (Connection timeout in milliseconds. Defaults to 10000), DB_QUERY_TIMEOUT_MS (Server-side query timeout in milliseconds. Defaults to 30000), DB_LOG (true logs every tool call, its statements and full output to stderr. Off by default), DB_LOG_FILE (Log every tool call to this file instead. Implies DB_LOG), DB_LOG_DIR (Save every tool call as its own JSON file in this folder, permanently. Implies logging), DB_LOG_FORMAT (pretty (default) or json, one object per line), DB_LOG_PORT (Serve a live log viewer in the browser on this port. Needs DB_LOG_DIR, DB_LOG or DB_LOG_FILE. No access control), DB_LOG_HISTORY (Entries the viewer keeps in memory when DB_LOG_DIR is not set. Defaults to 500), MYSQL_HOST (Legacy MySQL-only form, kept for drop-in compatibility. Prefer DB_URL), MYSQL_USER (Legacy MySQL-only form. Prefer DB_URL), MYSQL_PASSWORD (Legacy MySQL-only form. Prefer DB_URL with DB_PASSWORD), MYSQL_DATABASE (Legacy MySQL-only form. Prefer DB_URL).

Alternatives to Databases (read-only, switchable)

same job, measured the same way
MySQL (read-only, switchable)
by shibbirweb

Read-only MySQL access, with the database and server switchable mid-conversation.

84 installs/wk local only
Elasticsearch Mongodb Redis Stack Generator Elasticsearch Elasticsearch
by getvda

Elasticsearch + MongoDB + Redis Stack Generator (Elasticsearch/Elasticsearch)

2 tools answering
Quarry
by yiminspace

Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.

2 459 installs/wk local only
A2db
by agentic-eng

Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot.

142 installs/wk local only
GLEIF MCP Server
by olgasafonova

Access the GLEIF LEI database for company verification, KYC, and ownership research.

local only
Tenantsdb
by tenantsdb

Multi-tenant database orchestration: isolated Postgres, MySQL, MongoDB, Redis tenants on demand.

answering
D
DataRunner
by datarunner

Query, monitor and schedule SQL across your databases: schemas, read-only SQL, alerts, hosts.

71 installs/wk local only
SafeSelect MCP
by antonillos

Fail-closed, read-only PostgreSQL and MongoDB access for AI agents over MCP.

local only

Databases (read-only, switchable) — questions

Answers built from our own checks of this server.

Why is there no uptime for Databases (read-only, switchable)?
Databases (read-only, switchable) 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 @shibbirweb/mcp-db-read-only was installed 77 times last week.
How do I connect Databases (read-only, switchable)?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @shibbirweb/mcp-db-read-only straight from npm; nothing to host, nothing to sign up for.
How many people use Databases (read-only, switchable)?
The npm package @shibbirweb/mcp-db-read-only was installed 77 times in the last week. Week over week that is +33%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Databases (read-only, switchable) open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 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.