Tatum Prediction Markets MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Tatum Prediction Markets MCP or direct API to search prediction markets, compare prices, inspect order books, and analyze trades through natural language.

Tatum Prediction Markets logoTatum Prediction Markets
Api Key

Tatum Prediction Markets is a read-only API for Polymarket and Kalshi event and market data. It provides cross-platform prices, order books, trades, and prediction market analytics.

18 Tools

Try Tatum Prediction Markets now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Tatum Prediction Markets
Try asking
TOOLS

Supported Tools

Every Tatum Prediction Markets action and event your agent gets out of the box.

Get Prediction Event

Get one Polymarket or Kalshi event by its platform-native event ID, optionally including full market objects.

Get Prediction Market

Get full metadata and current outcome prices for one Polymarket or Kalshi market by its platform-native market ID.

Get Market Orderbook

Get bid and ask levels for the YES or NO side of one Polymarket or Kalshi market.

Get Market Price

Get the latest YES and NO prices, best bid and ask, spread, and recent-trade summary for one Polymarket or Kalshi market.

Get Market Price History

Get OHLC price candles for one Polymarket or Kalshi market over a bounded time window; midpoint source is Polymarket-only.

Get Polymarket Wallet Markets Traded

Get the lifetime number of distinct Polymarket markets an EVM wallet has traded.

Get Polymarket Wallet Portfolio

Get a Polymarket-only wallet portfolio summary with live open-position metrics and period-based closed-position aggregates.

Get Polymarket Wallet Value

Get the total USD notional of currently open positions for a Polymarket EVM wallet, optionally limited to selected Polymarket condition IDs.

List Prediction Events

List one page of prediction-market events from Polymarket or Kalshi, optionally including their markets; Polymarket-only filters require platform=polymarket.

List Prediction Markets

List one page of prediction markets from Polymarket or Kalshi with platform, event, timing, and liquidity filters; Polymarket-only filters require platform=polymarket.

List Market Positions

List Polymarket holders for each outcome of a market, with wallet and lifecycle filters, configurable ordering, and per-outcome offset pagination.

List Market Trades

List one page of recent trade fills for a Polymarket or Kalshi market; optional time bounds are supported only for Kalshi.

List Top Traders

List one offset-controlled page of the Polymarket top-traders leaderboard, ranked by profit and loss or trading volume for a category and lookback window.

List Wallet Activity

List one offset-controlled page of all Polymarket wallet events, including trades, token operations, rewards, rebates, and referrals, with market and Unix-time filters.

List Wallet History

List one offset-based page of closed and resolved positions for a Polymarket wallet, including realized PnL and settlement metadata.

List Wallet Positions

List one offset-controlled page of current open positions for a Polymarket EVM wallet, with market filters, values, and realized and unrealized PnL.

List Wallet Trades

List one offset-controlled page of Polymarket wallet trade fills, with trade direction, market and outcome metadata, and optional profile fields.

Search Polymarket Entities

Search Polymarket-only events, tags, and trader profiles in one request.

SETUP GUIDE

Connect Tatum Prediction Markets MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["tatum_prediction_markets"],
  mcp: true,
});
Create a session scoped to Tatum Prediction Markets and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Find the current Polymarket market for the 2028 U.S. presidential election and report its prices, order book, and recent trades.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Tatum Prediction Markets request
SETUP GUIDE

Connect Tatum Prediction Markets API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["tatum_prediction_markets"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Tatum Prediction Markets
3

Run Tatum Prediction Markets tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Find the current Polymarket market for the 2028 U.S. presidential election and report its prices, order book, and recent trades." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Tatum Prediction Markets tool calls through the session, and print the final answer

Why Use Composio?

AI Native Tatum Prediction Markets Integration

  • Supports both Tatum Prediction Markets MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading events, markets, prices, order books, price history, trades, positions, and wallet analytics

Managed Auth

  • Secure API key handling for Tatum Prediction Markets requests
  • Central place to manage, scope, and revoke Tatum Prediction Markets access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Tatum Prediction Markets
  • Scoped, least privilege access to Tatum Prediction Markets resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Tatum Prediction Markets with any AI Agent Framework

Choose a Framework you want to connect Tatum Prediction Markets with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Tatum Prediction Markets.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Tatum Prediction Markets tool your agent needs.Free to start.

Start building