Skip to content
MCP server
Registry

Oracle3 prediction-market arbitrage checks MCP Server

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

Oracle3 prediction-market arbitrage checks scores 72 (Good), licensed Apache-2.0 and written in Python. It installs as a local process. It does not declare tools yet. Filed under AI and memory, Finance. GitHub shows 573 stars. Package registries report about 55 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by yichengyang-ethanApache-2.0Python573 stars
Trust score
72Good
Trust score 72 of 100, Good

Good trust

72 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 72 comes from

22 + 20 + 9 + 10 + 4 + 7 = 72. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity9 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 9 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "yichengyang-ethan-oracle3-prediction-market-agent": {      "command": "uvx",      "args": [        "oracle3"      ],      "env": {        "ORACLE3_MCP_LEDGER": ""      }    }  }}

Environment variables

NameRequiredNotes
ORACLE3_MCP_LEDGEROptionalPath of the local paper-trading ledger (default ~/.oracle3/mcp_paper_ledger.json)

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Oracle3

Build prediction-market agents that discover markets, analyze opportunities, and test strategies.

Connect AI agents to Kalshi and Polymarket through MCP. Give them reusable Skills for market research and strategy development, then build on a Python engine for paper and live execution.

14 MCP tools · 6 agent Skills · Kalshi & Polymarket data · Python 3.10+

Tests GitHub stars PyPI License DOI

Quickstart · MCP tools · Agent Skills · Project and contributions · Documentation

Why Oracle3

  • A connected research workflow. Discover contracts, inspect their rules and order books, compare related outcomes, and track simulated positions.
  • Calculations that include trading costs. Five relationship checks return candidate baskets, per-leg fees, and calculated net edge.
  • Tools and workflows for agents. Use MCP for structured access and Skills for repeatable research, strategy authoring, and operations.
  • An engine you can extend. Build strategies with Python interfaces, risk controls, and paper/live venue adapters.
  • A foundation for experiments. Reproducible software checks, automated tests, and installed-package validation make the implementation inspectable.

Public Kalshi and Polymarket market reads need no exchange credentials. MCP provides market data, calculations, and a local paper ledger; real-order execution uses the separate CLI/Python engine.

Quickstart

Install the current development checkout:

git clone https://github.com/YichengYang-Ethan/oracle3-prediction-market-agent.git
cd oracle3-prediction-market-agent
python -m venv .venv
.venv/bin/python -m pip install -e .

Connect it to Claude Code from this directory:

claude mcp add oracle3 -- "$PWD/.venv/bin/oracle3-mcp"

For other MCP clients, configure the absolute path to .venv/bin/oracle3-mcp as the command with an empty argument list. On Windows, use .venv\Scripts\python.exe and .venv\Scripts\oracle3-mcp.exe.

Client configuration and first tool call · Published-package installation

Give your agent a first task

Find Kalshi and Polymarket contracts about the next Fed rate decision. Compare their outcome definitions, resolution rules, and order-book quotes. Summarize the markets with their IDs, prices, and the assumptions needed to compare them.

For a calculation that works offline after installation:

Use Oracle3 to check an implication: A implies B. A has a YES bid of $0.60 and B has a YES ask of $0.55. Use the default Kalshi taker fee schedule and 100 contracts per leg. Show the basket, gross edge, fees, and net edge.

The synthetic example returns $5.00 gross edge − $3.4125 fees = $1.5875 calculated net edge, conditional on the supplied implication and quotes. See exact inputs and output.

What agents can do

TaskToolsResult
Discover marketssearch_markets, get_marketContracts, metadata, and available resolution rules
Inspect market conditionsget_quote, get_orderbookPrices, fee information, and displayed depth
Analyze related contractscheck_constraint, check_constraint_liveBaskets and net edge under a stated relationship
Calculate fees and model valuestrading_fee, fair_valueFee estimates and parameterized model outputs
Get a calibrated probabilitymodel_probabilityA machine-learning probability next to the market price, with the model's out-of-sample scores (how it was built and tested)
Try a paper entrypaper_order, paper_portfolioSimulated fills and holdings in a local ledger

