Ephemeris Time-Series Forecasting

Probabilistic time-series forecasts from zero-shot foundation models: routed, single or ensembled.

OtherJavaScriptv1.0.1

Ephemeris MCP server: time-series forecasting for AI agents

Add Ephemeris to Cursor

Give Claude, Cursor, ChatGPT or any MCP client the ability to forecast numeric time series with prediction intervals: sales, demand, inventory, web traffic, signups, revenue, energy load, prices, sensor readings, infrastructure metrics.

Ephemeris runs a panel of open-weights, zero-shot forecasting foundation models behind one API key:

ModelPublisherUse by name
Chronos-2Amazonchronos2
TimesFM 2.5Google Researchtimesfm25
Toto 2Datadogtoto2-313m
TiRex-2NXAItirex2
PatchTST-FM r2IBM Granitepatchtst-fm-r2
FlowState r1IBM Graniteflowstate-r1

Send history, get quantile forecasts back. No training, no feature engineering, no GPU. Name a model, let Ephemeris route to the best fit for your data, or use the ensemble, an accuracy-weighted blend of the panel:

  • TIME: level with the top of the leaderboard (MASE 0.639 vs 0.638 for the leader), with the best average MASE rank of 31 models
  • GIFT-Eval: CRPS 0.4662 against seasonal naive, ahead of every open-licence model

Scored with each benchmark's own harness. Details: ephemeris.cascade.industries/benchmarks.

Tools

ToolWhat it does
forecastForecast 1 to 64 series in one call: route, ensemble or explicit mode, any quantiles, optional covariates, horizons up to 512 steps
list_modelsThe live panel: health, capabilities, horizon limits, ensemble weights, prices
get_balanceSpendable credits
get_usageRecent requests and what each cost

Get an API key

Sign up at ephemeris.cascade.industries, add credits, and create a key (pc_live_...) in the dashboard. Pay per forecast, no subscription: pricing.

Connect

Remote server (Streamable HTTP): https://ephemeris.cascade.industries/api/mcp, header Authorization: Bearer pc_live_...

Claude Code (plugin: MCP server plus a forecasting skill)

/plugin marketplace add TensorLink-AI/ephemeris-mcp
/plugin install ephemeris@ephemeris

You are asked for your API key once; it is stored in your system's secure credential store.

Claude Code (server only)

claude mcp add --transport http ephemeris https://ephemeris.cascade.industries/api/mcp \
  --header "Authorization: Bearer pc_live_your_key"

Cursor: one click with Add to Cursor, then replace YOUR_EPHEMERIS_API_KEY with your key in Cursor's MCP settings. Or add it by hand:

Cursor (.cursor/mcp.json) and most clients

{
  "mcpServers": {
    "ephemeris": {
      "url": "https://ephemeris.cascade.industries/api/mcp",
      "headers": { "Authorization": "Bearer pc_live_your_key" }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "ephemeris": {
      "type": "http",
      "url": "https://ephemeris.cascade.industries/api/mcp",
      "headers": { "Authorization": "Bearer pc_live_your_key" }
    }
  }
}

Claude Desktop and other clients that only run local (stdio) servers

{
  "mcpServers": {
    "ephemeris": {
      "command": "npx",
      "args": ["-y", "ephemeris-mcp"],
      "env": { "EPHEMERIS_API_KEY": "pc_live_your_key" }
    }
  }
}

OpenAI Responses API, Anthropic Messages API, Codex, Gemini CLI: see the docs.

Try it

Once connected, ask:

  • "Here are my last 18 months of sales: … Forecast the next 6 months with an 80% interval."
  • "Forecast next week's hourly traffic from this CSV and tell me the likely peak."
  • "Use the ensemble to project daily signups for 90 days; plot the median and the 10th to 90th percentile band."

More in examples/prompts.md. Without MCP, the same forecast is one REST call: examples/rest_forecast.py.

Reference

The code in this repository (the plugin manifest, skill and stdio bridge) is MIT-licensed. The models keep their own licences, listed on each model page.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y ephemeris-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "industries-cascade-ephemeris": {
      "command": "npx",
      "args": [
        "-y",
        "ephemeris-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

ephemeris-mcpnpm

Compatible MCP Clients

Ephemeris Time-Series Forecasting works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More