Skip to content
mcp/skillhub

Oracle3 MCP Server

by yichengyang-ethanio.github.YichengYang-Ethan/oracle3v1.2.2

Kalshi and Polymarket data, venue fees, no-arbitrage checks and paper execution for AI agents.

474Pythonstdioofficial registry

context tax

~4,399 tok/turn13 tools

security

100/100

cold start

7492 ms

freshness

Active32d ago

Our reading of Oracle3, from the data

Oracle3 is an MCP server from yichengyang-ethan, listed in the official MCP Registry.

Its 13 tools add about 4,399 tokens to every model turn (measured 2026-10-23).

Maintenance is active: the last public signal was 32 days ago (2026-10-12).

It runs locally on your machine over stdio.

Install Oracle3 MCP server

Install in Claude Code

claude mcp add oracle3 -- uvx oracle3 mcp

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test pypi:oracle3

Configuration

VariableRequiredSecretDescription
ORACLE3_MCP_LEDGER——Path of the local paper-trading ledger (default ~/.oracle3/mcp_paper_ledger.json)

Context tax

Connecting this server adds ~4,399 tokens of tool definitions to every model turn (moderate, 13 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$17.60$0.880
Claude Sonnet 5.5$8.80$0.880
Claude Haiku 5.5$0.440—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (13)

  • check_constraint830 tok

    Check offline whether prices you supply violate a no-arbitrage relation, and price the cheapest exploiting basket after fees. A pure calculation with no network calls: use it for hypothetical or historical prices, and use check_constraint_live to fetch current quotes instead. Returns violated, profitable_after_fees, the best basket (legs, cost, guaranteed payoff, fees, gross and net edge), every candidate basket, any missing quotes, and the assumptions behind the check (full fills at the quoted prices, a correctly specified relation).

  • check_constraint_live511 tok

    Fetch live quotes and fee schedules for related markets, then check whether their prices violate a no-arbitrage relation after fees. This is the main research call: find related contracts with search_markets, confirm with get_market that their resolution rules really satisfy the relation, then pass them here. Read-only: it calls the venues' public APIs and places no orders. Returns the check_constraint result (violated, profitable_after_fees, best basket with net edge) plus the quotes it used; to simulate the trade, call paper_order for each leg of the best basket.

  • trading_fee473 tok

    Compute the venue fee for one fill at a given price and size; a pure calculation with no network calls. Kalshi charges round_up(0.07 x M x C x P x (1 - P)) on taker fills, and 0.0175 x M x C x P x (1 - P) on maker fills where the series has maker fees; Polymarket charges takers rate x C x p x (1 - p) and makers nothing. Use it to price a single leg or a hypothetical fill; take a live market's fee terms from get_quote, and use check_constraint to price a whole basket. Returns fee, fee_per_contract, order_type and the schedule used.

  • paper_order385 tok

    Simulate buying YES or NO contracts in the local paper ledger, filling against the live order book with venue fees. Never sends an order to a venue. Walks the displayed asks from the best price up to limit_price and charges the venue fee on each level. Use it to test the legs of a basket found by check_constraint_live. Writes ~/.oracle3/mcp_paper_ledger.json (or the path in ORACLE3_MCP_LEDGER); only buys are supported and positions are held at cost. Returns status (filled, partially_filled, unfilled, or rejected when paper cash is short), requested and filled contracts

  • search_markets319 tok

    Search open Kalshi or Polymarket markets and return candidates with their best prices. Start here to find market ids, then call get_quote or get_orderbook for live prices, or get_market for resolution details. Reads the venues' public APIs, so no account or API key is needed; Kalshi keyword search scans up to 1,000 open events. Returns {venue, query, count, markets}; each market has market_id, title, best bid and ask in dollars, volume and closing date.

  • get_orderbook275 tok

    Get the displayed order book for YES and NO as [price, size] levels, best first. Prices are dollars per contract and sizes are contracts. Use it to see how much of a basket can fill near the quoted price before paper_order; use get_quote when only the top of book matters. Kalshi publishes bids only, so each side's asks are derived from the other side's bids (a YES ask of p is a NO bid of 1 - p). Public data, no API key.

  • get_quote257 tok

    Get the best bid and ask on YES and NO, in dollars, plus the market's fee schedule. Use it to collect prices for check_constraint, or to read the fee terms (Kalshi multiplier and maker fees, Polymarket taker rate) that trading_fee takes. check_constraint_live fetches quotes itself, so this is not needed before calling it. A missing ask is derived from the opposite side's bid. Returns {venue, market_id, title, yes_bid, yes_ask, no_bid, no_ask, fee_schedule}. Public data, no API key.

  • list_relations257 tok

    List the market relations saved on this machine by the oracle3 research CLI, optionally filtered. Reads ~/.oracle3/relations.json with no network calls. Use it to reuse pairs already discovered or validated offline, then pass a pair to check_constraint_live. For the abstract relation kinds and their bounds, call list_relation_types instead. Returns the store path, a count and the matching relations (markets, type, status and validation details); the list is empty if the CLI has saved none.

  • fair_value249 tok

    Convert a market price into the probability it implies under the Wang transform, and report the premium. Solves p_mkt = Phi(Phi^-1(p) + lam) for p; a pure calculation with no network calls. Use it to strip the favourite-longshot premium from a quoted price before comparing it with your own forecast. The default lam = 0.183 is the pooled estimate in Yang (2026), SSRN 6468338; it pools real-money and play-money venues, so treat it as illustrative. Returns market_price, lambda, implied_probability and premium (price minus implied probability).

  • get_market232 tok

    Get one market's details: title, best bid and ask, volume and closing date. Kalshi results include the resolution rules (rules_primary, rules_secondary); Polymarket results include the outcomes, token ids, neg-risk flag and the market's fee schedule. Read the rules of every leg here before trusting a relation in check_constraint_live. For prices plus fee terms only, use get_quote; for depth, use get_orderbook. Public data, no API key.

  • paper_portfolio135 tok

    Show the local paper ledger: cash, open positions and the number of fills. Reads ~/.oracle3/mcp_paper_ledger.json (or ORACLE3_MCP_LEDGER) with no network calls. Use it after paper_order to confirm fills and remaining cash. Starting cash is $10,000; positions are carried at cost, and the ledger does not mark to market or track resolution. Returns the ledger path, initial_cash, cash, positions and fills.

  • paper_reset121 tok

    Erase the local paper ledger and restore the $10,000 starting cash. Deletes all paper positions and fill history; no venue is contacted and real accounts are never touched. Without confirm=true it returns status not_reset and changes nothing. Use it to start a fresh paper-trading session.

  • list_relation_types119 tok

    List the relation types the constraint checks support and the probability bound each enforces. Static reference data with no network or file access, for example implication: P(A) <= P(B). Use it to choose the relation argument of check_constraint or check_constraint_live; to see concrete market pairs saved on this machine, use list_relations instead. Returns {relations: {name: bound}}.

Security signals

100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

No findings from the checks that ran.

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 32d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-12 · 32d ago · GitHub

  2. Latest release

    2026-09-30 · 43d ago · GitHub · v1.2.2

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-09-30 · 43d ago · official registry · v1.2.2

FAQ

›How do I install the Oracle3 MCP server in Claude Code?

Run: claude mcp add oracle3 -- uvx oracle3 mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Oracle3 require an API key?

No required environment variables are declared in its published metadata.

›Can I use Oracle3 as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Oracle3 in the official MCP registry?

Yes, as io.github.YichengYang-Ethan/oracle3.

›How many tokens does Oracle3 add to my context?

Its tool definitions total about 4,399 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-09-30
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.