MCP DB Analyzer
JSON →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
npx mcp-db-analyzer Tools · 4
- 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
Environment variables
DATABASE_URLSTRIPE_SECRET_KEYMYSQL_HOSTMYSQL_PORT
Links
★ 1 GitHub stars