Databases (read-only, switchable)
io.github.shibbirweb/mcp-db-read-only
About Databases (read-only, switchable)
Databases (read-only, switchable) is an MCP server published by the GitHub account shibbirweb. Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.
It runs on your own machine: your AI client starts it from the npm package @shibbirweb/mcp-db-read-only at version 1.1.0.
It asks for 3 secrets: DB_PASSWORD, DB_PROFILES and MYSQL_PASSWORD. Give it a key with the least access that still works.
Version 1.1.0 was published on 24 September 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 1 warn, 0 fail, 1 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
DB_URL | No | No | 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 | No | Yes | Password for DB_URL, so it need not be percent-encoded inside the URL |
DB_PROFILES | No | Yes | JSON object of named connections to switch between, each a URL or {"url", "password"} |
DB_DEFAULT_PROFILE | No | No | Which DB_PROFILES entry to start on |
DB_CONNECT_TIMEOUT_MS | No | No | Connection timeout in milliseconds. Defaults to 10000 |
DB_QUERY_TIMEOUT_MS | No | No | Server-side query timeout in milliseconds. Defaults to 30000 |
DB_LOG | No | No | true logs every tool call, its statements and full output to stderr. Off by default |
DB_LOG_FILE | No | No | Log every tool call to this file instead. Implies DB_LOG |
DB_LOG_DIR | No | No | Save every tool call as its own JSON file in this folder, permanently. Implies logging |
DB_LOG_FORMAT | No | No | pretty (default) or json, one object per line |
DB_LOG_PORT | No | No | 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 | No | No | Entries the viewer keeps in memory when DB_LOG_DIR is not set. Defaults to 500 |
MYSQL_HOST | No | No | Legacy MySQL-only form, kept for drop-in compatibility. Prefer DB_URL |
MYSQL_USER | No | No | Legacy MySQL-only form. Prefer DB_URL |
MYSQL_PASSWORD | No | Yes | Legacy MySQL-only form. Prefer DB_URL with DB_PASSWORD |
MYSQL_DATABASE | No | No | Legacy MySQL-only form. Prefer DB_URL |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/shibbirweb/mcp-db-read-only |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Warn | Asks for 3 secrets: DB_PASSWORD, DB_PROFILES, MYSQL_PASSWORD |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account shibbirweb |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @shibbirweb/mcp-db-read-only@1.1.0 runs nothing at install |
| Code red flags | Pass | Read 114 files in @shibbirweb/mcp-db-read-only@1.1.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 114 files, including comments and the README |
Popularity & health: 53 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 3 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.shibbirweb/mcp-db-read-only |
|---|---|
| Publisher | GitHub account shibbirweb |
| How the name is verified | Name verified via GitHub account shibbirweb. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @shibbirweb/mcp-db-read-only 1.1.0 (stdio)oci docker.io/shibbirweb/mcp-db-read-only:1.1.0 no version given (stdio) |
| Version | 1.1.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/shibbirweb/mcp-db-read-only |
| Website | https://github.com/shibbirweb/mcp-db-read-only#readme |
| Category | Databases & data (assigned by keyword rule, not by hand) |
Related servers in Databases & data
- netcafe-devkit4/4JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond…
- esmole7/7Elasticsearch 7.x/8.x with connections managed at runtime by the…
- Elasticsearch7/7Elasticsearch MCP Server for ES 5.x-9.x with a query harness, field…
- kibana-mcp7/7Kibana/Elasticsearch MCP — log search, aggregations, index…
- elasticsearch-mcp-server7/7MCP server for interacting with Elasticsearch
- SQLX4/4Run SQL on 30+ databases through saved, encrypted connections;…