# Forecast-Anything — Deterministic 5-Domain Time-Series Forecast, Anomaly & SVG Backtest Engine > Deterministic, pure Python 3 standard-library time-series forecasting, anomaly detection, and rolling holdout backtest engine at https://forecast.fastmesh.dev exposing E-Commerce Safety Stock/EOQ/ROP (`ecommerce_rop`), SaaS MRR/ARR/NRR/Runway (`saas_mrr`), Cloud/GPU/LLM Budget Breach P50/P90/P99 (`cloud_budget`), Concurrent 100-SKU Batch CSV Anomaly Z-Score/IQR/CUSUM (`batch_anomaly`), and Rolling Backtest + XML SVG Chart (`backtest_svg`) over HTTP REST (`POST /forecast`, `POST /forecast/batch`), native Streamable MCP (`POST /mcp`), Causal Bazaar (`c14_forecast_anything_v1`), and `treg hub` (0% seller commission). Every valid response emits a tamper-evident SHA-256 `ForecastReceipt` with strict `$0` billing on HTTP `422` invalid inputs, empty results, or over-budget skips. ## Disclaimer, Core Guarantees & Trust Policy - **Non-Investment-Advice Software Disclaimer**: Forecast-Anything provides deterministic statistical time-series forecasting software tooling only. NOT securities, financial, or investment advice, and provides NO return, revenue, or profit guarantee. - **100% Pure Python 3 Standard Library**: Zero `numpy`, `scipy`, `pandas`, or external ML weights; deterministic ensemble blending Additive/Multiplicative Holt-Winters, Damped Linear Trend, and Classical Seasonal Decomposition. - **Strict `$0` Billing on HTTP 422 / Miss / Error**: Empty series, non-numeric or `NaN`/`Inf` values, `horizon <= 0`, `seasonal_period <= 0`, sentinel placeholders, or over-budget batch items strictly record `charged_micros = 0` and `billed_micros = 0`. - **Cross-Tenant 7d-30d Adaptive Archive Cache & 10% Recheck Tier**: Deterministic forecasts enter a SQLite WAL archive cache (`7d` initial TTL expanding `1.5x` up to `30d`). Same-tenant rechecks (`recheck=true`) bill 10% of base domain price; new-tenant cache hits bill 100%. - **Zero Customer Data Resale**: Customer SKU velocities, SaaS MRR cohorts, and cloud/GPU spend telemetry are never sold, licensed, or reused to train third-party models. - **Support**: `ops@fastmesh.dev` ## Endpoints & Agent Discovery - [Web Console & 5-Second Try-Now](https://forecast.fastmesh.dev/): Zero-signup interactive console with 1-click presets for all 5 forecasting domains and live XML `` confidence charts. - [Health Check](https://forecast.fastmesh.dev/health): Live service health and active domain readiness (`GET /health`). - [Single Forecast Endpoint](https://forecast.fastmesh.dev/forecast): Polymorphic 5-domain deterministic forecast returning a signed `ForecastReceipt` (`POST /forecast`). - [Batch CSV Waterfall Endpoint](https://forecast.fastmesh.dev/forecast/batch): Concurrent 100+ series CSV/JSON batch forecasting & Z-score/IQR/CUSUM anomaly scan with hard `max_budget_micros` guard (`POST /forecast/batch`). - [Receipt Archive Lookup](https://forecast.fastmesh.dev/receipt/{receipt_id}): Retrieve stored tamper-evident `ForecastReceipt` by ID (`GET /receipt/{receipt_id}`). - [Native Streamable MCP Endpoint](https://forecast.fastmesh.dev/mcp): JSON-RPC 2.0 MCP server (`initialize`, `tools/list`, `tools/call`: `forecast_series`, `forecast_batch_csv`, `forecast_verify_receipt`, `forecast_catalog`). - [OpenAPI 3.1.0 Specification](https://forecast.fastmesh.dev/openapi.json): Complete machine-readable REST + MCP schema. - [Agent Skill Playbook](https://forecast.fastmesh.dev/skill.md): Flat REST/MCP/Treg Hub invocation instructions and offline SHA-256 `verify_receipt()` code. - [All Technical Guides Index](https://forecast.fastmesh.dev/guides): Directory of all 26 English SEO/GEO engineering guides. - [Creem Payment Webhook](https://forecast.fastmesh.dev/webhooks/creem): HMAC-SHA256 verified idempotent prepaid credit top-up handler. ## 5 Polymorphic Forecasting Domains & Micro-USD Pricing - **`ecommerce_rop`** (E-Commerce Safety Stock, EOQ & Reorder Point (ROP) Engine): `$0.020` (`20000` micros) per call; `$0.0020` (`2000` micros) 10% same-tenant recheck — 30-90 day SKU demand forecast, safety stock (z * sigma_d * sqrt(lead_time) for 95%/99% service levels), Economic Order Quantity (EOQ), Reorder Point (ROP), projected stockout date, and order_now alert. - **`saas_mrr`** (SaaS MRR, ARR, NRR & Cash Runway Predictor): `$0.020` (`20000` micros) per call; `$0.0020` (`2000` micros) 10% same-tenant recheck — Monthly new, expansion, contraction, and churned MRR or cohort CSV ingestion producing deterministic 12-month ARR trajectory, NRR trend, cash runway months, and churn spike alerts. - **`cloud_budget`** (Cloud, GPU & LLM Token Budget Breach Alert Engine): `$0.020` (`20000` micros) per call; `$0.0020` (`2000` micros) 10% same-tenant recheck — Hourly or daily infrastructure/GPU/LLM token spend forecasting with weekday/weekend decomposition, end-of-month P50/P90/P99 spend intervals, and exact projected budget breach date. - **`batch_anomaly`** (Multi-Series Batch CSV Forecast & CUSUM/Z-Score Anomaly Detector): `$0.060` (`60000` micros) per call; `$0.0060` (`6000` micros) 10% same-tenant recheck — Concurrent batch forecasting and residual Z-score, IQR, and two-sided CUSUM change-point detection across 100+ SKUs or operational metrics with hard max_budget_micros guard. - **`backtest_svg`** (Rolling Holdout Backtest, SVG Chart & SHA-256 Receipt Engine): `$0.040` (`40000` micros) per call; `$0.0040` (`4000` micros) 10% same-tenant recheck — Rolling-origin holdout backtest (MAPE, sMAPE, RMSE), inverse-error ensemble weighting across Holt-Winters, damped trend, and decomposition, valid XML chart, and SHA-256 receipt. ## Tamper-Evident SHA-256 ForecastReceipt Verification - Every response includes `receipt_id`, `domain`, `target`, `verdict` (`VERIFIED` | `ALERT` | `INCONCLUSIVE`), `confidence`, `disclaimer`, `evidence_sources[]`, `checks[]`, `payload_sha256`, `sha256_attestation`, `charged_micros`, `billed_micros`, `base_price_micros`, `cache_hit`, `cache_tier`, `timestamp_utc`, `zero_bill_reason`, and `details`. - Verify offline with zero network calls: remove `sha256_attestation`, `ok`, and `http_status`, serialize remaining fields with `json.dumps(..., sort_keys=True, separators=(',', ':'), ensure_ascii=False)`, compute SHA-256 hex digest, and compare constant-time against `sha256_attestation`. - Or invoke MCP tool `forecast_verify_receipt` at `https://forecast.fastmesh.dev/mcp`. ## Creem Prepaid Credit Packs (Non-Expiring, One-Time) - **Starter (`$19`)**: `sku_forecast_starter_19` — 1,000 non-expiring credits (`$20.00` value, `20,000,000` micros) — https://www.creem.io/product/prod_forecast_anything_starter_19 - **Growth (Recommended) (`$79`)**: `sku_forecast_growth_79` — 10,000 non-expiring credits (`$200.00` value, `200,000,000` micros) — https://www.creem.io/product/prod_forecast_anything_growth_79 - **Scale (`$199`)**: `sku_forecast_scale_199` — 40,000 non-expiring credits (`$800.00` value, `800,000,000` micros) — https://www.creem.io/product/prod_forecast_anything_scale_199 ## Multi-Channel Distribution - **Causal Bazaar Public Card**: `c14_forecast_anything_v1` (`hand_id: c14_forecast_anything_hand_v1`, `is_public=1`, `price_micros=40000`, runner `run_hand.py`). - **Treg Hub 0%-Commission Recipe**: `forecast-anything` (`treg_hub/recipe.json`, `treg_hub/run.js`, `treg_hub/check.json`, `commission_pct=0`, strict `$0` on HTTP 422/miss/error). ## Technical Forecasting & Anomaly Guides (26 Pages) - [E-Commerce Safety Stock & Reorder Point (ROP) Forecast API ($0.02/Call)](https://forecast.fastmesh.dev/guides/ecommerce-safety-stock-reorder-point-rop-api): `ecommerce_rop` — Target query: `ecommerce safety stock reorder point ROP API` (1310 words). - [Economic Order Quantity (EOQ) & Lead-Time Demand Forecast API](https://forecast.fastmesh.dev/guides/economic-order-quantity-eoq-demand-forecast-api): `ecommerce_rop` — Target query: `EOQ economic order quantity forecast API` (1194 words). - [Projected SKU Stockout Date & Order-Now Alert API for Warehouse Scripts](https://forecast.fastmesh.dev/guides/sku-projected-stockout-date-predictor-api): `ecommerce_rop` — Target query: `SKU stockout date predictor API` (1177 words). - [Inventory Planner Alternative Without $2,500+/Yr Contracts or GMV Tax](https://forecast.fastmesh.dev/guides/inventory-planner-alternative-no-annual-contract-api): `ecommerce_rop` — Target query: `Inventory Planner alternative no annual contract` (1189 words). - [Safety Stock API With Demand & Supplier Lead-Time Standard Deviation](https://forecast.fastmesh.dev/guides/lead-time-variability-safety-stock-formula-api): `ecommerce_rop` — Target query: `safety stock with lead time variability API` (1199 words). - [30-to-90 Day Seasonal E-Commerce SKU Demand Forecast CSV API](https://forecast.fastmesh.dev/guides/90-day-seasonal-sku-demand-forecast-csv-api): `ecommerce_rop` — Target query: `seasonal SKU demand forecast CSV API` (1219 words). - [SaaS MRR & 12-Month ARR Trajectory Forecast API (Stateless CSV/JSON)](https://forecast.fastmesh.dev/guides/saas-mrr-12-month-arr-trajectory-forecast-api): `saas_mrr` — Target query: `SaaS MRR ARR trajectory forecast API` (1183 words). - [SaaS Net Revenue Retention (NRR) & Expansion Trend Predictor API](https://forecast.fastmesh.dev/guides/saas-net-revenue-retention-nrr-cohort-predictor-api): `saas_mrr` — Target query: `SaaS NRR net revenue retention forecast API` (1200 words). - [SaaS Cash Runway Months & Churn Spike Detection API](https://forecast.fastmesh.dev/guides/saas-cash-runway-months-churn-spike-alert-api): `saas_mrr` — Target query: `SaaS cash runway forecast churn spike alert API` (1162 words). - [Baremetrics Alternative Without ARR Band Hikes or $129/Mo Add-Ons](https://forecast.fastmesh.dev/guides/baremetrics-alternative-stateless-mrr-forecast-api): `saas_mrr` — Target query: `Baremetrics alternative MRR forecast API` (1163 words). - [MCP Tool for Autonomous SaaS MRR, Churn & Runway Forecasting](https://forecast.fastmesh.dev/guides/cohort-csv-saas-expansion-contraction-forecast-mcp): `saas_mrr` — Target query: `MCP SaaS MRR churn forecast tool` (1146 words). - [Cloud & GPU Daily Spend P50 / P90 / P99 Month-End Forecast API](https://forecast.fastmesh.dev/guides/cloud-gpu-daily-spend-p50-p90-p99-forecast-api): `cloud_budget` — Target query: `cloud GPU spend P50 P90 P99 forecast API` (1203 words). - [LLM Token Daily Spend Budget Breach Date Predictor API](https://forecast.fastmesh.dev/guides/llm-token-spend-budget-breach-date-alert-api): `cloud_budget` — Target query: `LLM token budget breach alert API` (1180 words). - [CloudZero Alternative Without $18,000/Yr Minimums or 3% Spend Tax](https://forecast.fastmesh.dev/guides/cloudzero-alternative-indie-ai-finops-forecast-api): `cloud_budget` — Target query: `CloudZero alternative no annual minimum` (1172 words). - [Weekday vs Weekend Cloud Cost Seasonal Decomposition API](https://forecast.fastmesh.dev/guides/weekday-weekend-cloud-spend-seasonal-decomposition-api): `cloud_budget` — Target query: `weekday weekend cloud cost seasonal decomposition API` (1196 words). - [Cron & MCP Tool for Hourly/Daily Kubernetes GPU Budget Breach Alerts](https://forecast.fastmesh.dev/guides/kubernetes-gpu-cluster-burn-rate-breach-alert-mcp): `cloud_budget` — Target query: `Kubernetes GPU budget breach alert MCP API` (1159 words). - [Batch CSV 100-SKU Concurrent Forecast & Anomaly Detection API ($0.06/Batch)](https://forecast.fastmesh.dev/guides/batch-csv-100-sku-concurrent-anomaly-forecast-api): `batch_anomaly` — Target query: `batch CSV 100 SKU forecast anomaly detection API` (1144 words). - [Two-Sided CUSUM Change-Point Detection API for Operational Time Series](https://forecast.fastmesh.dev/guides/two-sided-cusum-change-point-detection-api): `batch_anomaly` — Target query: `two sided CUSUM change point detection API` (1194 words). - [Residual Z-Score & IQR Outlier Detection API for Seasonal Time Series](https://forecast.fastmesh.dev/guides/residual-zscore-iqr-time-series-anomaly-csv-api): `batch_anomaly` — Target query: `residual Z score IQR anomaly detection API` (1165 words). - [Pure-Python Zero-Dependency Statistical Anomaly & Forecast API](https://forecast.fastmesh.dev/guides/pure-python-zero-dependency-time-series-anomaly-api): `batch_anomaly` — Target query: `pure Python zero dependency time series forecast API` (1170 words). - [Budget-Capped Multi-SKU Forecast API With $0 Charge on Malformed Rows](https://forecast.fastmesh.dev/guides/max-budget-capped-multi-sku-batch-forecast-api): `batch_anomaly` — Target query: `budget capped batch CSV forecast API 422 zero bill` (1193 words). - [Holt-Winters Rolling Backtest API (MAPE, sMAPE, RMSE & Ensemble Weights)](https://forecast.fastmesh.dev/guides/holt-winters-rolling-backtest-mape-smape-rmse-api): `backtest_svg` — Target query: `Holt Winters rolling backtest MAPE sMAPE RMSE API` (1221 words). - [Nixtla TimeGPT Deterministic Alternative Without $12,000/Mo Enterprise Contracts](https://forecast.fastmesh.dev/guides/nixtla-timegpt-deterministic-alternative-prepaid-api): `backtest_svg` — Target query: `Nixtla TimeGPT alternative deterministic prepaid API` (1172 words). - [Inline XML-Valid SVG Forecast & P50/P90/P99 Confidence-Band Chart API](https://forecast.fastmesh.dev/guides/pure-stdlib-svg-forecast-confidence-interval-chart-api): `backtest_svg` — Target query: `SVG forecast confidence interval chart API` (1167 words). - [SHA-256 Tamper-Evident Forecast Receipt & Audit Trail API](https://forecast.fastmesh.dev/guides/sha256-verifiable-deterministic-forecast-receipt-api): `backtest_svg` — Target query: `SHA 256 verifiable forecast receipt API` (1131 words). - [Damped Linear Trend + Holt-Winters Inverse-Error Ensemble Forecast API](https://forecast.fastmesh.dev/guides/damped-trend-vs-holt-winters-ensemble-forecast-api): `backtest_svg` — Target query: `damped trend Holt Winters ensemble forecast API` (1180 words).