DBHub
3.8k stars · Costs not checked · TypeScript
One small server for Postgres, MySQL, MariaDB, SQL Server, Oracle and SQLite, with only two tools by default to keep context lean, and read-only mode, row limits and query timeouts built in.
The shortlist
An MCP server is the standard way to let an agent inspect schemas and run queries against a real database. The choice is mostly about which databases you run and how much the server should do beyond querying.
Documentation-based starting points, not hands-on benchmarks. Check each option's fit, setup and costs below. Compare them with the same worksheet.
3.8k stars · Costs not checked · TypeScript
One small server for Postgres, MySQL, MariaDB, SQL Server, Oracle and SQLite, with only two tools by default to keep context lean, and read-only mode, row limits and query timeouts built in.
3.4k stars · Costs not checked · Python
For Postgres it goes beyond queries: database health checks, index tuning across candidate indexes and EXPLAIN plans with hypothetical indexes, with restricted and unrestricted access modes.
17k stars · Costs not checked · Go
Google's open-source server covers a long list of databases, from Postgres and BigQuery to Spanner, with prebuilt tools for exploration and a framework for governed custom tools once agents move to production.
Start read-only and against a copy. A model with write access can run a statement you did not intend, so use DBHub's read-only mode or Postgres MCP Pro's restricted mode, point the server at a replica or development database, and never hand it credentials that can drop tables. If your data lives in Supabase or MongoDB, both vendors publish their own MCP servers, listed in the index.
Check the linked product sources, supported languages, regional availability, permissions and current costs for your actual setup.
Google Analytics helps us understand visits. It stays off unless you allow it. Your choice is remembered for up to 180 days. Privacy policy