search_markets

Pack: predictit · Endpoint: https://gateway.pipeworx.io/predictit/mcp

Search PredictIt markets by name (client-side over all ~250 markets; PredictIt has no search endpoint). US-politics-focused. Contract prices are implied probabilities (0–100%). Keyless.

Parameters

NameTypeRequiredDescription
querystringyesCase-insensitive substring, e.g. “Senate”, “Trump”, “2026”.
limitnumbernoMax markets to return (default 15, max 30).

Example call

Arguments

{
  "query": "Senate 2026"
}

curl

curl -X POST https://gateway.pipeworx.io/predictit/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_markets","arguments":{"query":"Senate 2026"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search_markets', {
  "query": "Senate 2026"
});

More examples

{
  "query": "Trump",
  "limit": 20
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "predictit": {
      "url": "https://gateway.pipeworx.io/predictit/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 9, 2026