Ephemeris MCP server
OfficialEphemeris MCP server lets an AI agent forecast numeric time series with prediction intervals using a panel of zero-shot time-series foundation models, and check model availability and credit usage.
forecast— predict/project 1–64 numeric series in one call (sales, demand, traffic, load, prices, sensors, metrics), each univariate or multivariate, all sharing one horizon and quantile set.Three modes:
route(Ephemeris picks the best model, falls back to a small ensemble),ensemble(run all compatible models and blend — most accurate, highest cost),explicit(run one model named inmodel, must come fromlist_models).ensembleoptions:top_k(cap participating models, ≤16) andcombine(mixturedistribution average, orvincentizequantile average).Optional
covariateswithpastandfuturechannels; only models advertisingcovariates: truecan use them (narrows the panel in route/ensemble, errors in explicit).Controls:
horizon1–4096 steps (README says up to 512 — treat this as a doc/schema discrepancy),quantilesup to 21 levels strictly in (0,1),context_len1–16384 points per variate (billed, truncated at the model's cap),freq(e.g. "H", "D", "15min") to improve routing/seasonality.idempotency_key(8–128 chars) replays a stored result on retry without charging again.Returns structured JSON:
forecasts(one entry per input series, quantile-keyed arrays,nullfor values a model couldn't produce) andmeta(request ids,models_used, per-model weight revisions, per-model latency, and billing:settled_mccharged /balance_mcremaining).Spends credits on every successful call; not read-only or idempotent.
list_models— discover the live panel: health, capabilities (multivariate,covariates,max_horizon,auto_max_horizon), ensemble weight per horizon, pinned vs actually served weight revision (Hugging Face commit), price per thousand series-slots in millicredits, and billing context cap. Intended as the prerequisite beforeexplicitmode, since the deployed panel can differ from docs.get_balance— spendable credit balance in millicredits (1000 mc = 1 credit), excluding credits held by in-flight forecasts, plusactive_holds_mc.get_usage— paginated request log (newest first, 1–200 rows per page vialimit/offset) showing mode, models used, series count, horizon, credits estimated and settled, HTTP status and latency, withpagination.next_offsetfor paging.
Provides access to Amazon's Chronos-2 zero-shot forecasting foundation model via the chronos2 model name, enabling time-series forecasting with prediction intervals.
Provides access to Datadog's Toto 2 zero-shot forecasting foundation model via the toto2-313m model name, enabling time-series forecasting with prediction intervals.
Provides access to Google Research's TimesFM 2.5 zero-shot forecasting foundation model via the timesfm25 model name, enabling time-series forecasting with prediction intervals.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ephemeris MCP server Forecast next 6 months of sales from this data with 80% intervals."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ephemeris MCP server: time-series foundation model (TSFM) forecasting for AI agents
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 time-series foundation models (TSFMs) behind one API key, plus an accuracy-weighted ensemble of them:
Model | Publisher | Use by name |
Amazon |
| |
Google Research |
| |
Datadog |
| |
NXAI |
| |
IBM Granite |
| |
IBM Granite |
|
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, better than every model it blends (a few leaderboard entries, including TimesFM-3, score better)
Scored with each benchmark's own harness. Details: ephemeris.cascade.industries/benchmarks.
Tools
Tool | What it does |
| Public hosted server version, nullable build commit and supported artifact schemas; no key or inference |
| Forecast 1 to 64 series in one call: |
| Deterministic interpretation of a saved artifact; no new inference |
| Inline PNG by default, optional SVG, from a saved artifact; no new inference |
| The live panel: health, capabilities, horizon limits, ensemble weights, prices |
| Spendable credits |
| Recent requests and what each cost |
Related MCP server: Nixtla MCP Server
Get an API key
Quickest, from a terminal:
npx ephemeris-mcp loginIt opens Ephemeris in your browser. Sign in (or sign up), check the page shows the same code as your terminal, and approve. The key is saved to ~/.config/ephemeris/credentials, readable by you only, and the stdio bridge below uses it, with no key in your MCP config. The Ephemeris CLI (ephemeris auth login) and savetokens share the same file. npx ephemeris-mcp logout deletes it; revoke the key itself on the dashboard's API keys page.
Or sign up at ephemeris.cascade.industries 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@ephemerisYou 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 , 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
After npx ephemeris-mcp login, no key goes in the config:
{
"mcpServers": {
"ephemeris": {
"command": "npx",
"args": ["-y", "ephemeris-mcp"]
}
}
}Or pass a key explicitly with "env": { "EPHEMERIS_API_KEY": "pc_live_your_key" }; it wins over the saved one.
Claude Code, with the saved key: claude mcp add ephemeris -- npx -y ephemeris-mcp
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 identify the highest median forecast step, without claiming the actual peak distribution."
"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.
Guides
How to give Claude, Cursor or any AI agent a forecasting tool: setup for each client
Forecasting in LangChain, the OpenAI Agents SDK and the Claude API
Why language models are bad at forecasting numbers, and the split that works
Tutorials: store sales, electricity load and solar, ops capacity, sensors and IoT
Reference
Full reference for LLMs: llms-full.txt
API docs: ephemeris.cascade.industries/docs
OpenAPI: openapi-m1.json
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.
Saved forecasts and updates
Retain an idempotency_key before a paid MCP forecast submission. If the outcome is uncertain, retry identical inputs with that key within the server's retention period; a fresh or expired key may incur another charge. Forecasts include an ephemeris.forecast v1 artifact by default. It contains the submitted input history, response, billing information and supplied local context. Save it privately in the client; embedded URNs are not permanent download links or hosted storage.
Pass the complete saved object as artifact to describe_forecast or plot_forecast; neither accepts a local path or URL. Plotting defaults to PNG; use format: "svg" for SVG. These authenticated tools do not run inference or charge for a new forecast. Correcting supplied local labels or plotting a result does not require another forecast. Artifact input is limited to 1 MiB; use the CLI for larger local artifacts. If artifact_status is unavailable, preserve the raw successful result and original request rather than paying to rerun it.
Supply units, timezone, target definition and measurement semantics in context when known. Context reaches the hosted service but is not sent as model input. Ask for missing definitions; do not guess. A horizon counts sampling steps. Quantile bands are nominal marginal intervals: they do not establish calibrated coverage, cumulative intervals, path probabilities or the actual peak distribution. Distinguish observed sales from underlying demand and known future inputs from scenario assumptions. Billing amounts ending in _mc are millicredits (1000 mc = 1 credit).
Hosted MCP updates are deployed centrally. Reconnect or start a new conversation if the client caches its tool list. Existing npm bridges forward the new tools; updating the bridge package is only necessary for changes to the bridge itself. Client transport support and image/attachment rendering vary. The hosted endpoint uses Streamable HTTP; SSE-only clients need compatible transport support.
Version diagnostics: MCP get_version with {} reports the hosted server version, nullable build commit and supported forecast schemas without an API key or inference charge. ephemeris-mcp --version reports this installed npm bridge version offline, not the remote server version. For the standalone CLI, use ephemeris --version or ephemeris version --json. These versions are independent.
Available Tools
4 toolsforecastForecast a time seriesAInspect
Forecast, predict or project one or more numeric time series (sales, demand, traffic, load, prices, metrics, sensor data) with prediction intervals, using Ephemeris' panel of zero-shot foundation models. Mode ensemble is the most accurate: it is level with the top of the TIME benchmark and scores better on GIFT-Eval than any single model in the panel. Returns structured JSON: forecasts (one entry per input series, quantile-keyed arrays) and meta with the request id, models used, the served weight revision per model, and the credits charged and remaining. Spends credits on every successful call.
Inputs: mode (required), series (required), model, top_k, +5 more. Returns: meta, forecasts
get_balanceGet credit balanceARead-onlyIdempotentInspect
Return the account's spendable credit balance in millicredits, excluding credits reserved by in-progress forecasts. 1000 millicredits equal one credit.
Inputs: no named parameters. Returns: balance_mc, active_holds_mc
get_usageGet recent usageBRead-onlyIdempotentInspect
Return the account's forecast request log, newest first, with the mode, models used, series count, horizon, credits estimated and settled, HTTP status and latency of each request.
Inputs: limit, offset. Returns: data, limit, offset, pagination
list_modelsList forecasting modelsARead-onlyIdempotentInspect
Discover the model panel: each model's availability right now (healthy), capabilities (multivariate, covariates, max_horizon, auto_max_horizon), its weight in an ensemble at each horizon, pinned and actually served weight revision, price per thousand series-slots in millicredits and maximum billable context. Call this before using forecast in explicit mode; the deployed panel can differ from any documentation.
Inputs: no named parameters. Returns: models
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: forecasting, checking balance, viewing usage, and discovering models. No overlap or ambiguity between them.
get_balance, get_usage, and list_models follow a consistent verb_noun pattern, while forecast is a verb-only outlier. Still readable and predictable overall.
Four tools are well-scoped for a forecasting service: one core action plus supporting introspection for credits, usage, and model metadata. Each tool earns its place.
Core forecast lifecycle is covered, but there is no way to retrieve a past forecast by request id or cancel an in-progress forecast, which the balance tool hints can exist. Minor gaps an agent can mostly work around.
Maintenance
Related MCP Connectors
PredictOracle - 12 forecasting tools: time-series, scenario analysis, risk projections.
Forecast product demand using historical sales and market signals.
Calibrated probabilistic foresight for AI agents, powered by live prediction-market signal.
Run Welt's tabular, causal and forecasting models on your data. Hosted; OAuth sign-in.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnable any AI agent to forecast time-series data (e.g., sales, traffic) using Google's TimesFM or a zero-dependency statistical baseline.314 PyPIApache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables multitenant time series forecasting and anomaly detection using Nixtla's TimeGPT, with support for fine-tuning, rolling backtests, and usage tracking.MIT
- AlicenseNot gradedqualityDmaintenanceEnables time-series analysis and forecasting through a structured tool catalogue, including data loading, quality repair, diagnostics, and forecasting with ARIMA, exponential smoothing, Chronos-2, Toto 2.0, and AutoML.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables zero-shot demand forecasting for supply-chain decisions, returning mean predictions, quantile bands, and confidence scores via a strictly-typed MCP tool.MIT