https://github.com/spfunctions/simplefunctions-cli
CLI for SimpleFunctions thesis engine — scan prediction markets, detect edges, trade from terminal
https://github.com/spfunctions/simplefunctions-cli
ai-agents edge-detection kalshi mcp polymarket prediction-markets thesis-engine trading-cli
Last synced: about 2 months ago
JSON representation
CLI for SimpleFunctions thesis engine — scan prediction markets, detect edges, trade from terminal
- Host: GitHub
- URL: https://github.com/spfunctions/simplefunctions-cli
- Owner: spfunctions
- License: mit
- Created: 2026-03-14T15:28:55.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-03-21T10:24:12.000Z (2 months ago)
- Last Synced: 2026-03-30T03:12:49.350Z (2 months ago)
- Topics: ai-agents, edge-detection, kalshi, mcp, polymarket, prediction-markets, thesis-engine, trading-cli
- Language: TypeScript
- Homepage: https://simplefunctions.dev
- Size: 1.24 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-quant - SimpleFunctions - `JavaScript` - Prediction market intelligence CLI for Kalshi and Polymarket. Causal thesis models, edge detection, 24/7 orderbook monitoring, what-if scenarios, and trade execution. MCP server for AI agent integration. (Prediction Markets)
- awesome-prediction-markets - SimpleFunctions CLI
README
# SimpleFunctions CLI
[](https://www.npmjs.com/package/@spfunctions/cli)
[](https://github.com/spfunctions/simplefunctions-cli/blob/main/LICENSE)
[](https://glama.ai/mcp/servers/spfunctions/simplefunctions-cli)
Prediction market intelligence from the terminal. Build causal thesis models, scan Kalshi & Polymarket for mispricings, and trade.
## Install
```bash
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 --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 "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:
```bash
claude mcp add simplefunctions --url https://simplefunctions.dev/api/mcp/mcp
```
Listed on the [MCP Registry](https://registry.modelcontextprotocol.io).
## Documentation
Full docs, API reference, and guides: **[simplefunctions.dev/docs](https://simplefunctions.dev/docs)**
## License
MIT