SDK·GitHub·Other
Prediction Market MCP Example
Minimal MCP server that queries prediction markets via SimpleFunctions
Copy-pastable reference implementation of an MCP server backed by the SimpleFunctions API. Shows the minimum wire-up for a stdio MCP server that registers four tools and hands them to any MCP-compatible client.
Use it as a starting point for your own MCP integration, or as a reading reference if you're learning MCP.
Quickstart
Clone the repo, set SF_API_KEY, then point Claude Desktop or Cursor at the built server.
git clone https://github.com/spfunctions/prediction-market-mcp-example
cd prediction-market-mcp-example
npm i && npm run build
Tags
mcpsdkexampleclaudecursor