Free MCP servers for databases (2026)
MCP servers for databases that you can use without paying: open-source projects plus tools with a free plan. Here are the top 25 of 42 from the AgentScout directory.
Quick answer: the top picks on this list, ranked by GitHub stars and listing maturity, are PrivateGPT, Chroma and Dbx, out of 25 tools listed below. At a glance: 25 open-source, 25 free or freemium and 25 local or self-hosted across 25 link-checked tools (last verified ).
Verified on : every tool link on this page was checked by our daily link check. No paid placements.
Ranked comparison (top 10)
| # | Tool | Pricing | Best for | Open source | Runs locally | GitHub stars |
|---|---|---|---|---|---|---|
| 1 | Open source | write code, build an agent | Yes | Offline | 57,620 | |
| 2 | Open source + cloud | research the web, give agents memory | Yes | Self-hosted | 29,609 | |
| 3 | Open source + cloud | control a computer, connect tools via MCP | Yes | Self-hosted | 28,251 | |
| 4 | Open source + cloud | data & analytics | Yes | Self-hosted | 21,938 | |
| 5 | Open source + cloud | data & analytics | Yes | Self-hosted | 18,020 | |
| 6 | Open source | connect tools via MCP | Yes | Self-hosted | 16,762 | |
| 7 | Open source | research the web, give agents memory | Yes | Self-hosted | 16,219 | |
| 8 | Open source + cloud | write code | Yes | Self-hosted | 13,268 | |
| 9 | Open source + cloud | research the web, give agents memory | Yes | Self-hosted | 11,816 | |
| 10 | Open source + cloud | automate workflows | Yes | Self-hosted | 10,420 |
Updated
How we picked and ranked: tools are matched by category, the pricing each maker states and what each tool says it does. They are ranked by GitHub stars as recorded on each listing (link checks 2026-11-15); tools without a tracked repo follow, by listing maturity. No paid placements.

1. PrivateGPT
PrivateGPT is an Apache-2.0 API layer that turns local models into private AI applications: it speaks a Claude-style messages API and adds file ingestion, retrieval with citations and agentic RAG, built-in tools (web search, web fetch, code execution), custom tools, MCP connectors and structured access such as text-to-SQL. It does not run models itself; it connects to any OpenAI-compatible inference server (Ollama, llama.cpp, vLLM and others) and ships a workbench UI at /ui for testing.
Pricing (as stated): Free and open source (Apache-2.0). The same team also offers the commercial on-premise Zylon platform (no price listed in this update). · Mature

2. Chroma
Open-source search and vector database widely used for agent memory and RAG.
Pricing (as stated): Open source + cloud · Mature

3. Dbx
25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker.
Pricing (as stated): Open-source (Apache-2.0); see site for any hosted plans · Mature

4. Teable
AI spreadsheet and database for business with built-in agents.
Pricing (as stated): Open source + cloud · Mature

5. WrenAI
Generative BI for agents: governed text-to-SQL with a semantic context layer.
Pricing (as stated): Open source + cloud · Mature

6. MCP Toolbox for Databases
Open-source MCP server from Google for connecting agents to databases.
Pricing (as stated): Open source · Mature

7. Zvec
Zvec is Alibaba's open-source, in-process vector database that embeds directly in your application for low-latency similarity search in RAG and agent memory, with HNSW, IVF and DiskANN indexes, quantisation, full-text search and builds for Linux, macOS, Windows, Android and iOS.
Pricing (as stated): Open source · Mature

8. InsForge
Open-source backend platform that gives coding agents a database, auth and storage.
Pricing (as stated): Open source + cloud · Mature

9. LanceDB
Open-source multimodal vector database for search, RAG and agent memory.
Pricing (as stated): Open source + cloud · Mature

10. Electric
Sync engine and agent platform that keeps data in sync between Postgres, apps and agents in real time.
Pricing (as stated): Open source + cloud · Mature

11. Activeloop
Deep Lake, a multimodal database for AI that stores vectors, images, text and video so agents and RAG apps can search and retrieve them.
Pricing (as stated): Open source + cloud · Mature

12. DBHub
Database MCP server for Postgres, MySQL, SQL Server and others from Bytebase.
Pricing (as stated): Open source · Active

13. Postgres MCP Pro
Postgres MCP server with index tuning, explain plans, health checks and safe SQL execution for agents.
Pricing (as stated): Free and open source (MIT) · Active

14. seekdb
AI-native search database for agent storage combining vector, text and structured data.
Pricing (as stated): Open source · Active

15. Butterbase
Open-source backend-as-a-service. Postgres, auth, storage, functions, AI gateway, MCP
Pricing (as stated): Open source · Active

16. Supabase MCP
Supabase's MCP server for managing databases, migrations and projects.
Pricing (as stated): Open source · Active

17. Carbon
Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server.
Pricing (as stated): Open source + cloud · Active

18. stack-diagram
stack-diagram is an MIT-licensed agent skill that turns one sentence describing your stack into an architecture diagram with the official logos of each service, for example Next.js and Hono on Vercel with Postgres on Neon, Clerk and Stripe. It installs with npx skills add for Claude Code, Codex, Cursor and other skill-aware agents, or as a zip in the Claude apps.
Pricing (as stated): Open source · Active

19. Proton
The Fastest Unified Streaming SQL Engine in a Single C++ Binary. Millisecond latency.
Pricing (as stated): Open source + cloud · Active

20. pg-aiguide
Timescale's MCP server with PostgreSQL docs and best practices for agents.
Pricing (as stated): Open source · Active

21. Helix Foundry
Connects Postgres, MySQL, S3, Stripe, GitHub, Linear and uploaded documents, lets an agent draft an ontology you review and version, then loads it into HelixDB as one graph you can explore and query with answers.
Pricing (as stated): Open source + cloud · Active

22. Qdrant MCP Server
Official Qdrant MCP server that lets agents store and retrieve memories and documents in the Qdrant vector database.
Pricing (as stated): Open source · Active

23. Mysql MCP Server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Pricing (as stated): Open source + cloud · Active

24. MongoDB MCP Server
MongoDB's official MCP server for querying databases and managing Atlas.
Pricing (as stated): Open source · Active

25. Dockit
Dockit is an open-source agent project that helps builders handle agentic desktop GUI client for Elasticsearch, OpenSearch, DynamoDB, MongoDB & EasySearch.
Pricing (as stated): Open source · Active
FAQ
What are the best free MCP servers for databases?
Ranked by tracked GitHub stars, the top free MCP servers for databases in our directory are PrivateGPT, Chroma, Dbx, Teable, WrenAI. Stars measure popularity, not fit, so compare a few against your own task.
How many free MCP servers for databases does AgentScout list?
42 tools match. This page shows the top 25. Pricing mix on this page: Open source (13), Open source + cloud (12).
Are these tools really free?
Pricing is what each maker states on their site. Open-source tools are free to self-host but may need a paid model API key or offer paid cloud plans; freemium tools have a free plan with limits. Check each official site.
Where can I see every tool for working with databases?
Our task page lists all 52 tools we match to working with databases.
Related
- All tools for working with databases
- MCP servers (19)
- memory & RAG (7)
- data & analytics (4)
- frameworks (4)
By role: For data analysts · For data engineers
Best-of lists
Related categories
Facts come from our directory listings; pricing is as each maker states it and can change. Check official sites before you choose.