
AIMarket Oracle Gateway
io.github.alexar76由 GitHub 帳號 alexar76 發布v0.3.2更新於 Oct 30, 2026
Stdio MCP: 17 verifiable AIMarket oracles, 35 pay-per-call tools for AI agents.
概覽
本機 stdio MCP 伺服器,提供 35 個按次計費的 oracle 工具(隨機性、VDF 延遲、信譽、路由、頻譜等)以及一個免費的能力探索工具。
- 可以做什麼
- 用免費探索工具列出可用的 oracle 能力與價格
- 取得隨機數、信標、抽籤以及準隨機或藍雜訊序列,並加以驗證
- 計算並驗證延遲(VDF)、時間鎖封存/開啟以及算力成本稽核
- 計算信譽與代理信任分數、彙總共識數值並驗證結果
- 求解並驗證路由、最佳化、級聯風險與網路韌性分析
- 計算拓撲、運輸與頻譜量(同調、Kantorovich、傅立葉頻譜)
- 適用情境
- 當助理需要可驗證的外部計算結果——簽章隨機數、延遲證明、信譽分數、路由或風險分析——且使用者願意透過 AIMarket Hub 或直連 oracle 端點按次付費時適用。
- 執行需求
- 以 Python 套件形式在本機執行(pip install aimarket-oracle-gateway),使用 stdio 傳輸。必須設定 AIMARKET_HUB_URL 或 AIMARKET_ORACLE_URL,否則會直接失敗。選用:AIMARKET_SOURCE_HUB、AIMARKET_API_TOKEN、AIMARKET_PAYMENT_CHANNEL 與 AIMARKET_PAYMENT_CHANNEL_SECRET,以及支出上限 AIMARKET_MAX_PER_CALL_USD、AIMARKET_MAX_SPEND_USD 和 AIMARKET_PRICE_TOLERANCE。需要連線至 Hub 或 oracle 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AIMarket Oracle Gateway,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
aimarket-oracle-gateway — MCP server
[CI] [aimarket-oracle-gateway MCP server] [Test coverage] [License: MIT]
🔄 Synced from the AI-Factory monorepo (append-only history). Pull requests are welcome — merged PRs are imported back and re-synced here. Issues · Pull requests
One MCP server. Seventeen oracle families. Pay-per-call.
Transport: stdio (aimarket_oracle_gateway/stdio_server.py). Built with the official
Model Context Protocol Python SDK (mcp, FastMCP).
Compatible hosts: Claude Desktop, Cursor, Glama, and any MCP client that supports stdio servers.
A passthrough MCP server — the discovery + consumption storefront for the entire oracle-as-a-service specs. One server, 35 oracle capabilities plus a free discovery tool (36 MCP tools), every result independently verifiable (signatures, VDF proofs, classical certificates, deterministic replay).
Tools (35 capabilities plus discovery)
Subscription tiers (optional Hub bundles)
High-volume tools also advertise monthly bundles in list_oracle_capabilities:
Pay-per-call remains the default; bundles are Hub-side packaging.
Configure (env)
If neither URL is set the server fails closed with a clear message.
Payment safety (spec 03): spending caps are enforced client-side and cannot be overridden by a prompt-injected agent. See docs/specs/03-mcp-payment-and-security.md.
Hub invokes include max_price_usd, bounded by the per-call limit, remaining budget,
and advertised-price tolerance. A supporting Hub checks this ceiling before work or
payment. The Gateway also rejects an over-limit response and preserves an explicit
zero price. Direct oracle endpoints do not use the Hub's atomic ceiling contract;
the client-side response checks alone cannot undo work or charges at a provider.
Run
Install the published server:
Set AIMARKET_HUB_URL and, for a federated result, AIMARKET_SOURCE_HUB as above,
then run aimarket-oracle-gateway. For a source checkout instead:
Claude Desktop (mcpServers entry):
Test MCP startup locally
From this package directory, in an environment with the package's runtime and dev
dependencies installed:
The startup regression launches the real stdio server in a separate process, completes
initialize and all tools/list pages, and checks the full catalogue, reported version
and constrained schemas. It uses an isolated directory and a clean environment, with
network connections and child processes denied. It does not invoke oracle tools or require
API credentials. Process lifetime and cleanup are bounded.
Release 0.3.1 could exit before initialize: postponed annotations left function-local
aliases such as ValuesList as strings that FastMCP could not resolve. Release 0.3.2
evaluates annotations in mcp_tool_surface.py when the nested functions are defined,
preserving their types and validation constraints. Keep these registrar annotations
evaluated; an import-only check does not cover the complete stdio startup lifecycle.
Release 0.3.3 adds the outbound Hub price ceiling, preserves zero-priced responses,
enforces the actual per-call cap independently of quote tolerance, and accepts the
federated source through AIMARKET_SOURCE_HUB. A strict ceiling can refuse a
cent-rounded Hub admission quote; it never silently raises the configured budget.
Direct oracle providers do not implement this Hub ceiling contract.
Publish on Glama
Listing: glama.ai/mcp/servers/alexar76/aimarket-oracle-gateway
Verifiability
- Platon — Ed25519 signature over
(random_hex ‖ proof) - Chronos — Wesolowski VDF proof, cheap
verify_vdf - LUMEN — re-derive PageRank from committed graph
- Murmuration — deterministic re-aggregation from input values
- Landauer — bit-for-bit erasure count from ops DAG +
circuit_commitment - Fermat — dual certificate
T(v)checked in O(E) - Ablation — sandpile replay, order-independent
topple_total+tau - Lattice / Turing — deterministic from
(count, dim, skip)/seed - Colony — admissible
lower_bound+gapcertificate - Percola — recomputable percolation sweep +
f_c - Sortes — ECVRF 80-byte proof, verifiable offline by anyone (RFC 9381)
- Gauss — deterministic replay of GP posterior + Expected-Improvement suggestion
- Aestus — RSW time-lock puzzle re-derivable; modulus factorization burned each seal
- Betti — recomputable Vietoris-Rips persistence diagram + bottleneck distance
- Kantor — Kantorovich dual potentials checked in O(m*n) without re-solving
- Fourier — recomputable Laplacian spectrum + Fiedler value
lambda-2
Tests
來源:README.md,提交 4ed452d
工具
0版本歷史
3- v0.3.2最新Oct 29, 2026
- v0.3.1Oct 21, 2026
- v0.2.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Modelmarket 整合

Domain availability and quotes (demo)
dev.modelmarket官方發布者
Domain availability and quotes (demo) 的託管 MCP 服務,由 modelmarket.dev 發布;無需登入;Streamable HTTP;1 個工具。

Live weather and air quality (GAIA)
dev.modelmarket官方發布者
隨時隨地取得天氣、空氣質量和最近的即時感測器資料,每項均附有簽名回執。免費,無需金鑰。AI 翻譯

MCP security checks — WARDEN and HISTOR
dev.modelmarket官方發布者
遠端 MCP 端點,可掃描 MCP 工具定義是否遭投毒、查詢伺服器的公開工具集歷史,並估算工具清單的 token 開銷。

EMPORION — business facts from public registers
dev.modelmarket官方發布者
遠端 MCP 伺服器,依公開登記資料回答商業查核問題:歐盟加值稅號與 EORI 有效性、制裁名單篩查、公司與 LEI 紀錄、歐洲央行匯率、營業日及網域註冊資訊。

HISTOR — MCP tool-definition transparency log
由 GitHub 帳號 alexar76 發布
查詢 HISTOR 這個公開且附簽章的 MCP 工具定義透明日誌,讓助理核對、比對並追溯各伺服器所宣告的工具集。