Crypto prediction market MCP server for Polymarket

Crypto prediction market MCP server for Polymarket

cryptoconduit-mcp•bychxndre

A Rust MCP server that lets AI agents discover, analyze, simulate and trade Polymarket crypto prediction markets, enriched with live Binance spot prices.

License: AGPL-3.0•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Discovers Polymarket crypto prediction markets across 6 assets and market types, with current prices, spreads and liquidity.
  • •Combines spot momentum, order book dynamics, probability divergence, whale flow and alerts into a per-market analysis briefing.
  • •Supports fee-adjusted P&L simulation and paper trading with portfolio tracking, auto-trade, and early exit.
  • •Places and manages real Polymarket orders with a triple safety gate of dry run, explicit confirmation and risk limits.

BEST FOR

  • •Agents that need to research Polymarket crypto markets and order books before trading.
  • •Testing prediction market strategies risk-free through paper trading.
  • •Traders who want guarded live execution on Polymarket via an AI agent.

ABOUT CRYPTOCONDUIT-MCP

Crypto prediction market MCP server for Polymarket is cataloged as an MCP server attributed to chxndre. A Rust MCP server that lets AI agents discover, analyze, simulate and trade Polymarket crypto prediction markets, enriched with live Binance spot prices. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: AGPL-3.0. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Crypto prediction market MCP server for Polymarket are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Do I need API keys or an account to use the market data tools?

No; Polymarket and Binance market data APIs are public, and API keys are only needed if live trading is enabled.

Can I place real trades without risk controls?

Orders default to dry run and require explicit confirmation; the risk manager checks daily loss limits, consecutive losses and drawdown before every order.

上游原版 README

在 GitHub 查看同一版本原文

README.md · a9b77e104832 · 采集于 2026-11-13 11:48:00 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

CryptoConduit MCP

An MCP server that gives AI agents direct access to Polymarket Crypto prediction markets, enriched with live spot prices. Discover markets, analyze order books, paper trade strategies, track activity, and execute live trades — all through natural language.

Built in Rust. 22 tools. Mainnet-tested.

Use it as an MCP server with any MCP-compatible client, or import the core/ library directly into your own Rust bots and pipelines — zero MCP dependency.


What it does

Market Intelligence — Discover and monitor prediction markets across 6 assets (BTC, ETH, SOL, XRP, DOGE, BNB) and 8 market types (5m to monthly). Real-time Binance spot prices overlaid on Polymarket order books with tradeability scoring, spread analysis, and depth profiling.

Quantitative Analysis — Spot momentum, order book dynamics (spread trends, depth shifts, imbalance), probability-spot divergence detection, and whale flow analysis — combined into a single briefing per market. When local history isn't available, the analysis falls back to querying resolved markets on Gamma for historical volume and activity context.

Paper Trading — Fee-adjusted P&L simulation using Polymarket's fee model. Paper trading with full portfolio tracking, autonomous auto-trade execution, early exit, and position management. Test strategies risk-free before committing real capital.

Live Trading — Place and manage real orders on Polymarket via the official SDK. Triple safety gate: dry run by default, explicit confirmation required, and a risk manager with daily loss limits, drawdown tracking, and consecutive loss halts.

Monitoring — Always-on background system: whale detection on the live Polymarket trade stream, spread narrowing alerts, depth spike detection, and approaching window notifications. No manual setup required.


Tools

Discovery & Data

ToolWhat it does
search_crypto_marketsSearch Polymarket for crypto prediction markets. Filter by asset, market type (5m, daily, monthly, etc.), and sort by spread or volume. Returns active markets with current prices, spreads, and liquidity.
get_active_windowSnapshot of the current 5m or 15m prediction window — time remaining, spot price, both UP/DOWN sides with best bid/ask, spread, and depth.
get_window_briefingRicher version of active window — adds spot move since open, 1-hour volatility profile, fee breakeven calculations, and tradeability scoring per side.
get_spot_priceCurrent Binance spot price for any supported asset, with data age indicator.
get_order_bookFull order book for a specific market token — all bid/ask levels, total depth, concentration analysis, and slippage estimates at various trade sizes.
get_market_analysisThe main analysis tool. Combines 5 dimensions: spot momentum (1m/5m/15m trends, acceleration, volatility), order book dynamics (spread trends, depth asymmetry, historical stats), probability divergence (empirical model vs market price), whale flow, and recent alerts. Falls back to querying resolved markets on Gamma when local history is unavailable. Works across 5m, 15m, daily, and monthly markets.
get_whale_activityRecent large trades ($5k+) on daily and monthly markets from the live Polymarket trade stream. Filters out micro-market noise and post-settlement redemptions.
get_alertsAlerts generated by the background monitor: spread narrowing, depth spikes, whale trades, and windows approaching expiry.

Simulation & Paper Trading

