Skip to content

MCP servers that can query databases

236 MCP servers have a tool that can query databases, out of 70,688 MCP servers listed. Popular ones include AgenticGeoMate, Cmp Inspector and Senzii Scheduling. Common tool names: execute_sql, run_query, execute_query. The list comes from each server's own tool names, so a server that does this under another name is not on it.
As of 27 November 2026: 26 answered our last check, 185 need no API key, 7 only read data.
  1. Free open-source database client and data modeler, with read-only AI access for coding

    Runs locally
    • Matches: run_query
    • 13 tools
    • Open source
    • Databases
  2. Run, debug and triage cloud browser and device tests from your editor in plain English

    Not checked yet
    • Matches: answerHyperExecuteQuery
    • 16 tools
    • Remote
    • Freemium
    • Developer tools
  3. Hosted BigQuery server: list datasets, read schemas and run Standard SQL

    Not checked yet
    • Matches: run_query
    • 5 tools
    • Remote
    • Free trial
    • Databases
  4. Hosting your AI operates itself: deploy static sites, Next.js and Postgres over MCP

    Not checked yet
    • Matches: db_query
    • 30 tools
    • Remote
    • Freemium
    • Cloud and infrastructure
  5. Remote MCP package of 12 pre- and post-execution security checks for autonomous agents

    Not checked yet
    • Matches: validate_sql_query_ast
    • 3 tools
    • Remote
    • Freemium
    • Security
  6. Read-only Apache NiFi, ClickHouse and Kafka access for assistants, with audit and masking

    Runs locally
    • Matches: clickhouse_query
    • 12 tools
    • Open source
    • Databases
  7. Estimate query cost and cap result size before an agent runs SQL on a warehouse

    Runs locally
    • Matches: run_query_bounded
    • 4 tools
    • Open source
    • Databases
  8. Paid, named Cypher queries over an intention graph, settled in Bitcoin Lightning

    Not checked yet
    • Matches: cypher_execute_query_by_key, cypher_create_query, cypher_update_query
    • 12 tools
    • Remote
    • Paid
    • Databases
  9. Argentine oil and gas production, wells, prices and trade data for AI agents

    Not checked yet
    • Matches: execute_sql
    • 1 tool
    • Remote
    • Free
    • Analytics and data
  10. Hosted SQL Server MCP server for schema exploration and T-SQL queries

    Not checked yet
    • Matches: run_query
    • 8 tools
    • Remote
    • Free trial
    • Databases
  11. Hosted MySQL MCP server for schema exploration, SQL and query analysis

    Not checked yet
    • Matches: run_query
    • 8 tools
    • Remote
    • Free trial
    • Databases
  12. Local-first personal health record: labs, meds, wearables and food log with safety checks

    Runs locally
    • Matches: sql_query
    • 4 tools
    • Open source
    • Health and science
  13. Read-only MCP server letting AI clients explore SAP SQL Anywhere 17 schemas and run

    Runs locally
    • Matches: execute_query
    • 30 tools
    • Open source
    • Databases
  14. Hosted PostgreSQL server for schemas, SQL, EXPLAIN plans and health checks

    Not checked yet
    • Matches: run_query
    • 8 tools
    • Remote
    • Free trial
    • Databases
  15. Read-only MCP server that lets AI assistants query SAP Business One data safely

    Runs locally
    • Matches: run_saved_query
    • 9 tools
    • Open source
    • Cloud and infrastructure
  16. Read-only graph tools for cross-bank money-laundering cases, with Cypher for each claim

    Not checked yet
    • Matches: run_readonly_cypher
    • 12 tools
    • Remote
    • Open source
    • Finance and payments
  17. Read-only-by-default MCP server for local or remote libSQL and Turso databases

    Runs locally
    • Matches: execute_sql
    • 2 tools
    • Open source
    • Databases
  18. MariaDB access for AI clients with read-only mode, row caps and timeouts

    Runs locally
    • Matches: execute_sql
    • 2 tools
    • Open source
    • Databases
  19. Safer MySQL access for AI clients, read-only by default with row and time limits

    Runs locally
    • Matches: execute_sql
    • 2 tools
    • Open source
    • Databases
  20. PostgreSQL MCP server that starts read-only, with row caps and statement timeouts

    Runs locally
    • Matches: execute_sql
    • 2 tools
    • Open source
    • Databases
  21. Read-only MCP server giving AI assistants access to approved hotel data via OAuth sign-in

    Not checked yet
    • Matches: query_sql
    • 2 tools
    • Remote
    • Hospitality operations
  22. Governed database access for agents: schemas, queries and text-to-SQL via DBHawk

    Runs locally
    • Matches: run_query
    • 15 tools
    • Open source
    • Databases
  23. SQLite MCP server for a local database file, read-only with row and time limits

    Runs locally
    • Matches: execute_sql
    • 2 tools
    • Open source
    • Databases
  24. Local Windows MCP server for SQL Server schema discovery, queries and plan comparison

    Runs locally
    • Matches: sql_execute_query, sql_explain_query
    • 3 tools
    • Open source
    • Databases
  25. Read-only SQL Server schema inspection and querying for AI assistants

    Runs locally
    • Matches: query_table
    • 21 tools
    • Open source
    • Databases
  26. Sourced economic statistics, filings, earnings calls and market data for AI agents

    Not checked yet
    • Matches: run_sql
    • 12 tools
    • Remote
    • Freemium
    • Analytics and data
  27. Read-only analytics on x402 agent payments and ERC-8004 agent identity, with SQL

    Not checked yet
    • Matches: run_sql
    • 7 tools
    • Remote
    • Freemium
    • Analytics and data
  28. Guardrail proxy that lets AI agents run SQL against SQL Server with blocking and audit

    Runs locally
    • Matches: execute_sql
    • 1 tool
    • Open source
    • Databases
  29. Query onchain app analytics, wallet profiles and funnels in plain language

    Not checked yet
    • Matches: execute_query
    • 12 tools
    • Remote
    • Analytics and data
  30. Remote MCP server giving AI clients access to Dune's onchain data, DuneSQL queries

    Not checked yet
    • Matches: createAndExecuteQuery, executeQueryById
    • 42 tools
    • Remote
    • Databases