AgentScout / Popular lists / Open-source MCP servers for databases

Open-source MCP servers for databases (2026)

MCP servers for databases with public source code you can read, self-host and extend. Here are the top 25 of 29 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)

#ToolPricingBest forOpen sourceRuns locallyGitHub stars
1PrivateGPTOpen sourcebuild an agent, connect tools via MCPYesSelf-hosted57,620
2ChromaOpen source + cloudresearch the web, give agents memoryYesSelf-hosted29,609
3DbxOpen source + cloudcontrol a computer, connect tools via MCPYesSelf-hosted28,251
4TeableOpen source + clouddata & analyticsYesSelf-hosted21,938
5WrenAIOpen source + clouddata & analyticsYesSelf-hosted18,020
6MCP Toolbox for DatabasesOpen sourceconnect tools via MCPYesSelf-hosted16,762
7InsForgeOpen source + cloudwrite codeYesSelf-hosted13,268
8LanceDBOpen source + cloudresearch the web, give agents memoryYesSelf-hosted11,816
9ElectricOpen source + cloudautomate workflowsYesSelf-hosted10,420
10ActiveloopOpen source + cloudresearch the web, automate workflowsYesSelf-hosted9,263

Updated

29 matching tools29 open source29 free or with a free tierMost starred: PrivateGPT (★ 57,620)

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-01); tools without a tracked repo follow, by listing maturity. No paid placements.

  1. PrivateGPT logo

    1. PrivateGPT

    frameworksOpen source★ 57,620 GitHub stars

    Open-source API layer that turns local models into private AI applications, with RAG, tools, skills, MCP and text-to-SQL on any OpenAI-compatible server.

    Pricing (as stated): Open source · Mature

  2. Chroma logo

    2. Chroma

    memory & RAGOpen source + cloud★ 29,609 GitHub stars

    Open-source search and vector database widely used for agent memory and RAG.

    Pricing (as stated): Open source + cloud · Mature

  3. Dbx logo

    3. Dbx

    MCP serversOpen source + cloud★ 28,251 GitHub stars

    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 + cloud · Mature

  4. Teable logo

    4. Teable

    data & analyticsOpen source + cloud★ 21,938 GitHub stars

    AI spreadsheet and database for business with built-in agents.

    Pricing (as stated): Open source + cloud · Mature

  5. WrenAI logo

    5. WrenAI

    data & analyticsOpen source + cloud★ 18,020 GitHub stars

    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 logo

    6. MCP Toolbox for Databases

    MCP serversOpen source★ 16,762 GitHub stars

    Open-source MCP server from Google for connecting agents to databases.

    Pricing (as stated): Open source · Mature

  7. InsForge logo

    7. InsForge

    app buildersOpen source + cloud★ 13,268 GitHub stars

    Open-source backend platform that gives coding agents a database, auth and storage.

    Pricing (as stated): Open source + cloud · Mature

  8. LanceDB logo

    8. LanceDB

    memory & RAGOpen source + cloud★ 11,816 GitHub stars

    Open-source multimodal vector database for search, RAG and agent memory.

    Pricing (as stated): Open source + cloud · Mature

  9. Electric logo

    9. Electric

    agent infraOpen source + cloud★ 10,420 GitHub stars

    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

  10. Activeloop logo

    10. Activeloop

    memory & RAGOpen source + cloud★ 9,263 GitHub stars

    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

  11. DBHub logo

    11. DBHub

    data & analyticsOpen source★ 3,758 GitHub stars

    Database MCP server for Postgres, MySQL, SQL Server and others from Bytebase.

    Pricing (as stated): Open source · Active

  12. Postgres MCP Pro logo

    12. Postgres MCP Pro

    data & analyticsOpen source★ 3,445 GitHub stars

    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

  13. seekdb logo

    13. seekdb

    memory & RAGOpen source★ 3,208 GitHub stars

    AI-native search database for agent storage combining vector, text and structured data.

    Pricing (as stated): Open source · Active

  14. Butterbase logo

    14. Butterbase

    agent infraOpen source★ 3,031 GitHub stars

    Open-source backend-as-a-service. Postgres, auth, storage, functions, AI gateway, MCP

    Pricing (as stated): Open source · Active

  15. Supabase MCP logo

    15. Supabase MCP

    MCP serversOpen source★ 2,983 GitHub stars

    Supabase's MCP server for managing databases, migrations and projects.

    Pricing (as stated): Open source · Active

  16. Carbon logo

    16. Carbon

    MCP serversOpen source + cloud★ 2,783 GitHub stars

    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

  17. Proton logo

    17. Proton

    evals & observabilityOpen source + cloud★ 2,277 GitHub stars

    The Fastest Unified Streaming SQL Engine in a Single C++ Binary. Millisecond latency.

    Pricing (as stated): Open source + cloud · Active

  18. pg-aiguide logo

    18. pg-aiguide

    MCP serversOpen source★ 1,878 GitHub stars

    Timescale's MCP server with PostgreSQL docs and best practices for agents.

    Pricing (as stated): Open source · Active

  19. Helix Foundry logo

    19. Helix Foundry

    memory & RAGOpen source + cloud★ 1,845 GitHub stars

    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

  20. Qdrant MCP Server logo

    20. Qdrant MCP Server

    memory & RAGOpen source★ 1,562 GitHub stars

    Official Qdrant MCP server that lets agents store and retrieve memories and documents in the Qdrant vector database.

    Pricing (as stated): Open source · Active

  21. Mysql MCP Server logo

    21. Mysql MCP Server

    MCP serversOpen source + cloud★ 1,404 GitHub stars

    A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases

    Pricing (as stated): Open source + cloud · Active

  22. MongoDB MCP Server logo

    22. MongoDB MCP Server

    MCP serversOpen source★ 1,153 GitHub stars

    MongoDB's official MCP server for querying databases and managing Atlas.

    Pricing (as stated): Open source · Active

  23. StackQL logo

    23. StackQL

    MCP serversOpen source★ 1,074 GitHub stars

    SQL engine with an MCP server for querying and provisioning cloud resources.

    Pricing (as stated): Open source · Active

  24. Cayu logo

    24. Cayu

    frameworksOpen source★ 961 GitHub stars

    Cayu is an open-source Python framework for building and running domain-specific, long-horizon agents on a durable runtime. Sessions survive restarts and redeploys from SQLite or Postgres stores, tool policies can require human approval before side effects, spend caps are checked before each model call, and timers, background tasks, subagents and forks cover longer multi-agent work. It is Apache 2.0 licensed.

    Pricing (as stated): Open source · Active

  25. ClickHouse MCP logo

    25. ClickHouse MCP

    MCP serversOpen source★ 899 GitHub stars

    Official ClickHouse MCP server for querying and exploring ClickHouse databases.

    Pricing (as stated): Open source · Active

FAQ

What are the best open-source MCP servers for databases?

Ranked by tracked GitHub stars, the top open-source 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 open-source MCP servers for databases does AgentScout list?

29 tools match. This page shows the top 25. Pricing mix on this page: Open source (13), Open source + cloud (12).

How much do these tools cost?

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 35 tools we match to working with databases.

Related: All tools for working with databases · MCP servers (11) · memory & RAG (6) · data & analytics (4) · agent infra (2)

By role: For data analysts · For data engineers

All popular searches · AI agents by role · Free tools

Best-of lists: OpenViking alternatives · All best lists

Related categories: MCP servers · Memory & RAG · Data & analytics

Facts come from our directory listings; pricing is as each maker states it and can change. Check official sites before you choose.

AgentScout Weekly + Free 50 AI Agents & 50 MCP Servers Cheat Sheets

Get the 5 best new AI agent tools, copy-paste MCP workflows, and our high-res 50 AI Agents & 50 MCP Servers Cheat Sheet Pack free every Tuesday — plus daily founder stack teardowns on X from @clampdown19 & @AgentScoutHQ.