Skip to main content
Glama

forecast-mcp

CI

Give any AI agent time-series forecasting superpowers.

An MCP server that lets Claude Code, Claude Desktop, Cursor, or any MCP client forecast a series of numbers — sales, traffic, usage, costs — and reason about the result. Powered by Google's TimesFM 2.5 foundation model, with a zero-dependency statistical baseline so it works the moment you install it.

Why

LLM agents can read, write, and run code — but they can't see the future. This gives them a clean forecast tool. The agent calls it, gets point forecasts + uncertainty bands + a compact trend/seasonality summary, and writes the explanation and recommendation itself.

Quickstart (30 seconds)

uvx forecast-mcp        # runs over stdio for local agents

Add to your Claude Desktop / Claude Code config:

{
  "mcpServers": {
    "forecast": { "command": "uvx", "args": ["forecast-mcp"] }
  }
}

Then ask your agent: "Forecast the next 6 months from this revenue data and tell me what to expect."

Enable the foundation model

pip install "forecast-mcp[timesfm]"

The server auto-detects TimesFM and uses it; otherwise it runs the baseline.

Tools

Tool

What it does

forecast

Forecast a single series with optional uncertainty bands.

list_backends

Report which engine is active (timesfm / baseline).

backtest

Hold out the last N points and compare TimesFM vs baseline performance (MAE/MAPE).

License

Apache-2.0

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/ramdhavepreetam/forecast-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server