Skip to content
Tool

execute_query

21 published MCP servers declare execute_query. DB Explorer, JDBC MCP Server, and InfluxDB 3 have the highest trust scores right now. Servers describe it as: Execute a SELECT, WITH, or EXPLAIN statement. Parameters: sql, params (array for ?) or namedParams (object for :name), optional paramTypes, limit, timeoutSeconds. The result is marked with truncated: true if the row limit is hit The order is the public trust score. Nobody can pay to move up the list. Open a server for its install config and the rest of its tools.

21 servers
Trust score 69 of 100, Good

Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 73/100 for listing completeness. Lost points: 6 of 7 tools barely described, short summary, no docs link.Maintenance: A. Last commit or release 26 days ago.
8 stars—/wk weekly downloads7 tools
Trust score 68 of 100, Good

Read-only SQL, plans, schema for AI agents: PostgreSQL, Oracle, SQL Server, Firebird, SQLite, JDBC

Registry
LicenseQualityMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: A. 95/100 for listing completeness. Lost points: 1 of 40 tools barely described, short summary.Maintenance: A. Last commit or release 9 days ago.
2 stars—/wk weekly downloads40 tools
Trust score 64 of 100, Good

InfluxDB 3

by influxdata · TypeScript

Official InfluxDB 3 MCP server: query, write and manage Core, Enterprise and Cloud databases.

Registry
LicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: C. 65/100 for listing completeness. Lost points: no README, short summary, no docs link.Maintenance: B. Last commit or release 5 days ago. Down one letter for 25 open issues against 39 stars.
39 stars220/wk weekly downloads27 tools
Trust score 59 of 100, Fair

PostgreSQL MCP server for schema, query, health, security, and performance analysis.

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 90/100 for listing completeness. Lost points: short summary, no docs link.Maintenance: C. Last commit or release 3 months ago.
9 stars—/wk weekly downloads19 tools
Trust score 54 of 100, Fair

Connect AI assistants to Rocket Universe/UniData MultiValue databases via MCP.

Registry
LicenseQualityMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: B. 80/100 for listing completeness. Lost points: 14 of 19 tools barely described, short summary.Maintenance: D. Last commit or release 9 months ago.
6 stars—/wk weekly downloads19 tools
Trust score 52 of 100, Fair

SQL Server MCP with RAG capabilities for macOS (Docker SQL Server support)

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 82/100 for listing completeness. Lost points: 5 of 12 tools barely described, short summary, no docs link.Maintenance: D. Last commit or release 7 months ago.
1 stars56/wk weekly downloads12 tools
Trust score 52 of 100, Fair

Query Spark SQL clusters via Thrift/HiveServer2. Works with Spark, EMR, Hive, Impala.

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 81/100 for listing completeness. Lost points: 1 of 4 tools barely described, short summary, no docs link.Maintenance: D. Last commit or release 8 months ago.
1 stars—/wk weekly downloads4 tools
Trust score 52 of 100, Fair

mcp-sqlite3

by daedalus · Python

MCP server exposing sqlite3 library functionality

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 66/100 for listing completeness. Lost points: short README, 5 of 7 tools barely described, short summary.Maintenance: D. Last commit or release 7 months ago.
1 stars—/wk weekly downloads7 tools
Trust score 51 of 100, Fair

MCP server exposing psycopg2 PostgreSQL database adapter functionality

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 70/100 for listing completeness. Lost points: short README, 27 of 35 tools barely described, short summary.Maintenance: D. Last commit or release 7 months ago.
0 stars13/wk weekly downloads35 tools
Trust score 51 of 100, Fair

MCP server for Microsoft SQL Server using mssql-python

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 69/100 for listing completeness. Lost points: short README, 15 of 19 tools barely described, short summary.Maintenance: D. Last commit or release 7 months ago.
0 stars34/wk weekly downloads19 tools
Trust score 51 of 100, Fair

postgres-scout-mcp

by bluwork · TypeScript

Scout your PostgreSQL databases with AI - safety features, monitoring, and data quality

