Chronulus AI Forecasting MCP server

Integrates with Chronulus AI's forecasting API to enable time series analysis, prediction generation, and visualization of forecasting data through natural language commands.
Back to servers
Setup instructions
Provider
Chronulus AI
Release date
Mar 09, 2025
Language
Python
Package
Stats
2.6K downloads
79 stars

The Chronulus MCP Server enables you to interact with Chronulus AI forecasting and prediction agents directly through the Claude interface. This integration allows you to leverage advanced forecasting capabilities while maintaining the familiar Claude experience.

Installation Guide

Prerequisites

Before installing the Chronulus MCP Server, you need to install Claude for Desktop, which is available for macOS and Windows.

  1. Download and install Claude for Desktop from claude.ai/download
  2. Get your Chronulus API key (you'll need this for configuration)

Setup Process

You have three options for installing the Chronulus MCP Server:

Using pip

Option 1: Install from PyPI:

pip install chronulus-mcp

Option 2: Install from GitHub:

git clone https://github.com/ChronulusAI/chronulus-mcp.git
cd chronulus-mcp
pip install .

Using Docker

Build a Docker image for the Chronulus MCP Server:

git clone https://github.com/ChronulusAI/chronulus-mcp.git
cd chronulus-mcp
docker build . -t 'chronulus-mcp'

Using uvx

This method will automatically pull and install the latest version from PyPI.

Configuration

First, locate your Claude config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Then add the Chronulus MCP Server configuration to your claude_desktop_config.json file using one of the following methods:

Pip Installation Configuration

{
  "mcpServers": {
    "chronulus-agents": {
      "command": "python",
      "args": ["-m", "chronulus_mcp"],
      "env": {
        "CHRONULUS_API_KEY": "<YOUR_CHRONULUS_API_KEY>"
      }
    }
  }
}

Note: If you encounter an error like "MCP chronulus-agents: spawn python ENOENT", you may need to provide the absolute path to Python (e.g., /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 instead of just python).

Docker Installation Configuration

{
  "mcpServers": {
    "chronulus-agents": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "CHRONULUS_API_KEY", "chronulus-mcp"],
      "env": {
        "CHRONULUS_API_KEY": "<YOUR_CHRONULUS_API_KEY>"
      }
    }
  }
}

uvx Installation Configuration

{
  "mcpServers": {
    "chronulus-agents": {
      "command": "uvx",
      "args": ["chronulus-mcp"],
      "env": {
        "CHRONULUS_API_KEY": "<YOUR_CHRONULUS_API_KEY>"
      }
    }
  }
}

Note: If you get an error like "MCP chronulus-agents: spawn uvx ENOENT", you need to either install uv or provide the absolute path to uvx (e.g., /Users/username/.local/bin/uvx).

Using Additional MCP Servers

You can configure multiple MCP servers to work together. Below is an example that combines Chronulus with filesystem and fetch servers:

{
  "mcpServers": {
    "chronulus-agents": {
      "command": "uvx",
      "args": ["chronulus-mcp"],
      "env": {
        "CHRONULUS_API_KEY": "<YOUR_CHRONULUS_API_KEY>"
      }
    },
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/AIWorkspace"
      ]
    },
    "fetch": {
      "command": "uvx",
      "args": ["mcp-server-fetch"]
    }
  }
}

Optimizing Claude for Chronulus

To improve your experience with Chronulus in Claude, add these preferences to your Claude Settings:

  1. Open Claude Desktop: Settings -> General -> Claude Settings -> Profile (tab)
  2. Or go to claude.ai/settings and select the Profile tab
  3. Add the following preferences:
## Tools-Dependent Protocols
The following instructions apply only when tools/MCP Servers are accessible.

### Filesystem - Tool Instructions
- Do not use 'read_file' or 'read_multiple_files' on binary files (e.g., images, pdfs, docx) .
- When working with binary files (e.g., images, pdfs, docx) use 'get_info' instead of 'read_*' tools to inspect a file.

### Chronulus Agents - Tool Instructions
- When using Chronulus, prefer to use input field types like TextFromFile, PdfFromFile, and ImageFromFile over scanning the files directly.
- When plotting forecasts from Chronulus, always include the Chronulus-provided forecast explanation below the plot and label it as Chronulus Explanation.

These preferences will be shared across both Claude Desktop and Claude.ai web interface.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "chronulus-agents" '{"command":"python","args":["-m","chronulus_mcp"],"env":{"CHRONULUS_API_KEY":"<YOUR_CHRONULUS_API_KEY>"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "chronulus-agents": {
            "command": "python",
            "args": [
                "-m",
                "chronulus_mcp"
            ],
            "env": {
                "CHRONULUS_API_KEY": "<YOUR_CHRONULUS_API_KEY>"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "chronulus-agents": {
            "command": "python",
            "args": [
                "-m",
                "chronulus_mcp"
            ],
            "env": {
                "CHRONULUS_API_KEY": "<YOUR_CHRONULUS_API_KEY>"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later