Best AI agents for working with databases (2026)
Database MCP servers, vector stores and text-to-SQL tools that let agents query, manage and store data in Postgres, MySQL, MongoDB and more. We list 56 tools for working with databases below, each with a link-checked page, pricing as the maker states it and alternatives.
Updated
56 tools: 43 open source, 3 free or freemium, 2 paid, usage-based or enterprise, 8 pricing on the maker's site.
pgbot
pgbot is a read-only health check for Postgres. One program connects, reads the database's own statistics, and prints what it found and what changed since last time. The site presents it for people and for agents. It does not write to the database, and it does not require a separate hosted service. An agent connection is part of the project. The LICENSE file in the repository is the Apache License 2.0. GitHub recorded 1,527 stars and 76 forks on 4 Dec 2026. No dollar price was listed.
Added
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.
Added
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.
Added
Chroma
Open-source search and vector database widely used for agent memory and RAG.
Added
Teable
AI spreadsheet and database for business with built-in agents.
Added
WrenAI
Generative BI for agents: governed text-to-SQL with a semantic context layer.
Added
MCP Toolbox for Databases
Open-source MCP server from Google for connecting agents to databases.
Added
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.
Added
Nightingale
Nightingale is a self-hosted alerting engine for the monitoring stack a team already runs. It evaluates alert rules across Prometheus, VictoriaMetrics, Elasticsearch, Loki, ClickHouse and PostgreSQL, then routes events onward. The project site says the same install includes a built-in AI agent, an MCP server and an A2A endpoint. You host it yourself, and the site says there is no vendor lock-in. A release was published on 27 Nov 2026. GitHub recorded Apache-2.0, 13,541 stars and 1,807 forks on 2 Dec 2026.
Added
InsForge
Open-source backend platform that gives coding agents a database, auth and storage.
Added
LanceDB
Open-source multimodal vector database for search, RAG and agent memory.
Added
Electric
Sync engine and agent platform that keeps data in sync between Postgres, apps and agents in real time.
Added
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.
Added
Yearning
Yearning is an AGPL-licensed, self-hosted platform for governing database changes and SQL review on MySQL, PostgreSQL, TiDB, OceanBase and PolarDB. Every change gets an AI precheck before submission (designed not to leak data to the model), frozen multi-stage approvals, online DDL through gh-ost, rollback across engines, governed ad-hoc queries and SQL performance diagnostics. It ships as a Go and React app with Docker images, in English and Chinese.
Added
Dossier
Dossier is an AGPL-3.0, self-hosted job-search app that keeps your career history in one profile and, for each posting, shows how you match and drafts a tailored resume and cover letter using only facts from your profile. You refine them in chat, download PDFs and track applications from draft to offer. It uses a model of your choice, including local ones through Ollama or LM Studio, and stores data in your own PostgreSQL or SQLite.
Added
DBHub
Database MCP server for Postgres, MySQL, SQL Server and others from Bytebase.
Added
Postgres MCP Pro
Postgres MCP server with index tuning, explain plans, health checks and safe SQL execution for agents.
Added
seekdb
AI-native search database for agent storage combining vector, text and structured data.
Added
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.
Added
Butterbase
Open-source backend-as-a-service. Postgres, auth, storage, functions, AI gateway, MCP
Added
Supabase MCP
Supabase's MCP server for managing databases, migrations and projects.
Added
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.
Added
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.
Added
Proton
The Fastest Unified Streaming SQL Engine in a Single C++ Binary. Millisecond latency.
Added
agentes.chat
agentes.chat is an AGPL-3.0, self-hosted Slack alternative where your team and AI agents share channels and DMs. Agents join with a role, an owner and a budget, think with Claude, ChatGPT/Codex, Gemini, Grok or any OpenRouter model, use MCP tools, get their own computer and browser, run routines, keep memory and ask before sensitive actions. It has web, desktop and phone apps, self-hosts with Docker Compose and Postgres, and also runs as a hosted cloud.
Added
pg-aiguide
Timescale's MCP server with PostgreSQL docs and best practices for agents.
Added
Qdrant MCP Server
Official Qdrant MCP server that lets agents store and retrieve memories and documents in the Qdrant vector database.
Added
Mysql MCP Server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Added
MongoDB MCP Server
MongoDB's official MCP server for querying databases and managing Atlas.
Added
Dockit
Dockit is an open-source agent project that helps builders handle agentic desktop GUI client for Elasticsearch, OpenSearch, DynamoDB, MongoDB & EasySearch.
Added
StackQL
SQL engine with an MCP server for querying and provisioning cloud resources.
Added
ClickHouse MCP
Official ClickHouse MCP server for querying and exploring ClickHouse databases.
Added
PGX
Lightweight Postgres-compatible database written in Rust that gives every coding agent its own disposable Postgres: one runtime hosts thousands of isolated databases, installs as a Claude Code plugin or Agent Skill.
Added
Cayu
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.
Added
Neon MCP
Neon's official MCP server for managing Postgres projects, branches and queries.
Added
phpMyFAQ
phpMyFAQ is an MCP server that gives agents a way to handle FAQ web application for PHP 8.4+ and MySQL, PostgreSQL and other databases.
Added
PerformanceMonitor
PerformanceMonitor is an MCP server that gives agents a way to handle free, open-source SQL Server and Postgres performance monitoring.
Added
Redd Archiver
Redd Archiver is an MCP server that gives agents a way to handle postgreSQL-backed archive generator that creates browsable HTML archives from link aggregator platforms.
Added
Datastoria
Datastoria is an open-source agent project that helps builders handle AI-native ClickHouse console for your cluster diagnostics and query generation, optimization.
Added
Chmonitor
Chmonitor is an open-source agent project that helps builders handle operational advisor for ClickHouse — real-time monitoring plus AI-driven index/partition/materialized-view recommendations.
Added
Airbroke
Airbroke is an MCP server that gives agents a way to handle lightweight, Airbrake/Sentry-compatible, PostgreSQL-based Open Source Error Catcher.
Added
Haymon Database MCP
Single-binary open source MCP server that connects Claude, Cursor, VS Code and other MCP clients to MySQL, MariaDB, PostgreSQL and SQLite, with built-in PII redaction and write prevention.
Added
HutchDB
HutchDB is a shared Postgres workspace for teams and their AI agents, with table, kanban, calendar, timeline and gallery views. Its remote MCP server (app.hutchdb.com/api/mcp, OAuth 2.1) lets Claude, ChatGPT, Codex, Cursor and VS Code read and write the same data people see; the core is AGPL open source.
Added
Aiven MCP
Aiven MCP is an Apache-2.0 server for the Aiven cloud data platform. The README says an assistant can manage PostgreSQL, Apache Kafka, applications and other Aiven services, and that the same account permissions apply, including create and delete. The hosted server can take a read-only flag that drops write tools. A release published 20 Nov 2026 adds application build visibility and release management. GitHub Aiven-Open/mcp-aiven showed 28 stars and 23 forks on 27 Nov 2026.
Added
Midplane
YC-backed MCP gateway between AI assistants and Postgres that checks every SQL statement against your policy, blocks unfiltered writes, masks sensitive fields, asks for human approval and logs everything inside your network.
Added
PlanetScale MCP
PlanetScale's MCP server for databases, branches, schemas and query insights.
Added
AskYourDatabase
Chat-with-your-database tool that answers natural-language questions over Postgres, MySQL, BigQuery, Snowflake and more with SQL and charts.
Added
Clawhard Dev Tools
Exact checks for developers: email DNS, Supabase RLS, cron, JSON, contrast, time zones, robots.txt
Added
Deadbolt
Check Supabase SQL for who can read and write each table: RLS gaps, open policies, grants, fix SQL.
Added
Fogpipe Cloud
Run apps, managed Postgres, buckets, a registry and domains on a European cloud.
Added
Helipod
Helipod is an MCP server agents call to run your cloud: deploy apps, read logs, manage VPS, Postgres, domains, email.
Added
HostingFor.AI
Publish and manage websites on HostingFor.AI: files, DNS, MySQL, SSL and site checks.
Added
Jam SQL Studio
Lets AI agents query SQL Server, PostgreSQL, MySQL, Oracle and SQLite via the Jam SQL Studio app.
Added
MedicineData MCP
Chinese pharma database MCP: 21 tools for drugs, targets, trials, deals, patents, sales.
Added
Rivtor
Deploy full-stack apps (frontend, backend, Postgres, Redis) from your agent and get live URLs.
Added
Vectoree
Vectoree gives coding agents a backend behind one project key: an OpenAI-compatible model gateway across providers, an MCP tool hub, auth, Postgres and storage, driven by a skill and CLI, pay-as-you-go with no monthly fee.
Added
GitHub repos (48)
| Repo | GitHub stars | Licence | Last push |
|---|---|---|---|
| 57,669 | Apache License 2.0 | 2026-11-26 | |
| 32,212 | Apache-2.0 | 2026-12-02 | |
| 29,820 | Apache License 2.0 | 2026-11-28 | |
| 22,048 | AGPL-3.0 for the core apps; MIT for the packages directory | 2026-12-02 | |
| 18,463 | Apache-2.0 for code; CC BY 4.0 for docs | 2026-12-02 | |
| 17,037 | Apache License 2.0 | 2026-12-02 | |
| 16,316 | Apache License 2.0 | 2026-12-02 | |
| 13,541 | Apache-2.0 | 2026-11-30 | |
| 13,380 | Apache License 2.0 | 2026-11-20 | |
| 12,027 | Apache License 2.0 | 2026-12-02 | |
| 10,445 | Apache License 2.0 | 2026-10-06 | |
| 9,277 | Apache License 2.0 | 2026-05-21 | |
| 8,986 | — | 2026-11-27 | |
| 5,602 | — | 2026-11-23 | |
| 4,043 | MIT | 2026-12-02 |
Top 15 of 48 by stars. Stars and licence come from each repo, checked when the listing was last verified.
Browse these categories
Related tasks
Popular with
Related searches
Tools are matched to tasks by category, use cases and what each tool says it does. Missing one? Submit it free.