
Microquery Mcp
io.github.microqueryhq由 GitHub 账号 microqueryhq 发布v1.0.3更新于 Oct 24, 2026
SQL over real-world data — FDA, SEC, blockchain, genomics, CVEs, and more. No config.
概览
让助手对 FDA、SEC、区块链、基因组学、CVE 等真实世界数据集执行 SQL 查询,无需配置。
- 可以做什么
- 对托管的公开数据集执行 SQL 查询并返回实际记录
- 列出可用数据集及其字段结构
- 获取 Sneller SQL 说明与多数据集示例配方
- 手动注册账号或关联钱包地址
- 适用场景
- 适合需要让助手基于公开数据集回答研究性问题(药品安全、监管申报、临床试验、基因组学、加密货币、漏洞等),又不想自建数据库或自己写 SQL 的场景。
- 运行要求
- 以本地 Python 包运行(Python 3.9+,仅用标准库),通过 uvx 启动(需另行安装 uv),或让宿主直接指向脚本。支持 Claude Desktop、Cursor 等 MCP 宿主,仅限桌面端。无需 API 密钥或配置:首次查询时自动注册账号,密钥保存在本地令牌文件中。
安装
在 SourceWeft 中
- 打开 控制台中的 Microquery Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
microquery-mcp
MCP server for Microquery — ask research questions about real-world data and get actual database records back. Works in Claude Desktop, Cursor, or any MCP-compatible AI host. Claude handles the SQL; you just ask the question.
No wallet required. Auto-registers on first query and runs on $0.10 trial credit (~1,600 typical queries).
See also
microquery-agent — autonomous agent for pipelines and cron jobs: register → deposit USDC → query → auto top-up. Use this if you want to run microquery unattended without an AI host.
Prerequisites
- Python 3.9+
- No third-party packages — stdlib only
Installation
Claude Desktop (recommended)
The easiest paths, in order of friction:
1. Registry install Find microquery in the Claude Desktop MCP marketplace or on smithery.ai and click Install. No config editing needed.
2. uvx install Add one entry to
~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
uvx requires uv to be installed separately
(astral.sh/uv). Once installed, Claude Desktop will pick
it up automatically.
3. Manual install (developers) Download microquery_mcp.py from this repo
and point your host at it:
Restart Claude Desktop after editing. The server appears in Settings → Developer with a green dot when connected.
Other MCP hosts (Cursor, etc.)
Use the same command / args pattern above. Consult your host's MCP
documentation for the exact config format.
Tools
How it works
- On the first
query()call the server registers an account using your OS username (getpass.getuser()) viaPOST /v1/registerand stores the API key in~/.microquery/token. - Subsequent calls use the stored key — no configuration needed.
- The new account starts with 100,000 µUSDC ($0.10) trial credit, covering roughly 1,600 typical queries.
- When trial credit runs low the server automatically tops up the account (up to 10 times, $2 each). Once the free allowance is exhausted a checkout URL is returned — visit it to add USDC and continue querying.
Available datasets
FDA adverse events · SEC EDGAR · clinical trials · ClinVar · arXiv · PubMed ·
Ethereum · Bitcoin · Base · DeFi TVL · FEC contributions · FRED economic series
· NVD/CVE · OSV advisories · sanctions · FHFA house prices · GWAS · ClinPGx ·
malware samples · open food facts · world bank commodities · and more — call
list_databases() for the full live schema.
Example
来源:README.md,提交 aab3b7d
工具
0版本历史
1- v1.0.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分