TSFM research and execution guide

Building an MCP Forecasting Integration

Connect forecasting to MCP with an execution provider you control and explicit model and data contracts.

Model directoryUpstream researchExecution options
A reproducible forecasting decision
1. Define task, cutoff, frequency, and horizon
2. Select checkpoint and revision
3. Verify supported inputs and outputs
4. Compare against a realistic baseline
5. Choose browser or external execution

TSFM provides model information and validated browser execution. External providers own their compute, credentials, and billing.

Decisions that matter

Own the execution behind the tool

An MCP forecasting server is an adapter around a forecasting implementation. It needs a provider or your own deployment; MCP does not supply compute. TSFM no longer offers a public forecasting MCP server. The directory helps choose checkpoints, and the browser playground is a local demo rather than a remote MCP service.

Expose inspectable evidence

Include model identity and revision, input window, cutoff, horizon, frequency, and quantile levels in tool results. Link the upstream model card. Keep data discovery separate from execution so the caller can verify that the series and vintage were appropriate before consuming the result.

Validate the integration

Test authentication, bounded input sizes, timeouts, provider errors, and numerical output shapes. Match tool capabilities to the selected model: a univariate forecast graph cannot accept arbitrary future covariates. Tool names and descriptions should state actual supported tasks rather than a broad list of everything a model family might do.

Understand the execution boundary

Primary sources and related guides

MCP specification

Review the implementation, model contract, and source evidence before adopting a checkpoint.

Open source

Hugging Face Inference Providers

Review the implementation, model contract, and source evidence before adopting a checkpoint.

Open source

Hugging Face custom inference handlers

Review the implementation, model contract, and source evidence before adopting a checkpoint.

Open source

Frequently Asked Questions

Choose a checkpoint and an execution option

Start with the model contract and evidence, then select the runtime that fits your task.