Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

DB Explorer

de AYUSH-148versión 0.1.0i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.AYUSH-148/db-explorer-mcp-server

Instalar

Resumen

Descripción del creador (original en inglés)

Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Bases de datos y conjuntos de datos
  • Debes completar: DATABASE_URL

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

  • PyPIuv de Python instalado (para el comando uvx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "db-explorer": {
      "command": "uvx",
      "args": [
        "db-explorer-mcp-server"
      ],
      "env": {
        "DATABASE_URL": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add db-explorer --env DATABASE_URL=your-value -- uvx db-explorer-mcp-server

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "db-explorer": {
      "command": "uvx",
      "args": [
        "db-explorer-mcp-server"
      ],
      "env": {
        "DATABASE_URL": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "db-explorer": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "db-explorer-mcp-server"
      ],
      "env": {
        "DATABASE_URL": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • DATABASE_URL secreto env
    SQLAlchemy URL of the database to explore. Unset opens the bundled demo database.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub AYUSH-148, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Bases de datos y conjuntos de datosi

  • Más estrellas que el 0% de los otros 955 servidores de esta categoría
  • Publicado en el registro más recientemente que el 74% de los otros 955 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 955 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro DB Explorer?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: DATABASE_URL

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.1.0) llegó al registro hace 17 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Supabase

de supabase

MCP server for interacting with the Supabase platform

Computadora o nube★ 2993Apache-2.0Actualizado ayer
Instalar

MongoDB MCP Server

de mongodb-js

MongoDB Model Context Protocol Server

Se ejecuta en tu computadora★ 1157Apache-2.0Actualizado hace 3 días
Instalar

MCP server for interacting with Elasticsearch

Se ejecuta en tu computadora★ 315Apache-2.0Actualizado hace 14 meses
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

DB Explorer MCP

A read-only Model Context Protocol (MCP) server for PostgreSQL, MySQL, and SQLite that lets an AI coding assistant explore, query, and audit a relational database without ever being able to write to it.

Point your MCP client at a database and ask questions in plain language. The client's LLM writes the SQL; this server parses it, refuses anything that is not a single read-only SELECT, executes it with a row cap, and returns structured results. Schema inspection, execution plans, index recommendations, and migration review come along with it.

MCP client LLM  ->  FastMCP tools  ->  safety layer  ->  SQLAlchemy  ->  database

(writes SQL) (7 tools) (rejects writes) (any dialect)

The server makes no LLM API calls of its own, so there is no API key to configure — reasoning happens in whichever client you connect. Works with SQLite, PostgreSQL, and MySQL through SQLAlchemy.

Tested and evaluated. 336 tests run on every push and pull request, plus 26 more against real PostgreSQL and MySQL in CI (Tests). In an agent evaluation, Claude completed 14 of 14 realistic database tasks through these tools with no failed tool calls, an average of 2 calls per task, and a mean independent judge score of 4.6 / 5 (Agent evals).

Why

Giving an assistant raw database credentials means one confused or prompt-injected turn can drop a table. Handing it a read-only replica loses schema context and plan analysis. This server takes the middle path: full introspection and query power, with mutation made structurally impossible at the parser level rather than by asking the model to behave.

Architecture

┌──────────────────────────────────────────────────────────────┐

│ MCP client (Claude Code / Claude Desktop / Inspector) │ │ owns the LLM: reads schema, authors SQL, interprets results │ └───────────────────────────┬──────────────────────────────────┘ │ MCP · stdio (local) │ · streamable HTTP + bearer token (remote) ┌───────────────────────────▼──────────────────────────────────┐ │ server.py — FastMCP instance + one engine per token group │ │ │ │ explore_schema execute_query explain_query │ │ validate_schema suggest_index migration_context │ │ validate_migration │ └──────┬───────────────────────┬───────────────────┬───────────┘ │ │ │ │ read path │ metadata path │ review path │ │ │ ┌──────▼────────────┐ ┌───────▼─────────┐ ┌──────▼──────────┐ │ safety.py │ │ inspector.py │ │ migration.py │ │ ── trust boundary │ │ schema_health.py│ │ parses up/down, │ │ sqlparse AST │ │ index_suggest.py│ │ never executes │ │ SELECT-only │ │ explain.py │ │ │ │ 1 stmt · no cmnts │ │ │ │ │ │ denylist · LIMIT │ │ │ │ │ └──────┬────────────┘ └───────┬─────────┘ └─────────────────┘ │ │ └───────────┬───────────┘ │ SQLAlchemy Core ┌──────────────────▼───────────────────────────────────────────┐ │ Target database · PostgreSQL / MySQL / SQLite │ └──────────────────────────────────────────────────────────────┘

The SQL arriving at safety.py is written by the client's model and therefore untrusted, so it is parsed rather than pattern-matched, and a rejected query never reaches the database.

ModeTransportAuth
Localstdionone needed; the client spawns the server
Remotestreamable HTTPbearer tokens, or OAuth at the platform edge on Prefect Horizon

Both modes run identical tool code — only MCP_TRANSPORT changes.

Quickstart

Requires Python 3.11+ and uv.

From PyPI

No clone needed. uvx downloads the package and runs it in its own environment:

claude mcp add db-explorer --env DATABASE_URL="postgresql+psycopg2://user:pass@localhost:5432/example" -- uvx db-explorer-mcp-server

Leave out --env to try it against the bundled demo database first. In any other client's config, use "command": "uvx" and "args": ["db-explorer-mcp-server"].

From source
git clone https://github.com/AYUSH-148/DB-Explorer-MCP

cd DB-Explorer-MCP uv sync uv run python seed_demo_db.py # creates sample.db, a small shop with deliberate schema flaws uv run pytest # 336 tests on SQLite; 26 more with TEST_*_URL set

On Windows, if uv is not on PATH, prefix with py -m (py -m uv sync).

You don't start the server yourself: your MCP client launches it over stdio, so go on to Connect a client. Run by hand, uv run server.py prints nothing and waits for a client on stdin; stop it with Ctrl+C.

The default database is sample.db. Point at your own with DATABASE_URL, either in the client config below or in a .env file copied from .env.example:

postgresql+psycopg2://user:password@localhost:5432/example

mysql+pymysql://user:password@localhost:3306/example sqlite:///C:/data/example.db

Percent-encode special characters in passwords (@ → %40, # → %23, / → %2F).

Connect a client

Claude Code — local
claude mcp add db-explorer --env DATABASE_URL="postgresql+psycopg2://user:pass@localhost:5432/example" -- uv --directory "C:/path/to/DB-Explorer-MCP" run server.py

Then run /mcp in a session to confirm the 7 tools are listed. Add -s user to make it available in every project.

Claude Code — remote
claude mcp add --transport http db-explorer https://your-deployment.fastmcp.app/mcp

Run /mcp → Authenticate for the OAuth flow; tokens are cached and refreshed automatically.

For a server you host yourself with a bearer token, send it as a header. Read it from an environment variable, so a .mcp.json committed for the team holds no secret:

{

"mcpServers": { "db-explorer": { "type": "http", "url": "https://dbx.example.com/mcp", "headers": { "Authorization": "Bearer ${DBX_TOKEN}" } } } }

Claude Desktop

Local, in claude_desktop_config.json:

{

"mcpServers": { "db-explorer": { "command": "uv", "args": ["--directory", "C:/path/to/DB-Explorer-MCP", "run", "server.py"], "env": { "DATABASE_URL": "postgresql+psycopg2://user:pass@localhost:5432/example" } } } }

To reach a remote deployment without a custom connector, proxy it over stdio:

{

"mcpServers": { "db-explorer": { "command": "npx", "args": ["-y", "mcp-remote", "https://your-deployment.fastmcp.app/mcp"] } } }

VS Code

.vscode/mcp.json is checked in and starts the server over stdio through the Windows py launcher. On macOS or Linux, change its command to uv and its args to ["run", "server.py"].

MCP Inspector
npx @modelcontextprotocol/inspector

Use transport Streamable HTTP with your /mcp URL, or stdio with uv run server.py. The Inspector shows raw tool responses and unparaphrased errors, which makes it the fastest way to tell a server problem from a client problem.

Python
import asyncio

from fastmcp import Client

async def main(): async with Client("https://your-deployment.fastmcp.app/mcp", auth="oauth") as client: print([tool.name for tool in await client.list_tools()]) print(await client.call_tool("explore_schema", {}))

asyncio.run(main())

Try it

Once connected to the demo sample.db from Quickstart, prompts like these work directly:

  • *"What tables exist, and which ones are missing primary keys?"*
  • *"Show me 5 rows from orders with the highest total."*
  • *"Why is this query slow? SELECT * FROM orders WHERE created_at >= '2026-01-01'"*
  • *"Which foreign keys in this database lack indexes? Give me the CREATE INDEX statements."*
  • *"Draft a migration adding a shipped_at column to orders, then validate the up and down scripts."*

To watch the guardrails work, ask it to run DELETE FROM users. The call fails with Unsafe query blocked: Only SELECT queries are allowed. Got: DELETE and the database is untouched.

Agent skill

skill/db-explorer/SKILL.md is an optional agent skill that teaches the model to use these tools well: read the schema once before querying, compute totals in SQL rather than from returned rows, say when a result is truncated, and follow error hints instead of retrying. It guides the model only; the server must still be connected.

For Claude Code, copy the skill/db-explorer folder to ~/.claude/skills/db-explorer/ for every project, or to .claude/skills/db-explorer/ inside one project.

Tools

ToolArgumentsReturns
explore_schematable_name?, include_sample_data=false, name_pattern?, detail=false, limit=200, offset=0The dialect to write SQL in, plus a listing of tables and views (each with a kind and column count), or one relation's kind, columns, PK, FKs, indexes, row count (tables only), and up to 3 sample rows. One relation, or a page with detail=true, also carries any table and column comment the database stores
execute_querysql, row_limit=100 (max 1000)columns, rows, count, truncated, and the effective row_limit for one validated SELECT; plus duplicate_columns and a note when a result repeats a column name (the repeats are labelled id:1, which is not valid SQL), and a note when rows were cut to stay under the size budget
explain_querysqlNative execution plan plus the resolved dialect
validate_schematable_name?, name_pattern?, limit=200, offset=0Schema issues with severity, code, message, suggestion; without table_name, one page of tables (views skipped), paged like explore_schema
suggest_indexquery? xor table_name?CREATE INDEX recommendations with reasons
migration_contextname_pattern?, limit=200, offset=0Dialect plus one page of columns, keys, and indexes (no row counts), for client-side migration drafting; pages like explore_schema
validate_migrationup_sql, down_sqlParsed statement types per script; rejects SELECT, comments and unbalanced parentheses. Not a syntax check, and never executed

validate_schema reports four codes: missing_primary_key, unindexed_foreign_key, wide_table (50+ columns), and no_indexes. A foreign key counts as indexed when any index, the primary key, or a unique constraint starts with its columns; partial, GIN/GiST/BRIN and FULLTEXT/SPATIAL indexes do not count.

explore_schema is cheap by default: with no arguments it returns table names and column counts. Row counts arrive only with table_name (tables only, capped at 100,000 with row_count_capped: true). Narrow a large schema with name_pattern (order matches any name containing it, order_* is a glob), page with limit/offset, and use detail=true for the colu

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx