Market Spread logo

Market Spread

Compare prediction-market prices across five venues and investigate possible divergence with normalized quotes.

Install Market Spread

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "market-spread": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-market-spread"
      ],
      "env": {
        "PIPEWORX_API_KEY": "YOUR_VALUE_HERE",
        "PIPEWORX_META_TOOLS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env PIPEWORX_API_KEY=YOUR_VALUE_HERE --env PIPEWORX_META_TOOLS=YOUR_VALUE_HERE --transport stdio market-spread -- npx -y @pipeworx/mcp-market-spread

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @pipeworx/mcp-market-spread

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Market Spread scans Polymarket, Kalshi, Manifold, PredictIt, and Futuur for markets related to a topic. Its tools query venues in parallel, normalize top matches into comparable quote records, and identify divergence when titles match closely enough. Use it to find markets that warrant manual review, not to execute arbitrage or account for fees, liquidity, or resolution differences. Results are available through Pipeworx's hosted MCP endpoint, HTTP API, or local npm stdio bridge.

Use cases

  • Compare a prediction-market topic across five venues
  • Investigate possible pricing divergence between matching contracts
  • Drill into one venue's top market matches
  • Review market wording before evaluating a potential spread

Key features

  • Cross-venue topic comparison
  • Parallel queries across five prediction-market venues
  • Normalized probabilities, URLs, and outcome counts
  • Conditional divergence detection based on title overlap
  • Single-venue top-five quote lookup
  • Hosted MCP, HTTP, and npm stdio access

Tools2

What Market Spread lets your agent do. Expand a tool for its parameters.

Verified live~605 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 89d

What it can do

From the 2 tools this server returned when we ran it; 2 declare their own safety hints.

Handles credentials · 1Makes network requests · 2Read-only tools · 2
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age145 days
Maintainers1

Observed 2026-11-04 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · @pipeworx/mcp-market-spread (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads829Package downloads in the last 30 days.
Last commit26d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed2Callable tools this server registers over MCP.

How Market Spread works

What Market Spread does

Market Spread helps agents compare how prediction markets price a shared topic across five venues: Polymarket, Kalshi, Manifold, PredictIt, and Futuur. It returns the best matching markets from each venue with the venue name, title, URL, number of outcomes, and an implied probability for the main or YES outcome when available.

The server is intended for market discovery and comparison. A large difference between displayed probabilities is a lead for further investigation, not proof of an executable arbitrage opportunity. Differences can result from distinct contract wording, settlement rules, dates, market depth, or venue fees.

How it works

compare_topic accepts one topic and queries all five venues in parallel. Each venue contributes its top matches, or a { reachable: false } result if that venue errors or times out. The call continues even when an individual venue is unavailable.

The divergence calculation compares the top titles only when at least two venues have sufficiently strong token overlap. If the titles do not match well enough, the response leaves divergence unset and includes a low-match-quality note so the markets can be reviewed manually.

venue_quotes narrows the search to one venue and returns its current top five matches for a query. This is useful for examining a result found with compare_topic. For multi-outcome markets, the reported probability represents the leading outcome and is identified accordingly.

Setup and configuration

The hosted streamable MCP endpoint is:

config.json
{
  "mcpServers": {
    "market-spread": {
      "url": "https://gateway.pipeworx.io/market-spread/mcp"
    }
  }
}

The endpoint can be added to MCP clients such as Claude Desktop, Cursor, and Windsurf. A full Pipeworx gateway connection is also available at https://gateway.pipeworx.io/mcp; both endpoints reach the same gateway, while the pack endpoint lists this pack's tools directly.

For a local stdio bridge, configure the npm package with npx:

config.json
{
  "mcpServers": {
    "market-spread": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-market-spread"]
    }
  }
}

The bridge requires network access and has no offline mode. Anonymous use is capped at 50 calls per day. Setting PIPEWORX_API_KEY enables an account-backed limit of 200 calls per day. Set PIPEWORX_META_TOOLS=1 if the local bridge should also list Pipeworx's shared gateway tools.

Tools and capabilities

  • compare_topic: Compare related markets across all five supported venues and return normalized matches plus a conditional divergence summary.
  • venue_quotes: Retrieve the top five current matches for a topic from one selected venue.
  • HTTP access: Invoke tools directly through the Pipeworx API, such as POST https://gateway.pipeworx.io/v1/tools/compare_topic.
  • Natural-language routing: Use the gateway's ask_pipeworx tool to ask questions and let the gateway select a tool and populate its arguments.

Limitations and notes

The server does not place trades or provide executable arbitrage. It does not subtract Polymarket or Kalshi taker fees from the displayed spread, and the scanner does not evaluate order-book depth. Before acting on a difference, check that the contracts have the same question, resolution criteria, timing, and outcome structure.

A venue outage is represented in the response rather than causing the complete comparison to fail. Implied probability can be null when it is unavailable. Divergence is also null when the returned titles do not meet the matching threshold, so a manual comparison may be necessary.

The integration is an independent, unofficial connection to the supported market data sources and is distributed under the MIT license.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Market Spread

Market Spread is an MCP server that connects AI agents to prediction-market listings on Polymarket, Kalshi, Manifold, PredictIt, and Futuur. Its main tools, compare_topic and venue_quotes, return normalized market matches, implied probabilities, URLs, and conditional cross-venue divergence for manual investigation rather than trade execution.

Add its hosted MCP URL to your client, or run the npm stdio bridge with npx. The hosted entry uses https://gateway.pipeworx.io/market-spread/mcp; the local configuration runs @pipeworx/mcp-market-spread with npx -y and forwards requests to the same gateway.

No, anonymous calls are supported. Anonymous use is limited to 50 calls per day, while setting PIPEWORX_API_KEY for a Pipeworx account raises the limit to 200 calls per day.

Yes, Cursor can connect to the hosted MCP endpoint. Add https://gateway.pipeworx.io/market-spread/mcp as the server URL in the client's MCP configuration.

No, Market Spread only identifies markets and possible price divergence. Its scanner does not account for order-book depth or venue fees, and differences may reflect contract wording, resolution rules, dates, or liquidity rather than executable arbitrage.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMarket Spread AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/market-spread?style=directory)](https://allmcps.com/mcp/market-spread)
HTML Embed
<a href="https://allmcps.com/mcp/market-spread"><img src="https://allmcps.com/api/badge/market-spread?style=directory" alt="Market Spread on AllMCPs" /></a>