Connects Claude to PostgreSQL, MySQL, and ClickHouse databases with read-only access enforced at multiple levels. Exposes tools for listing schemas and tables, describing columns and indexes, profiling data with statistical analysis, and running SELECT queries with automatic result limits. Includes SSH tunnel support for reaching databases behind firewalls. The server automatically detects database types from connection strings, handles JDBC URL conversion, and strips unsafe parameters while preserving performance tuning options. Reach for this when you want Claude to explore table structures, generate distribution statistics, or help write queries against production databases without risking writes.
claude mcp add --transport stdio yugui923-db-connect-mcp -- uvx db-connect-mcp