Oracle3
Lets your AI agent read Kalshi and Polymarket data, check fees and no-arbitrage edges and test trades on a paper ledger.
564 stars on GitHubby YichengYang-EthanLicense Apache-2.0Updated last month
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add oracle3 -- uvx oracle3 mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
ORACLE3_MCP_LEDGER | Path of the local paper-trading ledger (default ~/.oracle3/mcp_paper_ledger.json) | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Find Kalshi and Polymarket contracts about the next Fed rate decision.
A implies B, A has a YES bid of 0.60 and B a YES ask of 0.55. Show gross edge, fees and net edge.
What it is
Oracle3 connects agents to prediction markets. It can search contracts, read prices and order books, check whether related contracts break a pricing relationship after fees, and place simulated orders on a local paper ledger. Public market reads need no exchange credentials, and real-order execution uses a separate engine.
What it can do
search_markets: find contractsget_market: read a contract and its rulesget_quote: prices and fee informationget_orderbook: displayed depthcheck_constraint: net edge for related contractstrading_fee: fee estimatespaper_order: simulated orderpaper_portfolio: simulated holdings
When to use
- βΊWhen you want to compare Kalshi and Polymarket contracts about the same event
- βΊWhen you want to see whether two related contracts leave a fee-adjusted edge
- βΊWhen you want to practice a strategy with simulated orders
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
polymarketLets your agent look up Polymarket prediction markets, including event odds, current prices, order books, and price history, with no account needed.nansen-prediction-marketsHelps your agent browse Polymarket prediction markets, showing trending events, top markets by volume, and markets that match a search.prediction-market-oracle-researchMakes your agent research prediction markets as a data source. It helps understand probabilities and how to use this information.Frequently asked questions
Is it free and open source?
Yes, under Apache 2.0, with the original U Lab and Coinjure portions kept under MIT.
Do I need exchange credentials?
Not for public market reads. MCP gives data, calculations and a paper ledger only.
Can it place real orders?
Real execution is in the separate CLI and Python engine, not the MCP tools.
How many tools are there?
Thirteen MCP tools and six agent Skills.
Is this financial advice?
No. The readme says it is for research and education and that trading involves financial risk.
Which relationships can it check?
Implication, exclusivity, complement, same event and event sum.
If it does not work
- βΊUse the absolute path to .venv/bin/oracle3-mcp as the command in your client.
- βΊOn Windows use .venv\Scripts\oracle3-mcp.exe.
- βΊCheck that Python is 3.10 or newer and that the package was installed with pip install -e .
5 new skills a week. 1 minute to read.