SDK·npm·MIT
SimpleFunctions CLI
Prediction market infrastructure CLI — 42 commands, MCP server, REST API
Install
npm i -g @spfunctions/cliA production CLI that makes prediction-market automation first-class in your shell. Connect to Kalshi + Polymarket, scan 130K markets, run thesis evaluations against a causal-tree probability model, backtest strategies, automate market-making, and execute trades — all from 42 commands.
Also exposes itself as an MCP server and a REST API so you can plug the same functionality into Claude, Cursor, or any agent runtime.
Quickstart
npm i -g @spfunctions/cli
sf auth login
sf scan oil --venue kalshi --top 10
Run sf help for the full command map, or sf mcp start to expose the CLI as an MCP server to any compatible agent client.
Tags
climcpkalshipolymarkettypescriptagent