Skip to main content
Glama

SimpleFunctions CLI

npm version license simplefunctions-cli MCP server

Prediction market intelligence from the terminal. Build causal thesis models, scan Kalshi & Polymarket for mispricings, and trade.

Install

npm i -g @spfunctions/cli
sf setup

Key Commands

Command

What it does

sf list

List your theses with confidence scores and status

sf context <id> --json

Full thesis state as structured JSON (for agents)

sf scan "topic"

Search Kalshi/Polymarket markets by keyword

sf edges

Top mispricings across all your theses

sf signal <id> "news"

Inject a signal for the next evaluation cycle

sf agent

Interactive agent with natural language + tool calling

All commands support --json for machine-readable output.

MCP Server

Connect SimpleFunctions to Claude, Cursor, or any MCP-compatible client:

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

Listed on the MCP Registry.

Documentation

Full docs, API reference, and guides: simplefunctions.dev/docs

License

MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spfunctions/simplefunctions-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server