MCP.Market

Databases (read-only, switchable) MCP server

by shibbirweb·io.github.shibbirweb/mcp-db-read-only·v1.1.0

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

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

full report

Adoption
New

0 stars

Reviews

Write one

Nobody has reviewed Databases (read-only, switchable) yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Databases (read-only, switchable) tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it

no findings
  • Code scan111 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 0 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 83/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Databases (read-only, switchable) compares

Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 60% of 802 Databases servers

Install Databases (read-only, switchable) in Claude Code, Cursor or VS Code

Runs npx -y @shibbirweb/mcp-db-read-only on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add mcp-db-read-only -- npx -y @shibbirweb/mcp-db-read-only
Add to Cursor

What the publisher says

From the Databases (read-only, switchable) repository's README, as published. We do not edit it. Read it on GitHub

mcp-db-read-only

Let your AI assistant look at your databases without being able to change them.

Point it at MySQL, PostgreSQL, SQLite, SQL Server, ClickHouse, MongoDB, Redis or Elasticsearch, then just ask questions in plain words: "how many users signed up this week?", "what's in the orders table?", "which Redis keys hold sessions?". It can read anything you give it access to, and it cannot write, update or delete anything.

  • Every popular database, one server. Switch between them in the middle of a conversation.
  • Read-only, twice over. Every query is checked before it is sent, and the database itself is also told to refuse writes.
  • No restart to switch. Change database, server or engine by asking.
  • Optional logging, with a live page in your browser that shows every query as it happens.
flowchart LR
    Y["You"] -->|"ask in plain words"| AI["Your AI assistant"]
    AI -->|"tool call"| S["mcp-db-read-only"]
    S -->|"read-only query"| DB[("Your databases")]
    DB -->|"rows, documents, keys"| S

Works with Claude Desktop, Claude Code, and any other MCP client.

Quick start

1. Have Node.js 22.13 or newer (node --version), or Docker.

2. Add the server to your client. For Claude Desktop, edit claudedesktopconfig.json (Settings, Developer, Edit Config). For Claude Code, create .mcp.json in your project:

{
  "mcpServers": {
    "databases": {
      "command": "npx",
      "args": ["-y", "@shibbirweb/mcp-db-read-only"],
      "env": {
        "DB_URL": "postgres://readonly:secret@localhost:5432/myapp"
      }
    }
  }
}

Replace the DB_URL with your own database. The examples below show one for every kind.

3. Restart the client once, and ask away:

"What tables are in my database?"

"Show me the 5 newest orders."

"How many customers are in each country?"

That's it. You never need to restart again to change database; just ask the assistant to switch.

Examples for each database

Each database has a URL format, then a real example to copy and change. Put the finished URL in DB_URL.

Replace each [PLACEHOLDER] with your own value:

No password? Leave out :[PASSWORD]. No user either? Leave out [USER]:[PASSWORD]@ entirely.

MySQL and MariaDB

Format (usual port 3306):

mysql://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]
mariadb://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]

Example:

mysql://readonly:secret@localhost:3306/shop

"List the tables in shop." · "Describe the orders table." · "What were last month's top 10 products by revenue?"

PostgreSQL

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Databases (read-only, switchable): common questions

Is Databases (read-only, switchable) MCP server safe?
Mostly: it is graded B (83/100). Read the Databases (read-only, switchable) safety report
How do I install Databases (read-only, switchable)?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Databases (read-only, switchable) need an API key?
Yes. The registry entry asks for DB_PASSWORD, DB_PROFILES, MYSQL_PASSWORD.
Is Databases (read-only, switchable) maintained?
The last commit was 39 days ago (2026-09-24). The latest release is v1.1.0.
What can I use instead of Databases (read-only, switchable)?
Servers from other publishers that do the same job: DBHub MCP server, Faucet MCP server and LINQ to DB MCP server.

Alternatives to Databases (read-only, switchable)

Same job from other publishers: the closest match first, then the best rated.

  • DBHub
    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
    A
  • Faucet
    SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.
    A
  • LINQ to DB
    Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
    A
  • Magic Cloud
    Generate secured CRUD APIs over your database, run SQL, manage files, tasks and a headless browser
    A
  • ArcadeDB
    Multi-Model database with built-in MCP server for SQL, Cypher, Gremlin, and GraphQL.
    B