Skip to main content
Glama

ICARE MCP server

Let your AI agent predict live esports games. ICARE follows live streamers (CS2, Valorant, EA SPORTS FC, Rocket League, League of Legends…), opens a Win / Lose market on each game, and an AI referee reads the stream to settle it with a proof published on IPFS and on Base.

  • Works with Claude, GPT and Gemini: Claude Desktop, Claude Code, OpenAI Codex CLI, Gemini CLI, Cursor, any MCP client, and claude.ai, ChatGPT and Gemini through the remote server https://app.icarehub.xyz/api/mcp.

  • Autonomous agent: the CantorFi agent watches live matches, decides with your strategy (built-in rule, Claude, GPT or Gemini), bets within your limits and sells at your profit target, on its own.

  • Wallet created on your machine on first use (or bring your own key): the key never leaves it.

  • Gasless bets over x402: the agent pays its USDC stake with a signed authorization. No ETH, no gas, no approval.

  • Sell anytime: ICARE liquidity buys positions back at the current price while the market is open.

  • Season 0 (Base Sepolia testnet, test USDC): correct prediction +1, wrong one −1. Leaderboard: https://www.icarehub.xyz/season-0/en

Tools

Tool

What it does

icare_wallet

Agent wallet address (created on first use), its test USDC and ICARE Portfolio balances

icare_live_matches

Open matches with Win/Lose prices, pot, closing time; recent results with their referee proof

icare_activate

Only when ICARE access codes are on: one-time activation of the agent wallet with an access code

icare_bet

Predict Win or Lose (1 to 50 USDC). Paid from the agent Portfolio when funded, otherwise over x402 (stake + 0.20 USDC network fees)

icare_positions

Portfolio balance and positions on recent matches

icare_sell

Sell a position to ICARE liquidity at the current buyback price

icare_season

Season 0 leaderboard

Related MCP server: AltSportsLeagues MCP Server

Install

Node.js 22+ and git. One line, no account:

Client

Command

Claude Code

claude mcp add icare -- npx -y github:Djangode/icare-mcp

OpenAI Codex CLI

codex mcp add icare -- npx -y github:Djangode/icare-mcp

Gemini CLI

gemini mcp add icare npx -y github:Djangode/icare-mcp

Claude Code plugin: /plugin install icare --marketplace Djangode/icare-mcp (or /plugin marketplace add Djangode/icare-mcp, then /plugin install icare@icare).

Gemini CLI extension: gemini extensions install https://github.com/Djangode/icare-mcp

Claude Desktop, Cursor or any MCP client (JSON configuration):

{
  "mcpServers": {
    "icare": { "command": "npx", "args": ["-y", "github:Djangode/icare-mcp"] }
  }
}

Claude Desktop in one click: download icare.mcpb from the latest release and open it.

Then ask your AI:

  1. "Show my ICARE wallet": it creates the agent wallet and gives its address.

  2. Get test USDC for that address at https://faucet.circle.com (Base Sepolia). No ETH needed.

  3. "Show the live ICARE matches", then "Bet 2 USDC on Win on match 170".

Options: ICARE_AGENT_PRIVATE_KEY (use your own wallet instead), ICARE_STATE_FILE (wallet and session file, default ~/.icare-mcp.json, readable only by you), ICARE_API_URL, ICARE_APP_URL, ICARE_RPC_URL.

Access codes: none needed while accessRequired is false in https://api.icarehub.xyz/api/agents/config. When ICARE turns them on, codes are given in the ICARE Discord, https://discord.gg/SmRynyJmnK, and icare_activate is called once.

claude.ai, ChatGPT and Gemini (remote server)

Add a custom connector with the URL https://app.icarehub.xyz/api/mcp (Streamable HTTP, no sign-in):

  • claude.ai: Settings → Connectors → Add custom connector.

  • ChatGPT: turn on developer mode in the connector settings, then create a connector with this URL.

  • Gemini CLI without a local server: gemini mcp add --transport http icare https://app.icarehub.xyz/api/mcp

The remote server is read-only and never holds a key: icare_live_matches, icare_match, icare_bet_link (the match page where you predict with your own wallet), icare_season, plus search and fetch. For automatic predictions, run the agent below.

Autonomous agent

The autonomous agent now lives in the CantorFi agent: one agent with one wallet for CantorFi and every application built on it, ICARE included. Same strategy options, same limits.

npx -y -p github:cantorfi/cantorfi-mcp cantorfi-agent icare auto run --stake 1 --daily 5

Source and options: https://github.com/cantorfi/cantorfi-mcp

How a bet works

  1. The agent signs the Portfolio action that places its prediction on the ICARE Match contract.

  2. POST https://api.icarehub.xyz/api/agents/bets answers 402 Payment Required (x402 v2, scheme exact, USDC on eip155:84532).

  3. The agent signs an ERC-3009 transferWithAuthorization for the stake + 0.20 USDC and retries with PAYMENT-SIGNATURE.

  4. ICARE collects it, credits the agent Portfolio and relays the signed action (about 40 seconds: three confirmed transactions). If the market closed in between, the stake stays on the agent Portfolio.

Testnet only for now: test USDC has no value. 18+. Availability of paid skill competitions varies by jurisdiction.

MIT licence.

Available Tools

7 tools
icare_activateActivate this agent walletAInspect

Only when ICARE access codes are on: one-time activation of the agent wallet with an access code (codes are given in the ICARE Discord: https://discord.gg/SmRynyJmnK).

Inputs: code (required).

icare_betPredict Win or LoseAInspect

Place a Win/Lose prediction on an open match. Uses the agent Portfolio balance when it covers the stake + 0.10 USDC, otherwise pays the stake + 0.20 USDC network fees over x402 (gasless USDC authorization).

Inputs: side (required), matchId (required), stakeUsdc (required).

icare_live_matchesLive ICARE matchesBInspect

Followed live matches with Win/Lose prices, pot, closing time, and recent results with their referee proof.

Inputs: includeFinished.

icare_positionsAgent positionsCInspect

Portfolio balance and Win/Lose units held on recent matches.

Inputs: no named parameters.

icare_seasonSeason 0 leaderboardBInspect

Season 0 standings: 2 points per predicted match, 15 per match played and streamed on ICARE.

Inputs: no named parameters.

icare_sellSell a position to ICARE liquidityBInspect

Sell Win or Lose units on an open match at the ICARE liquidity buyback price (filled within seconds when the price is offered).

Inputs: side (required), matchId (required), units.

icare_walletAgent walletBInspect

Address of the agent wallet (created on this machine on first use when no key is configured), its test USDC balance, its ICARE Portfolio balance, and where to get test USDC.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 7 tools

    Disambiguation4/5

    Most tools target distinct actions (bet, sell, activate) or resources (season, live_matches, positions, wallet). However, icare_wallet and icare_positions both report portfolio balance, which could cause minor confusion, though descriptions clarify their different primary focus.

    Naming Consistency4/5

    All tools share the icare_ prefix and snake_case style, which is highly consistent. The only deviation is mixing noun-based (season, positions, wallet, live_matches) and verb-based (activate, bet, sell) names, so not a strict verb_noun pattern.

    Tool Count5/5

    Seven tools is well-scoped for a prediction market server. Each tool covers a distinct need: match data, betting, selling, position tracking, wallet management, activation, and standings.

    Completeness4/5

    The surface covers the core lifecycle: wallet setup, activation, viewing matches, placing bets, selling units, checking positions, and standings. Minor gaps exist, such as no explicit claim/settlement operation or comprehensive match history beyond recent results, but agents can work around these via existing tools.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers