ArbitraX
ArbitraX (x402 & MCP Monetization Engine)
High-Stakes Prediction Markets & Sports Odds Arbitrage MCP Server
Liquidated autonomously via the HTTP 402 Payment Required (x402) protocol on Base (USDC).
🚀 Business Overview & Value Proposition
Traditional websites rely on human eye-balls (Google AdSense) or credit card checkout forms (Stripe). AI Agents cannot fill out credit card forms or resolve CAPTCHAs.
ArbitraX delivers high-frequency statistical arbitrage, +EV prediction spreads (Polymarket vs. Bookmakers), and algorithmic whale accumulation telemetry to AI agents (Claude, Cursor, AutoGPT, trading bots) via the Model Context Protocol (MCP), collecting instant micropayments via HTTP 402 & USDC.
Key Advantages
Niche Fit: Serves bots and traders who already hold automated liquid crypto wallets.
High-Value Alpha: Does not sell generic public prices; delivers real-time statistical edges (+EV arbitrage spreads) where agents can capitalize instantly.
Frictionless M2M Commerce: Zero account creation, zero KYC friction for autonomous agents. Transactions settle in milliseconds on the Base L2 network.
Related MCP server: telekash-mcp-server
🛠️ MCP Tool Catalog & Pricing
Tool Name | Purpose | Price (USDC) | Target Consumer |
| Scans Polymarket and calculates +EV statistical discrepancies against consensus benchmarks. | $0.05 | Arbitrage bots, election & event prediction models |
| Searches active prediction markets with live outcome pricing and liquidity volume. | $0.02 | Research agents, news summarizers, market scanners |
| High-volume OTC and on-chain whale accumulation alerts for Crypto, Gold, and Oil. | $0.10 | Macro momentum bots, algorithmic hedge funds |
⚙️ Architecture & Sequence
sequenceDiagram
autonumber
actor Agent as Autonomous AI Agent (Claude / Cursor)
participant Worker as Cloudflare Worker Edge (x402 Gateway)
participant Gamma as Polymarket Gamma API (Real-time Feeds)
participant Base as Base L2 (USDC Micropayments)
Agent->>Worker: POST /mcp (method: tools/call, name: get_prediction_arbitrage)
Note over Worker: Check header x-402-payment-proof
Worker-->>Agent: HTTP 402 Payment Required<br/>x402-price: 0.05 USDC | x402-recipient: 0xTreasury...
Agent->>Base: Execute & sign 0.05 USDC microtransaction
Agent->>Worker: POST /mcp + Header: x-402-payment-proof (txHash)
Worker->>Gamma: Fetch active prediction order books
Worker->>Worker: Compute discrepancy & +EV delta
Worker-->>Agent: HTTP 200 OK + JSON Arbitrage Payload💻 Claude Desktop & Cursor Integration
Add this entry to your claude_desktop_config.json:
{
"mcpServers": {
"arbitrax": {
"url": "https://arbitrax-gateway.inprotechve.workers.dev/mcp",
"headers": {
"x-402-payment-proof": "{\"txHash\":\"0x...\",\"payer\":\"0xAgentWallet\",\"amount\":\"0.05\"}"
}
}
}
}🧪 Local Testing & Simulation
Execute the end-to-end agent simulation test:
npm run test:agent🛡️ Project Isolation & Governance
This project adheres to the Workspace Isolation Protocol (protocolo-aislamiento-proyectos.md):
Completely decoupled from corporate CRM, gremial portals, and other local apps.
Standalone dependencies, independent wrangler configuration, and zero cross-contamination.
Available Tools
3 toolsget_prediction_arbitrageA
Scans live Polymarket prediction markets (politics, elections, sports, crypto) and calculates +EV statistical discrepancies and arbitrage spreads against consensus models. [Price: $0.05 USDC]
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of high-liquidity events to analyze (default: 10, max: 25) | |
| category | No | Filter category: 'politics', 'sports', 'crypto', 'pop-culture' | |
| minEdgePercentage | No | Minimum discrepancy percentage to report (default: 3.0) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It does disclose two valuable non-schema facts: it scans live data and costs $0.05 USDC per call. It omits latency, behavior when no edges clear the threshold, and result shape, which matter for a paid analysis tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, zero padding, with the capability statement first and the cost disclosure last. Every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations, the description does supply the essentials: data source, analytic output, supported domains, and price. It stops short of describing result contents or edge cases, but an agent has enough to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents limit, category, and minEdgePercentage with defaults; baseline 3 applies. The description's category list does add example domains, but it names 'elections' while the schema enumerates 'pop-culture', a mild inconsistency rather than added clarity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States specific verbs (scans, calculates) and a specific resource (live Polymarket prediction markets) plus the output class (+EV discrepancies, arbitrage spreads vs consensus models). That is enough to distinguish it from search_prediction_events (lookup) and get_whale_macro_signals (macro signals), though no sibling is named explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent infers this is for finding arbitrage/positive-EV opportunities rather than listing events. The price note ($0.05 USDC) usefully signals this is a paid call worth weighing against free siblings, but there is no explicit when-to-use/when-not or alternative routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_whale_macro_signalsB
Fetches real-time algorithmic whale accumulation and macro geopolitical momentum signals for Oil, Gold, and Crypto. [Price: $0.1 USDC]
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden, and it does disclose a meaningful trait most definitions omit: a per-call price of $0.1 USDC, signaling a paid/x402-style invocation. However, it says nothing about refresh cadence, data provenance, latency, or what a 'signal' actually contains, so the agent cannot anticipate the return or the payment flow.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the verb and resource, with the price tag isolated in brackets. Nothing is padded, though the second sentence is a bare cost note rather than additional guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter tool with no output schema and no annotations, the description establishes scope and cost but leaves the result shape, signal interpretation, and payment mechanics unexplained. It is minimally sufficient to decide to call it, but not to use the output confidently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing for the description to clarify and the baseline is 4. The description correctly implies no filtering is needed since the asset classes are fixed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb ("Fetches") and a concrete resource ("real-time algorithmic whale accumulation and macro geopolitical momentum signals") scoped to Oil, Gold, and Crypto. It is clearly distinct from the prediction-market siblings, though it never states that distinction explicitly. Jargon like "algorithmic whale accumulation" is left undefined, but the asset coverage makes the purpose legible.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to use this tool versus get_prediction_arbitrage or search_prediction_events, nor any when-not guidance. The asset list implies a domain, but the agent must infer the use case entirely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_prediction_eventsA
Searches active prediction markets on Polymarket with live probability outcome pricing and liquidity volume. [Price: $0.02 USDC]
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events to return (default: 5) | |
| query | Yes | Search keyword (e.g., 'Trump', 'Bitcoin', 'SuperBowl', 'Fed Rate') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It usefully discloses a paid cost of $0.02 USDC and indicates that results include live probability pricing and liquidity volume. However, it does not clarify pagination, response shape, rate limits, or whether results are sorted, so behavioral coverage is partial.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two compact fragments with zero waste, and the core search purpose is front-loaded. The price note is placed separately and does not interrupt the primary explanation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter search tool with full schema coverage, the description covers the domain, data freshness, and cost. Because there is no output schema, it does helpfully mention that results include live probability outcome pricing and liquidity volume, though it still leaves response structure and result ordering unspecified.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both the query keyword and limit parameters are already well documented in the schema. The description adds no parameter-specific meaning such as query syntax, limit behavior, or search matching rules. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: searching active prediction markets on Polymarket. It adds domain detail by naming live probability outcome pricing and liquidity volume. It does not explicitly differentiate itself from the sibling tools get_prediction_arbitrage and get_whale_macro_signals, but the search framing is distinct enough for an agent to understand the core function.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The use case is implied by 'Searches active prediction markets' and the required keyword query, but there is no explicit guidance on when to choose this tool over the sibling arbitrage or whale-signal tools. No exclusions, prerequisites, or alternative-routing instructions are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v0.1.0- First observed
get_prediction_arbitrage - First observed
get_whale_macro_signals - First observed
search_prediction_events
TDQS
Scored across 3 tools
The three tools target distinct actions: search_prediction_events is for discovery/listing, get_prediction_arbitrage is for analytical +EV/arbitrage scanning, and get_whale_macro_signals covers a separate commodity/macro domain. The two prediction-market tools overlap slightly in data source but descriptions make their purposes clear enough to avoid misselection.
All tools follow a consistent snake_case verb_noun pattern (get_prediction_arbitrage, search_prediction_events, get_whale_macro_signals). Verb choices are predictable and no naming style mixing is present.
Three tools is a small but reasonable surface for a focused prediction-market arbitrage and macro-signals service. Each tool earns its place, though the set is on the thin side and could benefit from one or two supporting operations.
Core workflows—market discovery, arbitrage scanning, and whale/macro signals—are covered. However, there are notable gaps: no tool to fetch detailed market data (e.g., order book or historical odds) for a specific event found via search, and no drill-down or filtering beyond what the descriptions imply.
Maintenance
Related MCP Connectors
Live Kalshi and Polymarket data: EV edges, cross-venue arbitrage, markets, and whale trades.
Cross-venue prediction market odds (Polymarket, Kalshi, PredictIt, Manifold) with arbitrage signals
Polymarket wallet intelligence for AI agents: scored wallets, insider signals, whale flow.
Live Polymarket data for agents: markets, insider-scored whale trades, leaderboards, wallet P&L
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI-powered tools for searching Polymarket prediction markets and calculating financial metrics like expected value and Kelly bet sizing. It enables users to perform arbitrage scanning, news-based sentiment analysis, and market research through natural language interfaces.-
- AlicenseAqualityDmaintenancePrediction market probability oracle for AI agents. 26 tools across 500+ live markets from Kalshi and Polymarket. Cross-source arbitrage detection, structured TPF signals, Kelly Criterion sizing, agent performance tracking, and webhook alerts.922 npm1MIT
- AlicenseAqualityBmaintenance24/7 autonomous monitoring and edge detection for prediction markets (Kalshi & Polymarket). Features causal tree analysis, orderbook depth tracking, cross-venue comparison, and real-time alerts.16196 npm12MIT
- AlicenseAqualityDmaintenanceProvides prediction market intelligence, research, and strategy signals for platforms like Kalshi, Polymarket, and Robinhood. It enables AI assistants to perform market screening, arbitrage detection, and deep causal analysis to support informed trading decisions.271MIT