Relationship checks cover implication, exclusivity, complement, same event, and event sum. They expose assumptions with their results, giving agents and researchers a common calculation layer.

All 14 MCP tools · Workflow examples

Reusable agent Skills

The repository includes six workflows that help agents move from individual tool calls to complete tasks:

SkillUse it to
Data discoveryFind markets and organize research inputs
Constraint arbitrageExamine related contracts and calculate fee-aware baskets
Quant strategy authoringDevelop strategies with Oracle3's Python interfaces
Agent strategy authoringBuild agent-driven decision workflows
Paper operationsRun and inspect simulated trading sessions
Live operationsConfigure and operate the separate live engine

Claude Code project copies are included in .claude/skills/. Open the checkout as your project, or use your client's supported Skill installation mechanism. Skill setup.

For AI agents: start with llms.txt for task routing, the MCP reference for tool schemas, and AGENTS.md for contributing code.

Build with Python and the CLI

Use the same project for research scripts, agent strategies, and engine operations:

.venv/bin/oracle3 market search --exchange kalshi --query "fed" --json
.venv/bin/oracle3 market search --exchange polymarket --query "fed decision" --json
ComponentBuild with it
MCP serverStructured market access and local paper operations for agents
Relations and feesShared calculations for related-contract strategies
StrategiesLogical-relation, statistical, and model-driven approaches
Trading enginePaper/live adapters for Kalshi, Polymarket, and Solana via DFlow
PricingWang-transform models and estimators for research
oracle3-extrasOptional venue, data-provider, and wallet integrations

CLI guide · Integration guide · Execution reference · Wang MLE tutorial

Built for experimentation

Oracle3 combines a concrete decision environment with structured tools, observable state, and a software validation harness. This supports work on agent interfaces, workflow guidance, and reproducible evaluation.

CI runs automated tests and checks the built package through real MCP sessions on SDK 1.x and 2.x. The harness documentation explains the reproducible checks. Model-level agent evaluation is a next research direction.

Project overview and Yicheng Yang's contributions · Fee-frontier study · Companion pricing research

Contribute

Help build better agent workflows, labeled evaluation tasks, strategy examples, and client integrations. New venue, data-provider, and wallet integrations start in oracle3-extras.

Contributing guide · Open problems · Discussions

Origin and attribution

Oracle3 began as ulab-uiuc/oracle3, developed by Yicheng Yang and Haofei Yu at U Lab (University of Illinois Urbana-Champaign). It also bundles the lab's Coinjure package. Yicheng Yang continues to develop and maintain the extensions in this repository. Read the project story and contributions.

We acknowledge the foundational work of the Coinjure team at the University of Illinois Urbana-Champaign—Haofei Yu, Yicheng Yang, Yuxiang Liu, and Prof. Jiaxuan You—on which Oracle3 builds.

For software citation, use CITATION.cff and Zenodo. For the pricing model, see the working paper.

License

Apache 2.0; see LICENSE. Original U Lab and Coinjure portions retain their MIT license in NOTICE.

This software is for research and education. Trading involves financial risk.

Frequently asked questions

What is Oracle3 prediction-market arbitrage checks MCP Server?

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

How do I install Oracle3 prediction-market arbitrage checks MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Oracle3 prediction-market arbitrage checks MCP Server runs locally from the PyPI package oracle3 with the command uvx oracle3.

Is Oracle3 prediction-market arbitrage checks MCP Server free and open source?

Yes. Oracle3 prediction-market arbitrage checks MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Oracle3 prediction-market arbitrage checks MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Oracle3 prediction-market arbitrage checks MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Oracle3 prediction-market arbitrage checks MCP Server's trust score calculated?

Oracle3 prediction-market arbitrage checks MCP Server scores 72 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server