ToolWhat it does
simulate_tradeFee-adjusted P&L calculator. Enter a position size and price, see exact profit/loss for win and loss scenarios, with Polymarket's taker fees, maker rebates, and settlement math. Shows breakeven win rate.
paper_tradeOpen a simulated position at current market prices. Tracks entry price, fees, and timestamps. Positions auto-settle when the market resolves on Polymarket.
get_paper_portfolioFull portfolio view — open positions with live countdown, settled results, win rate by asset and entry price bucket, total P&L, and fee tracking.
paper_closeExit a paper position early at the current bid price, paying taker fee on exit. Shows realized P&L including entry and exit fees.
set_auto_paper_tradeConfigure autonomous paper trading. Set an asset, position size, and entry conditions — the server monitors markets and opens positions automatically when conditions are met.
get_auto_paper_trade_statusCheck which auto-traders are running, their recent trades, and aggregate stats.

Live Trading

Requires wallet configuration. See Wallet Setup below.

ToolWhat it does
approve_exchangeOne-time on-chain setup. Approves USDC and CTF token transfers for Polymarket's 3 exchange contracts. Costs ~$0.001 in POL gas. Must run before placing any orders.
get_balanceWallet USDC.e balance on Polygon, plus risk manager status (daily loss remaining, consecutive losses, drawdown).
place_orderPlace a buy or sell order. Dry run by default — shows what would happen without submitting. Requires explicit confirm=true to execute. Risk manager enforced.
cancel_orderCancel a specific order by ID, or cancel all open orders at once.
get_positionsCurrent live positions in your wallet.
redeem_winningsRedeem winning CTF tokens on-chain after a market settles. Works with both standard and NegRisk markets.

System

ToolWhat it does
set_data_loggingToggle background JSONL logging of spot prices, order books, and market snapshots. Useful for building datasets or debugging.
get_data_logging_statusCheck if logging is active, where files are saved, and current disk usage.

Sample output

Window briefing

## BTC 5m Briefing (2:25 AM ET)

Time: 9% elapsed (26s / 300s), 274s remaining
Spot: $70822 -> $70843 (+0.03%)
Volatility (1h): avg 5m move: 0.051% | max: 0.146% | moves >0.05%: 5/12
UP:   ask=0.660 bid=0.650 spread=1.5% | good (depth: $755, slippage $100: 2.0%)
DOWN: ask=0.350 bid=0.340 spread=2.9% | good (depth: $127, slippage $100: 2.3%)
Fees (taker): UP at 0.660: fee=1.3%, breakeven WR=67.3%
              DOWN at 0.350: fee=1.3%, breakeven WR=36.3%

Market analysis (daily)

## BTC Market Analysis (daily)

### Spot Momentum
  Price           $70795    Trend        Down
  1m move         -0.085%   5m vol       0.055%
  5m move         -0.039%   Accel        decel (-0.078)
  15m move        -0.167%

$70795 — downtrend, decelerating. High volatility.

### Order Book Dynamics
  ATM strike: $70000 (spot: $70795)

  Side     Spread   Median       Trend    BidDep$    AskDep$  Imbalance
  ------------------------------------------------------------------------
  YES        1.3%     1.3%      stable       $169       $221  Mild ask pressure
  NO         3.9%     3.9%      stable        $74        $59  Mild bid pressure

YES side has better liquidity (tighter spread, deeper book).

### Probability Divergence
  Side     Market  Fair Est.  Divergence           Method       Conf
  --------------------------------------------------------------------
  YES       0.750     0.842   +0.092 (underpriced) vol-CDF      high
  NO        0.260     0.158   -0.102 (overpriced)  vol-CDF      high

YES looks underpriced (+9.2%). NO looks overpriced (-10.2%).

Paper portfolio

## Paper Portfolio

Trades: 9 | Wins: 5 | Win rate: 55.6%
Total P&L: $11.66 | Avg P&L: $1.30
Volume: $55.00 | Fees paid: $1.69

By Asset:
  BTC:  4 trades, 50.0% WR, $3.71 P&L
  ETH:  2 trades, 50.0% WR, $3.40 P&L
  SOL:  1 trades, 100.0% WR, $5.04 P&L
  XRP:  1 trades, 100.0% WR, $4.65 P&L

By Entry Price:
  0.30-0.50: 3 trades, 66.7% WR, $9.86 P&L
  0.50-0.70: 6 trades, 50.0% WR, $1.80 P&L

Requirements

  • Platform: Windows, macOS, Linux
  • Network: Polymarket and Binance API access required.

No API keys required. Polymarket and Binance market data APIs are public. The server works immediately — no accounts, no signup, no tokens. API keys are only needed if you enable live trading (see Wallet Setup).

Quick start

Option A: Download prebuilt binary

Grab the latest binary for your platform from Releases and place it somewhere on your PATH (or note the full path for the config below).

Option B: Install from crates.io

Requires Rust 1.85+.

cargo install crypto-conduit-mcp

Connect to your MCP client

Add to your MCP client config:

{
  "mcpServers": {
    "crypto-predict": {
      "command": "crypto-conduit-mcp"
    }
  }
}

If the binary isn't on your PATH, use the full path instead (e.g. "/path/to/crypto-conduit-mcp" or "C:\\Users\\you\\crypto-conduit-mcp.exe").