Registry
LicenseQualityMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: A. 87/100 for listing completeness. Lost points: 6 of 36 tools barely described, short summary, no docs link.Maintenance: D. Last commit or release 8 months ago.
0 stars56/wk weekly downloads36 tools
Trust score 50 of 100, Fair

Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 77/100 for listing completeness. Lost points: short README, 1 of 20 tools barely described, short summary.Maintenance: B. Last commit or release 4 days ago. Down one letter for 24 open issues against 31 stars.
31 stars322/wk weekly downloads23 tools
Trust score 48 of 100, Fair

MCP server for Teradata Vantage — SQL execution and native analytics function reference for AI agents

LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 92/100 for listing completeness. Lost points: 1 of 7 tools barely described, short summary.Maintenance: A. Last commit or release 11 days ago.
11 stars45/wk weekly downloads7 tools
mcp-server-motherduck logo
Trust score 44 of 100, Fair

SQL analytics and data engineering for AI Assistants and IDEs

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 61/100 for listing completeness. Lost points: no README, 1 of 4 tools barely described, short summary.Maintenance: A. Last commit or release 17 days ago.
544 stars6.6K/wk weekly downloads4 tools
Prometheus MCP Server logo
Trust score 39 of 100, Limited

MCP server providing Prometheus metrics access and PromQL query execution for AI assistants

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 75/100 for listing completeness. Lost points: 6 of 6 tools barely described, short summary.Maintenance: A. Last commit or release 17 days ago.
526 stars—/wk weekly downloads6 tools
Trust score 39 of 100, Limited

mimer-mcp

by mimersql · Python

An MCP server with Mimer SQL Database Connectivity

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 90/100 for listing completeness. Lost points: short summary, no docs link.Maintenance: B. Last commit or release 57 days ago.
3 stars—/wk weekly downloads8 tools
Trust score 38 of 100, Limited

Mcp Sqlserver

by bilims · TypeScript

MCP server for Microsoft SQL Server

LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 85/100 for listing completeness. Lost points: short summary, no docs link.Maintenance: D. Last commit or release 8 months ago.
49 stars841/wk weekly downloads8 tools
Trust score 35 of 100, Limited

A Model Context Protocol (MCP) server that enables AI assistants to query and analyze Azure Data Explorer databases through standardized…

LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 75/100 for listing completeness. Lost points: 5 of 5 tools barely described, no docs link.Maintenance: D. Last commit or release 8 months ago.
59 stars108/wk weekly downloads5 tools
Trust score 34 of 100, Limited

mcp-turso-cloud

by spences10 · TypeScript

MCP server for integrating Turso with LLMs

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 71/100 for listing completeness. Lost points: 1 of 2 tools barely described, short summary, no docs link.Maintenance: A. Last commit or release 4 days ago.
18 stars105/wk weekly downloads2 tools
Trust score 32 of 100, Limited

mcp-neo4j-server

LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 76/100 for listing completeness. Lost points: short summary, no docs link.Maintenance: D. Last commit or release 8 months ago.
59 stars244/wk weekly downloads3 tools
Trust score 27 of 100, Limited

MCP server exposing MySQL database functionalities as tools

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 78/100 for listing completeness. Lost points: 18 of 21 tools barely described, short summary.Maintenance: D. Last commit or release 7 months ago.
0 stars—/wk weekly downloads21 tools

FAQ

What is the execute_query MCP tool?
execute_query is a tool name MCP servers declare. A description they publish is: Execute a SELECT, WITH, or EXPLAIN statement. Parameters: sql, params (array for ?) or namedParams (object for :name), optional paramTypes, limit, timeoutSeconds. The result is marked with truncated: true if the row limit is hit
Which MCP servers provide execute_query?
21 published servers declare execute_query. Highest in the current trust order: DB Explorer, JDBC MCP Server, and InfluxDB 3.
How do I use execute_query?
Install a server that declares execute_query, then call it from Claude, Cursor, or VS Code. Each server page has the config for that client and the other tools that server exposes.