
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 工具定义透明日志,让助手核对、比对并追溯各服务器所声明的工具集。