Skip to main content
Glama

SimpleFunctions CLI (sf)

@spfunctions/cli 的参考与问题镜像,这是用于预测市场基础设施的受支持 SimpleFunctions 命令行界面。

当前的 CLI 通过 npm 分发。安装该包并将已安装的 sf 二进制文件视为事实来源:

npm i -g @spfunctions/cli
sf login
sf status --json
sf world --json
sf describe --all --json

sf 是 SimpleFunctions 的主要本地交互界面。它查询 Kalshi 和 Polymarket 的实时状态,检查市场和订单簿,为编码代理导出结构化 JSON,运行论点和投资组合工作流,并保持执行命令的明确性和权限控制。

本仓库的作用

  • npm 包的公共参考页面。

  • @spfunctions/cli 的问题追踪器。

  • 当前 sf 界面的安装、支持和发现入口。

Related MCP server: MCP Predictive Market

本仓库不包含的内容

  • 它不是当前的完整操作运行时源代码树。

  • 它不是规范的命令清单。

  • 不应使用它来推断当前的命令数量、市场数量或执行行为。

请使用 sf describe --all --json 获取已安装的命令清单。请使用 https://simplefunctions.dev/api/internal/statistics 获取当前的公共界面统计数据。

第一个实用工作流

sf status --json
sf world --json
sf discover --quality --json
sf inspect <ticker> --json

如果已安装的版本中缺少某个命令,请运行:

npm i -g @spfunctions/cli@latest
sf describe --all --json

产品界面层级

  1. CLI:面向人类、Shell 脚本、cron、Claude Code、Codex 及其他编码代理的主要本地控制平面。

  2. HTTP/Data API:面向服务、仪表板、笔记本和远程工作者的网络界面。

  3. SDK 和代理运行时:计划在稳定的 CLI/API 对象契约之上构建的封装器。

  4. MCP:仅针对 MCP 主机的兼容性适配器,并非产品的核心中心。

链接

许可证

公共镜像采用 MIT 许可证。受支持的 npm 发行版可能包含私有的 SimpleFunctions 运行时代码。

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
1dRelease cycle
3Releases (12mo)
Commit activity

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables interaction with the Kalshi prediction market platform through their REST API. Supports trading and market operations with secure RSA key authentication for both production and demo environments.
    25
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    Aggregates prediction market data from 5 major platforms (Manifold, Polymarket, Metaculus, PredictIt, Kalshi), enabling users to search markets, compare odds across platforms, detect arbitrage opportunities, and track predictions through natural language.
    8
    3
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI-powered tools for searching Polymarket prediction markets and calculating financial metrics like expected value and Kelly bet sizing. It enables users to perform arbitrage scanning, news-based sentiment analysis, and market research through natural language interfaces.
  • A
    license
    A
    quality
    D
    maintenance
    Prediction market probability oracle for AI agents. 26 tools across 500+ live markets from Kalshi and Polymarket. Cross-source arbitrage detection, structured TPF signals, Kelly Criterion sizing, agent performance tracking, and webhook alerts.
    9
    61
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Machine-payable prediction-market briefs and probability-change monitoring for AI agents.

  • Polymarket + Hyperliquid + macro for AI agents. 38 tools, signal backtest, SSE streaming. Free tier.

  • Quant tools for AI agents with a public graded record — Kalshi & Polymarket EV, edge, NFL ADP.

View all MCP Connectors

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