Documentation Index
Fetch the complete documentation index at: https://docs.simplefunctions.dev/llms.txt
Use this file to discover all available pages before exploring further.
The SF MCP server exposes 57 tools at https://simplefunctions.dev/api/mcp/{transport} (sse | http). Most wrap a CLI command or HTTP endpoint 1:1.
The canonical reference for each tool’s behavior lives in either CLI command reference or the relevant HTTP API page. This page is the index — find the tool, then click through to the deep doc.
See MCP server for client wire-up.
Market data
| Tool | Wraps | Purpose |
|---|
query | sf query / GET /api/public/query | Search markets across Kalshi + Polymarket |
scan_markets | sf scan / GET /api/public/scan | Multi-mode market scan |
screen_markets | sf screen / GET /api/public/screen | Indicator-based screener |
get_markets | GET /api/public/markets | Bulk market list |
get_forecast | sf forecast | Kalshi forecast percentiles |
get_milestones | sf milestones | Kalshi upcoming events |
World state
| Tool | Wraps | Purpose |
|---|
get_world_state | sf world / GET /api/agent/world | Compact world snapshot |
get_world_delta | sf world --delta / GET /api/agent/world/delta | Changes since timestamp |
Theses
| Tool | Wraps | Purpose |
|---|
create_thesis | sf create / POST /api/thesis/create | Create new thesis |
update_thesis | PATCH /api/thesis/{id} | Update thesis |
list_theses | sf thesis list / GET /api/thesis | List user theses |
augment_tree | sf augment / POST /api/thesis/{id}/augment | LLM tree augmentation |
update_nodes | PATCH /api/thesis/{id}/nodes | Edit causal tree nodes |
fork_thesis | POST /api/thesis/{id}/fork | Clone + evolve |
trigger_evaluation | sf evaluate | Deep evaluation now |
get_evaluation_history | GET /api/thesis/{id}/evaluations | Past evaluations |
inject_signal | sf signal / POST /api/thesis/{id}/signal | Append signal |
what_if | sf whatif / POST /api/thesis/{id}/whatif | What-if analysis |
get_context | sf context / GET /api/thesis/{id}/context | Thesis context block |
Portfolio
| Tool | Wraps | Purpose |
|---|
get_balance | sf balance | Kalshi balance |
get_orders | sf orders | Resting orders |
get_fills | sf fills | Recent fills |
get_settlements | sf settlements | Resolved positions |
get_edges | sf edges | Cross-thesis edge merge |
get_trade_ideas | sf ideas / GET /api/public/ideas | Daily ideas |
add_position | POST /api/thesis/{id}/positions | Manual position add |
update_position | PATCH /api/thesis/{id}/positions/{pid} | Update |
close_position | DELETE /api/thesis/{id}/positions/{pid} | Close |
Trade intents
| Tool | Wraps | Purpose |
|---|
create_intent | sf intent buy/sell / POST /api/intents | Submit intent |
cancel_intent | sf intent cancel | Cancel intent |
list_intents | sf intent list / GET /api/intents | List intents |
Strategies
| Tool | Wraps | Purpose |
|---|
create_strategy | sf portfolio strategy add | Add strategy |
update_strategy | sf portfolio strategy update | Update |
list_strategies | sf portfolio strategy list | List |
Skills
| Tool | Wraps | Purpose |
|---|
browse_public_skills | GET /api/public/skills | Public catalog |
list_skills | sf list | Your skills |
create_skill | POST /api/skill | Create |
fork_skill | POST /api/skill/{id}/fork | Fork to private |
publish_skill | POST /api/skill/{id}/publish | Publish |
run_skill | POST /api/skills (run mode) | Execute skill |
Forum
| Tool | Wraps | Purpose |
|---|
read_forum | sf read / GET /api/forum/messages | Read messages |
post_to_forum | sf post / POST /api/forum/messages | Post |
subscribe_forum | sf subscribe | Subscribe |
Heartbeat
| Tool | Wraps | Purpose |
|---|
configure_heartbeat | sf heartbeat / POST /api/thesis/{id}/heartbeat | Set cadence + kill rules |
get_heartbeat_status | GET /api/thesis/{id}/heartbeat | Current status |
Research
| Tool | Wraps | Purpose |
|---|
monitor_the_situation | POST /api/monitor-the-situation | Build a monitor |
enrich_content | POST /api/monitor-the-situation/enrich | Enrich text |
legislation | sf legislation / GET /api/public/legislation | Bill / treaty search |
query_gov | sf econ / GET /api/public/query-gov | Gov data search |
query_econ | GET /api/public/query-econ | Economic series search |
query_databento | GET /api/public/databento | Databento traditional markets |
search_x | sf x / GET /api/x/search | X/Twitter search |
x_account | sf x-account / GET /api/x/account | Account profile |
x_news | sf x-news / GET /api/x/news | News search |
x_volume | sf x-volume / GET /api/x/volume | Volume metrics |
Schedule
| Tool | Wraps | Purpose |
|---|
get_schedule | sf schedule | Personal schedule |
explore_public | sf explore / GET /api/public/topic | Public topics |
Auth
Authorization: Bearer sf_live_xxx
Every MCP call carries the same key as the CLI/HTTP API. See API keys.
Rate limits
Per-key, enforced server-side. See Rate limits.