22 MCP servers for database
Database MCP servers let your AI assistant query, manage, and analyze data across SQL and NoSQL databases. Instead of manually writing queries or switching between a database client and your editor, you can ask questions in plain English and get results instantly. These servers handle connection pooling, schema inspection, and safe query execution so your data stays protected.
Whether you're running PostgreSQL in production, prototyping with SQLite, or working with document stores like MongoDB, there's an MCP server that gives your AI direct access. Most database servers support read-only modes by default, so you can explore schemas and run analytical queries without risking accidental writes.
These are particularly useful for data analysis workflows, debugging production issues, and rapid prototyping. Connect a database server, ask your AI to inspect the schema, then iterate on queries conversationally until you get exactly the data you need.
by MindsDB
Connect AI to 200+ data sources through MindsDB. Query databases, APIs, and SaaS platforms with natural language.
pip install mindsdbby Anthropic
Query and manage PostgreSQL databases. Read schemas, run queries, and analyze data through natural language with read-only safety.
npx -y @modelcontextprotocol/server-postgresby Anthropic
Interact with SQLite databases. Run queries, create tables, manage schemas, and analyze local database files.
npx -y @modelcontextprotocol/server-sqliteby Anthropic
Interact with Redis databases. Get, set, and manage keys, run commands, and work with data structures.
npx -y @modelcontextprotocol/server-redisby julien040
Query any data source with SQL. Turn APIs, files, databases, and SaaS tools into virtual SQL tables you can join and filter.
brew install julien040/anyquery/anyqueryby Supabase
Interact with Supabase projects. Manage databases, auth, storage, edge functions, and real-time subscriptions.
npx -y @supabase/mcp-server-supabaseby MongoDB
Official MongoDB MCP server. Query collections, manage databases, inspect schemas, and run aggregation pipelines.
npx -y mongodb-mcp-serverby Neon
Manage Neon serverless Postgres. Create branches, run queries, manage databases, and control autoscaling.
npx -y @neondatabase/mcp-server-neonby ClickHouse
Query and manage ClickHouse analytical databases. Run SQL, inspect table schemas, and explore columnar data at scale.
pip install mcp-clickhouseby Turso
Interact with Turso/libSQL databases. Run queries, manage schemas, and work with edge-replicated SQLite databases.
npx -y @tursodatabase/mcp-server-tursoby benborla
Connect to MySQL databases. Run queries, inspect schemas, manage tables, and analyze data with natural language.
npx -y @benborla29/mcp-server-mysqlby LucasHild
Query Google BigQuery data warehouses. Run SQL, explore datasets, and analyze petabyte-scale data through AI.
npx -y mcp-server-bigqueryby Aiven
Manage Aiven cloud data services including Kafka, PostgreSQL, Redis, and OpenSearch from a single MCP interface.
pip install mcp-aivenby Couchbase
Interact with Couchbase databases. Run N1QL queries, manage buckets, and work with document-oriented data.
npx -y mcp-server-couchbaseby Xexr
Connect to libSQL databases with full read/write access. Works with local files and remote Turso-compatible databases.
npx -y mcp-libsqlby Dataring-engineering
Query data across multiple sources with Trino. Run distributed SQL across data lakes, warehouses, and databases.
npx -y mcp-server-trinoby amineelkouhen
Connect to CockroachDB distributed SQL databases. Run queries, inspect schemas, and manage globally distributed data.
pip install mcp-cockroachdbby GreptimeTeam
Interact with GreptimeDB time-series databases. Query metrics, explore schemas, and analyze time-series data with SQL.
pip install greptimedb-mcp-serverby alexander-zuev
Supabase MCP server with SQL query execution and database exploration tools. Browse schemas, run queries, and inspect tables in your Supabase projects.
npx -y @alexanderzuev/supabase-mcp-serverby bram2w
Baserow open-source database integration for AI assistants. Search tables, list records, and perform full CRUD operations on your Baserow databases.
npx -y @bram2w/baserowby joshuarileydev
Manage Supabase projects and organisations from AI assistants. Create new projects, configure settings, and administer your Supabase infrastructure.
npx -y @joshuarileydev/supabase-mcp-serverby planetscale
PlanetScale database access through the PlanetScale CLI's built-in MCP server. Query databases, manage branches, and deploy schema changes with AI assistance.
npx -y @planetscale/cli