TokenToSeaMCP Hub
中文 Console

DB Explorer

AYUSH-148

Read-only MCP server for PostgreSQL, MySQL & SQLite. Lets AI assistants (Claude, Cursor, VS Code) explore schemas, run safe SELECT queries, read EXPLAIN plans, get index suggestions, and review migrations. Writes are blocked by design.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add db-explorer --env DATABASE_URL='<DATABASE_URL>' -- uvx db-explorer-mcp-server

Environment variables

  • DATABASE_URL

Replace the placeholders with your own credentials and keep them out of version control.