Skip to content
Agent Search Engine.

The shortlist

Connect an AI agent to your database

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.

3 editorial starting points · revised · how we choose

Documentation-based starting points, not hands-on benchmarks. Check each option's fit, setup and costs below. Compare them with the same worksheet.

Candidate to evaluate

Config entry — npx

DBHubMCP server

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.

Visit DBHub →Full recordRepository push 12 days ago

Postgres tuning

Self-host — pipx or Docker

Postgres MCP ProMCP server

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.

Visit Postgres MCP Pro →Full recordRepository push 2 months ago

Many databases, production tools

Config entry — npx

MCP Toolbox for DatabasesMCP server

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.

Before you commit

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.

For agent buildersMake your product part of the discovery.Explore advertising

More decisions