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.
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.
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.
claude mcp add mcp-db-read-only -- npx -y @shibbirweb/mcp-db-read-only
{
"mcpServers": {
"mcp-db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
]
}
}
}
[mcp_servers.mcp-db-read-only]
command = "npx"
args = ["-y", "@shibbirweb/mcp-db-read-only"]
{
"mcpServers": {
"mcp-db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
]
}
}
}
{
"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).
Read-only MySQL access, with the database and server switchable mid-conversation.
Elasticsearch + MongoDB + Redis Stack Generator (Elasticsearch/Elasticsearch)
Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.
Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot.
Access the GLEIF LEI database for company verification, KYC, and ownership research.
Multi-tenant database orchestration: isolated Postgres, MySQL, MongoDB, Redis tenants on demand.
Query, monitor and schedule SQL across your databases: schemas, read-only SQL, alerts, hosts.
Fail-closed, read-only PostgreSQL and MongoDB access for AI agents over MCP.
Answers built from our own checks of this server.