技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
andyWang1688/sql-query-mcp

andyWang1688/sql-query-mcp

Work with PostgreSQL
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add sql-query-mcp -- npx -y sql-query-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
7 ★ · andyWang1688/sql-query-mcp · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 7 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 andyWang1688/sql-query-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

sql-query-mcp

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

中文版
A general-purpose MCP server that lets AI work with multiple databases within
clear boundaries.
Current database support
| Database | Status | Current availability |
| --- | --- | --- |
| PostgreSQL | Supported | Available today |
| MySQL | Supported | Available today |
| Hive | Supported | Available today |
| SQLite | Candidate | Not supported yet |
| SQL Server | Candidate | Not supported yet |
| ClickHouse | Candidate | Not supported yet |
Product value
sql-query-mcp helps AI clients discover schema, sample data, and analyze
read-only queries through one controlled MCP interface.
It keeps connection handling, namespace rules, SQL validation, and audit
logging on the server side, so you can expose useful database context to AI
without exposing raw connection strings or flattening engine-specific concepts.
What AI can do with it
The current tool set focuses on database discovery, controlled query workflows,
asynchronous read-only queries, batched query result exports, and one narrow
local file import path. You can use it to help an AI assistant understand
structure before it generates SQL, runs a bounded query, starts a long-running
read-only query, exports PostgreSQL or MySQL results to a local file, or imports
a prepared CSV/XLSX file into an existing table.
MySQL and Hive support explain_query. Hive uses EXPLAIN and
EXPLAIN ANALYZE for explain_query.
| Tool | PostgreSQL | MySQL | Hive | Purpose |
| --- | --- | --- | --- | --- |
| list_connections() | Yes | Yes | Yes | List configured connections |
| list_schemas(connection_id) | Yes | No | No | List visible PostgreSQL schemas |
| list_databases(connection_id) | No | Yes | Yes | List visible MySQL or Hive databases |
| list_tables(connection_id, schema?, database?) | Yes | Yes | Yes | List tables and views |
| describe_table(connection_id, table_name, schema?, database?) | Yes | Yes | Yes | Inspect columns, keys, and indexes |
| run_select(connection_id, sql, limit?) | Yes | Yes | Yes | Run short bounded read-only queries |
| start_query(connection_id, sql, limit?) | Yes | Yes | Yes | Start long-running read-only queries |
| get_query(query_id, offset?, limit?) | Yes | Yes | Yes | Fetch async query status and paginated results |
| cancel_query(query_id) | Yes | Yes | Yes | Cancel running async queries |
| explain_query(connection_id, sql, analyze?) | Yes | Yes | Yes | Inspect query plans |
| get_table_sample(connection_id, table_name, schema?, database?, limit?) | Yes | Yes | Yes | Fetch small table samples |
| export_query_file(connection_id, sql, output_path, format?, limit?, export_all?, file_name?, overwrite?) | Yes | Yes | No | Export query results to local CSV/XLSX files |
| import_table_file(connection_id, table_name, file_path, schema?, database?, sheet_name?) | Yes | Yes | Yes | Import local CSV/XLSX files |
These tools are useful for tasks such as listing namespaces, inspecting table
definitions, reviewing indexes, sampling records, running short read-only
queries with run_select, running long read-only queries with start_query,
get_query, and cancel_query, analyzing read-only queries with EXPLAIN, and
exporting PostgreSQL or MySQL query results to local CSV/XLSX files. You can
also import prepared local files. For full request and response details, see
docs/api-reference.md (Chinese).
How boundaries are constrained
The product boundary is intentionally narrow today. PostgreSQL, MySQL, and Hive
are available today. Query tools remain read-only, PostgreSQL and MySQL query
results can be exported to local files, and the only database write path is a
来源
awesome · https://github.com/andyWang1688/sql-query-mcp
按领域浏览
MCP 服务
Traction
7 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引