Geneva Forecasting MCP
Geneva MCP brings production-grade forecasting directly into AI assistants and coding agents. Connect any MCP-compatible client to the Geneva Forecasting Engine and run rigorous time series forecasts through natural conversation.
README
Geneva MCP
<p align="center"> <strong>Time-Series Forecasting & Demand Planning for AI Agents</strong><br> <em>Powered by the <a href="https://portal.roadmap-tech.com">Geneva Forecasting Engine</a> — by <a href="https://portal.roadmap-tech.com">RoadMap Technologies</a></em> </p>
<p align="center"> <a href="https://pypi.org/project/geneva-mcp/"><img src="https://img.shields.io/badge/PyPI-geneva--mcp-blue?logo=pypi&logoColor=white" alt="PyPI"></a> <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License: MIT"></a> <img src="https://img.shields.io/badge/Python-3.10%2B-blue?logo=python&logoColor=white" alt="Python 3.10+"> <img src="https://img.shields.io/badge/MCP-Compatible-purple" alt="MCP Compatible"> <img src="https://img.shields.io/badge/Free_Tier-1%2C000_forecasts%2Fmo-brightgreen" alt="Free Tier"> </p>
Geneva MCP brings production-grade statistical forecasting directly into AI assistants and coding agents. Connect any MCP-compatible client to the Geneva Forecasting Engine and run rigorous time series forecasts through natural conversation — no code, no pipelines, no exports required.
"Forecast the next 12 months of this sales data with 95% prediction intervals."
The agent calls the Geneva Engine behind the scenes, receives a numerical analysis and a forecast chart, and delivers a complete, statistically grounded interpretation — all in a single conversation turn.
Why Geneva MCP?
Free to Get Started — No Credit Card Required
The Geneva API is free with 1,000 forecasts per month. Sign up at the Developer Portal, generate your API key, and start forecasting in minutes. No trial periods, no paywalls, no surprises.
Forecast in Claude Chat
With Geneva MCP connected, Claude becomes a full forecasting analyst. Paste your data directly into the conversation, ask a question in plain language, and Claude will forecast, analyze, and visualize the results — model selection, accuracy metrics, trend commentary, and a chart, all delivered in a single response.
<p align="center"> <img src="https://d3deh4arfmquak.cloudfront.net/claude-geneva-mcp.png" alt="Geneva MCP in Claude Desktop — natural language forecasting with chart" width="720"> <br> <em>Claude with Geneva MCP — describe your data, get a complete forecast with analysis and chart in one turn</em> </p>
Forecast from Excel with Claude Cowork
Claude Cowork users can forecast directly from spreadsheets. Drop your .xlsx or .csv file into the conversation, describe the column you want to forecast, and Geneva handles the rest — complete with prediction intervals and a chart. No data pipelines, no Python scripts, no manual exports.
From spreadsheet to forecast in one sentence.
<p align="center"> <img src="https://d3deh4arfmquak.cloudfront.net/geneva-claude-excel.png" alt="Geneva MCP with Claude Cowork — forecasting directly from an Excel spreadsheet" width="720"> <br> <em>Claude Cowork with Geneva MCP — attach an Excel or CSV file and forecast any column in plain language</em> </p>
Fast & Purpose-Built
Geneva is a dedicated forecasting engine, not a general-purpose language model. Forecasts return in milliseconds with structured output and a chart — every time, with consistent and reproducible results. Geneva returns both a full numerical analysis and a chart image ready for the agent to embed directly in the conversation.
<p align="center"> <img src="https://d3deh4arfmquak.cloudfront.net/geneva_forecast.png" alt="Geneva Forecast — time series chart with prediction intervals" width="720"> <br> <em>Chart generated by Geneva MCP — historical data, forecast line, and confidence interval bands at your chosen level</em> </p>
Requirements
| Requirement | Details |
|---|---|
| Python | 3.10 or later |
| API Key | Free — sign up at portal.roadmap-tech.com |
| Agent | Claude Desktop or any MCP-compatible client |
Security: Your API key is injected as a process environment variable in your agent's MCP configuration. It is never exposed in the chat, the agent context window, or transmitted to any third party.
Installation
Option 1 — uvx (Recommended)
uvx runs Geneva MCP in an isolated environment with no permanent installation — it pulls the latest version from PyPI automatically each time. This is the cleanest approach and what the configuration examples below use.
First, install uv (a fast Python package manager) if you don't have it:
| Platform | Command |
|---|---|
| Mac | brew install uv |
| Windows | powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" |
| Linux / Mac (no Homebrew) | curl -LsSf https://astral.sh/uv/install.sh | sh |
Then run the server directly with:
uvx geneva-mcp
uvis open source and maintained by Astral — the same team behind the popularrufflinter. It is the package manager recommended by Anthropic for MCP server distribution.
Option 2 — pip
If you already have Python 3.10+ and prefer a traditional install, pip works without any additional tooling:
pip install geneva-mcp
Then use geneva-mcp as the command in your agent config instead of uvx geneva-mcp.
When to use pip vs uvx:
uvxis self-contained and version-isolated — ideal for running MCP servers where you don't want package conflicts.pipinstalls into your active Python environment and is the simpler choice if you're already managing a Python setup.
Supported Agents
| Agent | Status | Notes |
|---|---|---|
| Claude Desktop | ✅ Fully Supported | Full multimodal output (text + chart) |
| Claude Cowork | ✅ Fully Supported | Forecast directly from Excel & CSV files |
| Any MCP-compatible client | ✅ Supported | Via stdio transport |
Quick Start
Step 1 — Get Your Free API Key
Visit the Geneva Developer Portal to create a free account and generate your API key. The free tier includes 1,000 forecasts per month with no credit card required.
Step 2 — Configure Claude Desktop
Add the Geneva MCP server to your Claude Desktop configuration. Replace gva_your_key_here with your API key.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"geneva": {
"command": "uvx",
"args": ["geneva-mcp"],
"env": {
"GENEVA_API_URL": "https://api.roadmap-tech.com",
"GENEVA_API_KEY": "gva_your_key_here"
}
}
}
}
Restart Claude Desktop — the forecast tool will appear automatically in the tool list.
If you installed via pip
Point command at the geneva-mcp binary inside your virtual environment:
{
"mcpServers": {
"geneva": {
"command": "{path_to_venv}/venv/bin/geneva-mcp",
"env": {
"GENEVA_API_URL": "https://api.roadmap-tech.com",
"GENEVA_API_KEY": "gva_your_key_here"
}
}
}
}
Replace
{path_to_venv}with the absolute path to the directory containing your virtual environment. You can find the binary path by runningwhich geneva-mcpwith the venv activated.
Claude Cowork
Follow the same configuration as Claude Desktop above. Once configured, you can attach an .xlsx or .csv file to the conversation and instruct Claude to forecast any column — Geneva will handle model selection, computation, and visualization automatically.
Step 3 — Start Forecasting
Ask your agent to forecast any time series in plain language:
"Here are my last 36 months of revenue: [120, 135, 128, ...]. Forecast the next 18 months with 95% confidence intervals."
The agent receives structured forecast data and an embedded chart visualization, then provides a complete analysis covering model selection rationale, accuracy metrics, trend direction, seasonal patterns, and prediction intervals.
How It Works
┌──────────────────────┐ stdio (JSON-RPC) ┌──────────────────────┐
│ Claude Desktop │ ◄──────────────────────► │ Geneva MCP Server │
│ │ │ (local process) │
│ │ │ │
└──────────────────────┘ └────────┬─────────────┘
│ HTTPS
▼
┌──────────────────────┐
│ Geneva Engine API │
│ api.roadmap-tech.com│
└──────────────────────┘
The MCP server runs locally as a lightweight Python process. It communicates with the AI agent over stdio using the MCP protocol and calls the Geneva Forecasting Engine API over HTTPS. The server is fully stateless and produces no local side effects.
Tool Reference
forecast
Run a single time series forecast through the Geneva Forecasting Engine.
Note: Each tool call processes one time series. For batch forecasting across multiple series, use the Geneva Python SDK directly.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
data |
list[float] |
✅ | — | Time series observations (3–10,000 data points) |
horizon |
int |
— | auto | Number of future periods to forecast |
wave_periods |
list[int] |
— | [12] |
Seasonal cycle lengths (12=monthly, 4=quarterly, 52=weekly, 7=daily) |
confidence_level |
float |
— | 0.95 |
Prediction interval confidence level (0.0–1.0) |
method |
int |
— | auto | Force a specific method (0–9). Omit to let the Expert System select automatically |
seasonal_transform |
int |
— | 0 |
Seasonal transform: 0=None, 1=Seasonal, 2=MPT |
smoothing |
bool |
— | false |
Enable median smoothing for noisy data |
max_periods_factor |
float |
— | engine default | Fit window cap factor — increase for long series |
holdout_ratio |
float |
— | engine default | Fraction of data reserved for model evaluation |
Returns: A structured multimodal response containing:
- Text summary — Selected model name, accuracy metrics (MAD, MAPE, RMSE), forecast values with prediction intervals, in markdown format ready for agent interpretation
- Chart image — A forecast chart with historical data, forecast line, and shaded prediction interval bands
Forecasting Methods
The Geneva Expert System automatically evaluates all 10 methods and selects the best fit for your data. You can also specify a method manually using the method parameter.
| ID | Method | Best For |
|---|---|---|
| 0 | Linear Regression | Steady linear growth or decline |
| 1–5 | Non-Linear Regression (5 curve types) | Exponential, s-curve, power trends |
| 6 | Simple Exponential Smoothing | Stable, level series |
| 7 | Double Exponential Smoothing (Holt) | Trending series without seasonality |
| 8 | Holt-Winters (Seasonal) | Trending + seasonal series |
| 9 | Croston (Intermittent Demand) | Sporadic, zero-inflated series |
Troubleshooting
GENEVA_API_KEY environment variable is not set
The env block is missing from your agent's MCP configuration, or the API key value is empty. Add a valid key from the Geneva Developer Portal.
Server transport closed unexpectedly
The Python process crashed before the MCP handshake completed. Verify your installation by running the server manually:
GENEVA_API_KEY=your_key GENEVA_API_URL=https://api.roadmap-tech.com geneva-mcp
Chart rendering issues
The server uses a headless matplotlib backend (Agg) that requires no display server. If chart generation fails, reinstall matplotlib:
pip install matplotlib --force-reinstall
Related Resources
| Resource | Description |
|---|---|
| Geneva Developer Portal | Free API keys, usage dashboard, and account management |
| Geneva Python SDK | Direct API client with batch forecasting support |
| Geneva API Documentation | Full API reference, parameter guides, and examples |
License
MIT License — Copyright © 2026 RoadMap Technologies, Inc.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。