spfunctions/prediction-market-mcp-example
Minimal MCP server that queries prediction markets via SimpleFunctions API
Platform-specific configuration:
{
"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.
A minimal MCP server (~50 lines) that gives any LLM access to prediction market data.
| Tool | Description | |------|-------------| | search_markets | Search Kalshi & Polymarket by keyword | | get_market_context | Structured context about a topic | | get_price_changes | Recent significant price movements |
npm installAdd to claude_desktop_config.json:
{
"mcpServers": {
"prediction-markets": {
"command": "npx",
"args": ["tsx", "index.ts"],
"cwd": "/path/to/this/repo"
}
}
}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/mcpThe 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.
MIT
---
Part of [SimpleFunctions](https://simplefunctions.dev) — context flow for prediction markets.
Loading reviews...