
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 分