Predictalot

io.github.psyb0t由 GitHub 帳號 psyb0t 發布v1.2.2更新於 Oct 24, 2026

Self-hosted MCP server for time-series forecasting and tabular ML via foundation models.

已驗證STDIO僅桌面資料與分析AI 與機器學習

概覽

AI 產生的概覽

自架式的預測服務,透過 MCP 端點提供零樣本時間序列基礎模型與表格機器學習能力。

可以做什麼
  • 以五個時間序列基礎模型在六種依模態區分的預測類型上做零樣本預測,回傳分位數或樣本路徑結果。
  • 依類型組合多個模型做集成預測,並列出可用模型。
  • 釋放常駐模型權重與執行階段快取,或安排在並行預測結束後卸載。
  • 依模型 ID 在伺服器端訓練並保存表格學習器,並對最新特徵快照做預測(僅限 HTTP,不經 MCP)。
適用情境
適合助理需要對數值序列或自行建構的特徵做預測、又不想先訓練模型的情境,前提是你願意用 Docker 自行執行這個服務。表格訓練與預測目前需要直接呼叫 HTTP 介面,而非 MCP 工具。
執行需求
需要本機 Docker 執行容器映像,對外開放連接埠(例如 8080)並掛載用於模型儲存的磁碟區。服務透過 PREDICTALOT_* 環境變數設定,其中包含驗證權杖變數;以 stdio 橋接的 MCP 用戶端還需設定 PREDICTALOT_URL 與權杖變數。需要能連線容器端點的網路。
安裝前請注意
服務由環境變數提供的 Bearer 權杖保護,應設定強式密碼而非範例佔位值。訓練會在伺服器端保存模型,卸載呼叫會釋放常駐模型記憶體,可能影響進行中的預測。模型權重會下載並存入掛載的磁碟區,佔用磁碟空間。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Predictalot,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

predictalot

[CI] [version] [license] [Docker Pulls]

One HTTP service, two model families, zero ceremony.

  • Foundation time-series — 5 zero-shot forecasters (chronos-2, timesfm-2.5, moirai-2, toto-1, sundial-base-128m). Hand them a context window, get quantile or sample-path forecasts. No training step. Six modality-specific endpoints under /v1/timeseries/<type>/.
  • Model lifecycle — POST /v1/models/unload releases all resident foundation-model weights and runtime caches. A forecast body with "unload": true schedules its model for teardown after concurrent forecasts using that model finish.
  • Tabular ML — 9 supervised learners (lightgbm, xgboost, hist-gbt, random-forest, logistic, mlp, svm-rbf, knn, naive-bayes) + 3 meta-learners (calibrated, stacking, diversified). Train on YOUR engineered features, persist server-side by modelId, forecast on the latest snapshot. Under /v1/tabular/.
  • MCP — streamable-HTTP tools at /mcp. One named tool per (FM type, model) cell plus per-type ensemble + listing. Tabular endpoints are HTTP-only for now.

Quick start

bash
docker run -d --name predictalot \  -v $HOME/predictalot-models:/models \  -e PREDICTALOT_AUTH_TOKENS=changeme \  -p 8080:8080 \  psyb0t/predictalot:latest
# Zero-shot FM forecastcurl -s http://localhost:8080/v1/timeseries/univariate/forecast \  -H "Authorization: Bearer changeme" -H "Content-Type: application/json" \  -d '{"model":"chronos-2","context":[[10,11,12,13,14,15,16,17,18,19,20]],"config":{"horizon":5}}' | jq
# Train + persist a tabular model on your own featurescurl -s http://localhost:8080/v1/tabular/train \  -H "Authorization: Bearer changeme" -H "Content-Type: application/json" \  -d '{"modelId":"my-model","backend":"lightgbm","target":[[100,101,99,...]],       "features":[{"rsi":[55,58,...],"macd":[0.3,0.4,...]}],       "config":{"mode":"direction","horizon":3,"nEstimators":400}}' | jq
# Then forecast on the latest snapshotcurl -s http://localhost:8080/v1/tabular/forecast \  -H "Authorization: Bearer changeme" -H "Content-Type: application/json" \  -d '{"modelId":"my-model","features":[{"rsi":[58],"macd":[0.4]}]}' | jq
# Release all resident foundation-model memory when it is no longer neededcurl -s -X POST http://localhost:8080/v1/models/unload \  -H "Authorization: Bearer changeme" | jq

Documentation

DocWhat it covers
docs/timeseries.mdFoundation time-series API. All 5 models (capabilities + per-model quirks + what each is recommended for), all 6 forecast types, per-type ensemble with weights + memberOverrides, extra per-call hatch, /models listings.
docs/tabular.mdTabular ML API. All 9 backends (what each is recommended for), 3 modes (direction / value / quantile), tier-1/2/3 config knobs, the 3 meta-learners (calibrated / stacking / diversified), storage layout.
docs/mcp.mdMCP streamable-HTTP server: tool naming, args, current scope (FM only).
docs/configuration.mdEvery PREDICTALOT_* env var.
docs/architecture.mdMulti-venv sidecar pattern for sundial, CPU vs CUDA images, multi-stage build.
docs/accuracy.mdBenchmark sMAPE + latency on academic + real-world datasets. Honest takeaways including which models lose.
docs/errors.mdError contract: 400 / 401 / 404 / 413 / 422 / 503 shapes.

CHANGELOG.md tracks per-version changes.

Agent integrations

The skill works in any agent that reads .agents/skills/ (such as peen), and installs natively in the clients below.

Claude Code

bash
claude plugin marketplace add psyb0t/agentsclaude plugin install predictalot@psyb0t

Claude Code prompts for the predictalot URL and, if auth is enabled, the token — the token is stored in your OS keychain.

Codex

bash
codex plugin marketplace add psyb0t/agentscodex plugin add predictalot@psyb0t

Installed via the marketplace, the skill invokes as $predictalot:predictalot. Codex also picks the skill up automatically, with no install, in any repo containing .agents/skills/ — there it invokes as plain $predictalot.

OpenClaw

The skill is published to ClawHub on every release:

bash
openclaw skills install @psyb0t/predictalot

For MCP clients that speak local stdio, the @psyb0t/predictalot plugin bridges to predictalot's /mcp endpoint:

bash
openclaw plugins install clawhub:@psyb0t/predictalot

Then set PREDICTALOT_URL (and PREDICTALOT_AUTH_TOKENS if the server requires one).

License

Code: WTFPL (see LICENSE). The MCP plugin under .agents/plugins/predictalot/ is MIT (its own LICENSE). Foundation models retain their upstream licenses — chronos-2 / timesfm-2.5 / toto-1 / sundial-base-128m: Apache 2.0; moirai-2: CC-BY-NC-4.0 (non-commercial). Tabular backends use their upstream licenses — lightgbm / xgboost / scikit-learn: permissive. Review each before commercial use.

來源:README.md,提交 7acba95

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

4
  1. v1.2.2最新Oct 10, 2026
  2. v1.2.1Sep 25, 2026
  3. v1.2.0Sep 24, 2026
  4. v1.1.9Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分