loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

prediction-market-mcp-example

MCP Tool

spfunctions/prediction-market-mcp-example

Minimal MCP server that queries prediction markets via SimpleFunctions API

Install

$ npx loaditout add spfunctions/prediction-market-mcp-example

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "prediction-market-mcp-example": {
      "command": "npx",
      "args": [
        "-y",
        "prediction-market-mcp-example"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

prediction-market-mcp-example

A minimal MCP server (~50 lines) that gives any LLM access to prediction market data.

Tools

| Tool | Description | |------|-------------| | search_markets | Search Kalshi & Polymarket by keyword | | get_market_context | Structured context about a topic | | get_price_changes | Recent significant price movements |

Setup
npm install
Run with Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "prediction-markets": {
      "command": "npx",
      "args": ["tsx", "index.ts"],
      "cwd": "/path/to/this/repo"
    }
  }
}
Run with Claude Code
claude mcp add prediction-markets "npx tsx index.ts"

Or use the hosted SimpleFunctions MCP server directly:

claude mcp add simplefunctions --url https://simplefunctions.dev/api/mcp/mcp
How it works

The server uses the SimpleFunctions public API to query prediction market data and exposes it as MCP tools. Any MCP-compatible client (Claude, Cursor, etc.) can call these tools.

License

MIT

---

Part of [SimpleFunctions](https://simplefunctions.dev) — context flow for prediction markets.

  • Awesome Prediction Markets — curated list for developers
  • CLI — 42 commands for prediction market intelligence
  • MCP Server — connect any LLM to prediction markets
  • REST API — structured market data for your app

Tags

ai-agentsclaudekalshimcpmcp-serverpolymarketprediction-marketstypescript

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated12 days ago
Security: AREADME
New

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit4/2/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/spfunctions/prediction-market-mcp-example)](https://loaditout.ai/skills/spfunctions/prediction-market-mcp-example)