
AIMarket Oracle Gateway
io.github.alexar76Published by GitHub account alexar76v0.3.2Updated Oct 30, 2026
Stdio MCP: 17 verifiable AIMarket oracles, 35 pay-per-call tools for AI agents.
The publisher's own server: Domain availability and quotes (demo)
Overview
Local stdio MCP server exposing 35 pay-per-call oracle tools (randomness, VDF delay, reputation, routing, spectral and more) plus a free discovery tool.
- What you can do
- List available oracle capabilities and their prices with a free discovery tool
- Request randomness, beacons, draws and quasirandom or blue-noise sequences, and verify them
- Compute and verify delay (VDF), time-lock seal/open, and compute-cost audits
- Score reputation and agent trust, aggregate consensus values, and verify results
- Solve and verify routing, optimization, cascade-risk and network-resilience analyses
- Compute topology, transport and spectral quantities (homology, Kantorovich, Fourier spectrum)
- When to use it
- Useful when an assistant needs verifiable, externally produced values — signed randomness, delay proofs, reputation scores, routing or risk analyses — and the user is willing to pay per call through an AIMarket Hub or a direct oracle endpoint.
- Requirements
- Runs locally as a Python package (pip install aimarket-oracle-gateway) over stdio. Needs AIMARKET_HUB_URL or AIMARKET_ORACLE_URL set, otherwise it fails closed. Optional: AIMARKET_SOURCE_HUB, AIMARKET_API_TOKEN, AIMARKET_PAYMENT_CHANNEL and AIMARKET_PAYMENT_CHANNEL_SECRET, plus spend caps AIMARKET_MAX_PER_CALL_USD, AIMARKET_MAX_SPEND_USD and AIMARKET_PRICE_TOLERANCE. Network access to the hub or oracle.
Installation
In SourceWeft
- Open AIMarket Oracle Gateway in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit 4ed452d
Tools
0Version history
3- v0.3.2LatestOct 29, 2026
- v0.3.1Oct 21, 2026
- v0.2.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Modelmarket integrations

Domain availability and quotes (demo)
dev.modelmarketOfficial publisher
Domain availability and quotes (demo)'s hosted MCP server, published by modelmarket.dev; no sign-in required; Streamable HTTP; 1 tool.

Live weather and air quality (GAIA)
dev.modelmarketOfficial publisher
Live weather and air quality (GAIA)'s hosted MCP server, published by modelmarket.dev; no sign-in required; Streamable HTTP; 3 tools.

MCP security checks — WARDEN and HISTOR
dev.modelmarketOfficial publisher
Remote MCP server that scans MCP tool definitions for poisoning, looks up a server's tool-set history, estimates tool-list token cost, and checks x402 USDC…

EMPORION — business facts from public registers
dev.modelmarketOfficial publisher
Remote MCP server that answers business-verification questions from public registers: EU VAT and EORI validity, sanctions screening, company and LEI records…

HISTOR — MCP tool-definition transparency log
Published by GitHub account alexar76
Queries HISTOR, a public signed transparency log of MCP tool definitions, so an assistant can check, diff and trace the tool sets servers advertise.