MCP Servers / database / MCP DB Analyzer

MCP DB Analyzer

JSON →
httpnone1database

Multi-database analysis MCP server (PostgreSQL, MySQL, SQLite). Inspects schemas, detects index problems, analyzes table bloat, and explains query plans for actionable database optimization.

Install
How to run this server
[ { "cmd": "npx mcp-db-analyzer", "imports": [] } ]
server path: mcp-db-analyzer
Tools
What this server exposes
analyze_table
Analyze a database table and return its schema, row count, and sample data
run_query
Execute a SQL query against the database and return results
list_tables
List all tables in the database
get_table_schema
Get detailed schema information for a specific table
Configuration
Environment & auth
authnone
envDATABASE_URL
envSTRIPE_SECRET_KEY
envMYSQL_HOST
envMYSQL_PORT
Resources
MCP DB Analyzer — MCP Server · libregistry