The server communicates over stdio using the Model Context Protocol.

First startup: The server needs ~30-45 seconds to discover all active markets from Polymarket. During this window, some tools may show limited data. After the initial discovery cycle, everything updates continuously.

Once running, the server automatically:

  • Discovers new markets every 4 minutes
  • Polls order books (every 5s for short-term, 30s for daily/monthly)
  • Streams Binance spot prices every 3s
  • Monitors the live Polymarket trade stream for whale activity
  • Generates alerts (spread narrowing, depth spikes, approaching windows)

All of this runs in the background — tools read from this cached state so responses are instant.

Configure (optional)

The server works without any config file. To customize, create a config at the platform-appropriate location:

  • Windows: %APPDATA%\crypto-conduit\config.toml
  • macOS: ~/Library/Application Support/crypto-conduit/config.toml
  • Linux: ~/.config/crypto-conduit/config.toml
[logging]
enabled = false          # background data logging (JSONL files)

# [trading]              # uncomment for live trading — see Wallet Setup below
# private_key = "..."
# max_order_size_usd = 100

Wallet setup (live trading)

Live trading requires a configured wallet. Paper trading works without any of this.

1. Create or use an EOA wallet

You need an externally owned account (EOA) on Polygon. This can be a MetaMask wallet, a dedicated trading wallet, or any Ethereum-compatible wallet. Do not use your main wallet — create a dedicated one for trading.

2. Fund the wallet

  • USDC.e (bridged USDC) on Polygon — this is the collateral token Polymarket uses. Contract: 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174. Not native USDC (0x3c499...).
  • A small amount of POL for gas fees (on-chain approvals cost ~$0.001).

3. Add your private key to config

[trading]
private_key = "abc123..."   # 64 hex characters, no 0x prefix
wallet_type = "eoa"
max_order_size_usd = 100    # safety cap per order
daily_loss_limit_usd = 50   # risk manager halts trading if exceeded

Security: Your private key is never logged — the server uses a redacted Debug implementation. Still, keep this config file permissions-restricted.

4. Approve the exchange contracts

Before placing your first order, run the approve_exchange tool. This is a one-time on-chain transaction that approves USDC and CTF token transfers for Polymarket's 3 exchange contracts (CTF Exchange, Neg Risk CTF Exchange, Neg Risk Adapter).

5. Place orders

All orders default to dry run mode — they show what would happen without submitting anything. To execute a real order, set confirm=true. The risk manager checks daily loss limits, consecutive losses, and drawdown before every order.


Example prompts

Once connected via MCP, try these with your AI agent:

Discovery & analysis

  • "What BTC daily markets are active? Sort by tightest spread"
  • "Give me a briefing on the current ETH 5m window"
  • "Run a full market analysis on BTC daily"
  • "Show me the order book for the BTC $70k strike"

Simulation

  • "If I buy BTC daily YES at 0.75 with $50, what's my P&L on win vs loss?"
  • "What win rate do I need to break even entering at 0.65?"

Paper trading

  • "Paper trade $10 on BTC 5m UP"
  • "Show my paper portfolio — any settled positions?"
  • "Close position #3"
  • "Set up auto paper trading on ETH 5m: $5 size, enter below 0.45, only when spot moved 0.1%+"

Live trading

  • "Check my wallet balance and risk status"
  • "Dry run: buy $10 of ETH daily YES at 0.52"
  • "Cancel all my open orders"

Monitoring

  • "Any whale trades or alerts in the last 30 minutes?"
  • "Show recent whale activity across all assets"

Use as a Rust library

The core/ module has zero dependency on MCP — it's a standalone library. Import it directly for custom bots, data pipelines, or alternative interfaces:

use crypto_conduit::core::providers::binance;
use crypto_conduit::core::analysis::fees;
use crypto_conduit::core::paper::portfolio;

Supported assets

AssetBinance Pair5m15mHourlyDailyMonthly
BTCBTCUSDTYesYesYesYesYes
ETHETHUSDTYesYesYesYesYes
SOLSOLUSDTYesYesYesYesYes
XRPXRPUSDTYesYesYesYesYes
DOGEDOGEUSDTYesYesYesYesYes
BNBBNBUSDTYesYesYesYesNo

Architecture

src/
├── main.rs              ← MCP server entry point
├── mcp/                 ← MCP tool layer (thin wrappers)
│   ├── mod.rs           ← Tool registration
│   ├── tools_*.rs       ← Tool handlers by category
│   └── formatter.rs     ← Response formatting
└── core/                ← Standalone library (no MCP dependency)
    ├── types.rs          ← Shared types
    ├── providers/        ← API clients (Polymarket, Binance, Chainlink)
    ├── analysis/         ← Fee model, momentum, book dynamics, divergence
    ├── paper/            ← Paper trading engine
    ├── execution/        ← Live trading (Polymarket SDK, risk manager)
    └── monitor/          ← Background polling, alerts, whale tracking, auto-trade

License

AGPL-3.0 — see LICENSE for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Crypto prediction market MCP server for Polymarket from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/cryptoconduit-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics