Skip to content

AI tools, MCP servers and agent skills for SQL

59 MCP servers, 23 agent skills and 1 AI tool for SQL in databases, including tidb, SQL queries and Dummy dataset, most popular first. 54 of the 83 are listed as free or open source. Each one is written up from its own site or README, with pricing, platforms and alternatives.

Showing 1–29 of 29

  1. Distributed SQL database with vector search and transactions for AI workloads

    • Open source
    • Open-source agent
    • 40.7K GitHub stars
    • Knowledge and memory
  2. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  3. Open source database MCP server with prebuilt tools and a framework for custom ones

    Not checked yet
    • 2 tools
    • Remote
    • Open source
    • Databases
  4. BigQuery MCP

    MCP server

    Read-only BigQuery access for agents with a per-query byte limit

    Runs locally
    • 4 tools
    • Open source
    • Databases
  5. Toolbelt

    MCP server

    One MCP endpoint to query SQL, vector, graph and geospatial data, built by Kinetica

    • Remote
    • Freemium
    • Knowledge and memory
  6. MCP wrapper that holds database writes until a second person approves them on their phone

    Runs locally
    • Open source
    • Databases
  7. Read-only Trino access for agents, run as the verified user so Trino policy decides

    Runs locally
    • 3 tools
    • Open source
    • Databases
  8. Generates a MariaDB MCP server from only the tables, routines and statements you pick

    Not checked yet
    • 5 tools
    • Remote
    • Paid
    • Databases
  9. IBM Db2 for i

    MCP server

    Read-only SQL and schema inspection for IBM Db2 for i, with allowlists and audit log

    Runs locally
    • 1 tool
    • Open source
    • Databases
  10. GeoLens

    MCP server

    Read-only agent access to a self-hosted GeoLens spatial catalog, maps and SQL

    Runs locally
    • 9 tools
    • Open source
    • Databases
  11. RisingWave

    MCP server

    Query and manage a RisingWave streaming database from an agent over SQL tools

    Runs locally
    • 15 tools
    • Open source
    • Databases
  12. dbprint

    MCP server

    Gives coding agents a repo-committed snapshot of a database's schema, values and joins

    Runs locally
    • Open source
    • Databases
  13. Cosmos Semantic

    MCP server

    Governed metrics, rules and a glossary for agents to query instead of guessing SQL

    Runs locally
    • Open source
    • Analytics and data
  14. Mcpg

    MCP server

    PostgreSQL MCP server with 279 tools for queries, tuning and ops, read-only by default

    Runs locally
    • Open source
    • Databases
  15. dbt-plan

    MCP server

    Predicts the DDL a dbt change will run before you run it, from compiled SQL files

    Runs locally
    • Open source
    • Databases
  16. QueryDesk

    MCP server

    Give AI agents governed SQL access to production databases with masking and approvals

    Not checked yet
    • Remote
    • Freemium
    • Databases
  17. Alephgrid

    MCP server

    Let agents read Alephgrid workbooks with read-only SQL and verifiable result receipts

    Not checked yet
    • 15 tools
    • Remote
    • Open source
    • Analytics and data
  18. Pipetable

    MCP server

    Local MCP server that lets agents run DuckDB SQL on CSV, Excel, Parquet and JSON files

    Runs locally
    • 4 tools
    • Open source
    • Files and documents
  19. Mycorr

    MCP server

    Shared, versioned tables with column meanings that AI agents read over MCP

    Not checked yet
    • Remote
    • Freemium
    • Databases
  20. Read-only guarded SQL access to eight database engines for AI agents

    Runs locally
    • 11 tools
    • Open source
    • Databases
  21. Query and manage Apache Pinot clusters with typed tools and preview-first changes

    Runs locally
    • 14 tools
    • Open source
    • Databases
  22. Faucet

    MCP server

    Single-binary Go gateway that exposes SQL databases as a REST API and MCP tools

    Not checked yet
    • Remote
    • Open source
    • Databases
  23. WoWSQL

    MCP server

    Hosted MCP server for managing WoWSQL Postgres projects, SQL, docs and storage over OAuth

    Not checked yet
    • Remote
    • Freemium
    • Databases
  24. Pg Readonly MCP

    MCP server

    Read-only Postgres access for agents that parses SQL and refuses write-capable roles

    Runs locally
    • Open source
    • Databases
  25. nuthatch

    MCP server

    Index an EVM contract's history into a local SQL database your AI client can query

    Runs locally
    • Open source
    • Databases
  26. AgentSQL

    MCP server

    Guard agents' PostgreSQL and MySQL access with SQL audit, masking and write approval

    Not checked yet
    • Remote
    • Open source
    • Databases
  27. Read-only Postgres access with four enforcement layers and a shared business-context file

    Runs locally
    • 4 tools
    • Open source
    • Databases