Chronulus MCP Server
OfficialThe Chronulus MCP Server enables interaction with AI Forecasting & Prediction Agents through the Model Context Protocol, allowing users to:
Create Sessions: Define new forecasting or prediction use cases
Generate Forecasts: Create normalized forecasts (0-1) via
create_forecasting_agent_and_get_forecastandreuse_forecasting_agent_and_get_forecastRescale Forecasts: Adjust predictions to specific ranges
Binary Predictions: Estimate probabilities for binary outcomes using BinaryPredictor agents
Risk Assessment: Retrieve risk assessment scorecards in Markdown/JSON
Save Outputs: Store forecasts (CSV/TXT) and prediction analysis (HTML)
Input Support: Work with diverse inputs including text, images, PDFs, and files
Deployment Options: Multiple installation methods (pip, Docker, uv) with third-party server integration
Supports containerized deployment of the Chronulus MCP server using Docker images
Provides access to the Chronulus MCP source code repository for installation and contribution
Compatible with Claude for Desktop on macOS for forecasting and prediction capabilities
Allows installation of the Chronulus MCP server package directly from the Python Package Index
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., "@Chronulus MCP Server forecast sales for next quarter based on last year's data"
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.
Quickstart: Claude for Desktop
Install
Claude for Desktop is currently available on macOS and Windows.
Install Claude for Desktop here
Configuration
Follow the general instructions here to configure the Claude desktop client.
You can find your Claude config at one of the following locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Then choose one of the following methods that best suits your needs and add it to your claude_desktop_config.json
(Option 1) Install release 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 .{
"mcpServers": {
"chronulus-agents": {
"command": "python",
"args": ["-m", "chronulus_mcp"],
"env": {
"CHRONULUS_API_KEY": "<YOUR_CHRONULUS_API_KEY>"
}
}
}
}Note, if you get an error like "MCP chronulus-agents: spawn python ENOENT",
then you most likely need to provide the absolute path to python.
For example /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 instead of just python
Here we will build a docker image called 'chronulus-mcp' that we can reuse in our Claude config.
git clone https://github.com/ChronulusAI/chronulus-mcp.git
cd chronulus-mcp
docker build . -t 'chronulus-mcp'In your Claude config, be sure that the final argument matches the name you give to the docker image in the build command.
{
"mcpServers": {
"chronulus-agents": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "CHRONULUS_API_KEY", "chronulus-mcp"],
"env": {
"CHRONULUS_API_KEY": "<YOUR_CHRONULUS_API_KEY>"
}
}
}
}uvx will pull the latest version of chronulus-mcp from the PyPI registry, install it, and then run it.
{
"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", then you most likely need to either:
install uv or
Provide the absolute path to
uvx. For example/Users/username/.local/bin/uvxinstead of justuvx
Additional Servers (Filesystem, Fetch, etc)
In our demo, we use third-party servers like fetch and filesystem.
For details on installing and configure third-party server, please reference the documentation provided by the server maintainer.
Below is an example of how to configure filesystem and fetch alongside Chronulus in your claude_desktop_config.json:
{
"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"]
}
}
} Claude Preferences
To streamline your experience using Claude across multiple sets of tools, it is best to add your preferences to under Claude Settings.
You can upgrade your Claude preferences in a couple ways:
From Claude Desktop:
Settings -> General -> Claude Settings -> Profile (tab)From claude.ai/settings:
Profile (tab)
Preferences are shared across both Claude for Desktop and Claude.ai (the web interface). So your instruction need to work across both experiences.
Below are the preferences we used to achieve the results shown in our demos:
## 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.Available Tools
9 toolscreate_chronulus_sessionA
A tool that creates a new Chronulus Session and returns a session_id
When to use this tool:
Use this tool when a user has requested a forecast or prediction for a new use case
Before calling this tool make sure you have enough information to write a well-defined situation and task. You might need to ask clarifying questions in order to get this from the user.
The same session_id can be reused as long as the situation and task remain the same
If user wants to forecast a different use case, create a new session and then use that
How to use this tool:
To create a session, you need to provide a situation and task that describe the forecasting use case
If the user has not provided enough detail for you to decompose the use case into a situation (broad or background context) and task (specific requirements for the forecast), ask them to elaborate since more detail will result in a better / more accurate forecast.
Once created, this will generate a unique session_id that can be used to when calling other tools about this use case.
Inputs: name (required), situation (required), task (required).
create_forecasting_agent_and_get_forecastA
This tool creates a NormalizedForecaster agent with your session and input data model and then provides a forecast input data to the agent and returns the prediction data and text explanation from the agent.
When to use this tool:
Use this tool to request a forecast from Chronulus
This tool is specifically made to forecast values between 0 and 1 and does not require historical data
The prediction can be thought of as seasonal weights, probabilities, or shares of something as in the decimal representation of a percent
How to use this tool:
First, make sure you have a session_id for the forecasting or prediction use case.
Next, think about the features / characteristics most suitable for producing the requested forecast and then create an input_data_model that corresponds to the input_data you will provide for the thing being forecasted.
Remember to pass all relevant information to Chronulus including text and images provided by the user.
If a user gives you files about a thing you are forecasting or predicting, you should pass these as inputs to the agent using one of the following types:
ImageFromFile
List[ImageFromFile]
TextFromFile
List[TextFromFile]
PdfFromFile
List[PdfFromFile]
If you have a large amount of text (over 500 words) to pass to the agent, you should use the Text or List[Text] field types
Finally, add information about the forecasting horizon and time scale requested by the user
Assume the dates and datetimes in the prediction results are already converted to the appropriate local timezone if location is a factor in the use case. So do not try to convert from UTC to local time when plotting.
When plotting the predictions, use a Rechart time series with the appropriate axes labeled and with the prediction explanation displayed as a caption below the plot
Inputs: session_id (required), input_data_model (required), input_data (required), forecast_start_dt_str (required), +2 more.
create_prediction_agent_and_get_predictionsA
This tool creates a BinaryPredictor agent with your session and input data model and then provides prediction input data to the agent and returns the consensus a prediction from a panel of experts along with their individual estimates and text explanations. The agent also returns the alpha and beta parameters for a Beta distribution that allows you to estimate the confidence interval of its consensus probability estimate.
When to use this tool:
Use this tool to request a probability estimate from Chronulus in situation when there is a binary outcome
This tool is specifically made to estimate the probability of an event occurring and not occurring and does not require historical data
How to use this tool:
First, make sure you have a session_id for the prediction use case.
Next, think about the features / characteristics most suitable for producing the requested prediction and then create an input_data_model that corresponds to the input_data you will provide for the thing or event being predicted.
Remember to pass all relevant information to Chronulus including text and images provided by the user.
If a user gives you files about a thing you are forecasting or predicting, you should pass these as inputs to the agent using one of the following types:
ImageFromFile
List[ImageFromFile]
TextFromFile
List[TextFromFile]
PdfFromFile
List[PdfFromFile]
If you have a large amount of text (over 500 words) to pass to the agent, you should use the Text or List[Text] field types
Finally, provide the number of experts to consult. The minimum and default number is 2, but users may request up to 30 30 opinions in situations where reproducibility and risk sensitively is of the utmost importance. In most cases, 2 to 5 experts is sufficient.
Inputs: session_id (required), input_data_model (required), input_data (required), num_experts (required).
get_risk_assessment_scorecardA
A tool that retrieves the risk assessment scorecard for the Chronulus Session in Markdown format
When to use this tool:
Use this tool when the use asks about the risk level or safety concerns of a forecasting use case
You may also use this tool to provide justification to a user if you would like to warn them of the implications of what they are asking you to forecasting or predict.
How to use this tool:
Make sure you have a session_id for the forecasting or prediction use case
When displaying the scorecard markdown for the user, you should use an MDX-style React component
Inputs: session_id (required), as_json (required).
rescale_forecastA
A tool that rescales the prediction data (values between 0 and 1) from the NormalizedForecaster agent to scale required for a use case
When to use this tool:
Use this tool when there is enough information from the user or use cases to determine a reasonable min and max for the forecast predictions
Do not attempt to rescale or denormalize the predictions on your own without using this tool.
Also, if the best min and max for the use case is 0 and 1, then no rescaling is needed since that is already the scale of the predictions.
If a user requests to convert from probabilities to a unit in levels, be sure to caveat your use of this tool by noting that probabilities do not always scale uniformly to levels. Rescaling can be used as a rough first-pass estimate. But for best results, it would be better to start a new Chronulus forecasting use case predicting in levels from the start.
How to use this tool:
To use this tool present prediction_id from the normalized prediction and the min and max as floats
If the user is also changing units, consider if the units will be inverted and set the inverse scale to True if needed.
When plotting the rescaled predictions, use a Rechart time series plot with the appropriate axes labeled and include the chronulus prediction explanation as a caption below the plot.
If you would like to add additional notes about the scaled series, put these below the original prediction explanation.
Inputs: prediction_id (required), y_min (required), y_max (required), invert_scale.
reuse_forecasting_agent_and_get_forecastA
This tool creates a NormalizedForecaster agent with your session and input data model and then provides a forecast input data to the agent and returns the prediction data and text explanation from the agent.
When to use this tool:
Use this tool to request a forecast from Chronulus
This tool is specifically made to forecast values between 0 and 1 and does not require historical data
The prediction can be thought of as seasonal weights, probabilities, or shares of something as in the decimal representation of a percent
How to use this tool:
First, make sure you have a session_id for the forecasting or prediction use case.
Next, think about the features / characteristics most suitable for producing the requested forecast and then create an input_data_model that corresponds to the input_data you will provide for the thing being forecasted.
Remember to pass all relevant information to Chronulus including text and images provided by the user.
If a user gives you files about a thing you are forecasting or predicting, you should pass these as inputs to the agent using one of the following types:
ImageFromFile
List[ImageFromFile]
TextFromFile
List[TextFromFile]
PdfFromFile
List[PdfFromFile]
If you have a large amount of text (over 500 words) to pass to the agent, you should use the Text or List[Text] field types
Finally, add information about the forecasting horizon and time scale requested by the user
Assume the dates and datetimes in the prediction results are already converted to the appropriate local timezone if location is a factor in the use case. So do not try to convert from UTC to local time when plotting.
When plotting the predictions, use a Rechart time series with the appropriate axes labeled and with the prediction explanation displayed as a caption below the plot
Inputs: agent_id (required), input_data (required), forecast_start_dt_str (required), time_scale, +1 more.
reuse_prediction_agent_and_get_predictionA
This tool provides prediction input data to a previously created Chronulus BinaryPredictor agent and returns the consensus a prediction from a panel of experts along with their individual estimates and text explanations. The agent also returns the alpha and beta parameters for a Beta distribution that allows you to estimate the confidence interval of its consensus probability estimate.
When to use this tool:
Use this tool to request a prediction from a Chronulus prediction agent that you have already created and when your input data model is unchanged
Use this tool to request a probability estimate from an existing prediction agent in a situation when there is a binary outcome
This tool is specifically made to estimate the probability of an event occurring and not occurring and does not require historical data
How to use this tool:
First, make sure you have a session_id for the prediction use case.
Next, think about the features / characteristics most suitable for producing the requested prediction and then create an input_data_model that corresponds to the input_data you will provide for the thing or event being predicted.
Remember to pass all relevant information to Chronulus including text and images provided by the user.
If a user gives you files about a thing you are forecasting or predicting, you should pass these as inputs to the agent using one of the following types:
ImageFromFile
List[ImageFromFile]
TextFromFile
List[TextFromFile]
PdfFromFile
List[PdfFromFile]
If you have a large amount of text (over 500 words) to pass to the agent, you should use the Text or List[Text] field types
Finally, provide the number of experts to consult. The minimum and default number is 2, but users may request up to 30 30 opinions in situations where reproducibility and risk sensitively is of the utmost importance. In most cases, 2 to 5 experts is sufficient.
How to use this tool:
First, make sure you have an agent_id for the prediction agent. The agent is already attached to the correct session. So you do not need to provide a session_id.
Next, reference the input data model that you previously used with the agent and create new input data for the item being predicted that aligns with the previously specified input data model
Remember to pass all relevant information to Chronulus including text and images provided by the user.
If a user gives you files about a thing you are forecasting or predicting, you should pass these as inputs to the agent using one of the following types:
ImageFromFile
List[ImageFromFile]
TextFromFile
List[TextFromFile]
PdfFromFile
List[PdfFromFile]
If you have a large amount of text (over 500 words) to pass to the agent, you should use the Text or List[Text] field types
Finally, provide the number of experts to consult. The minimum and default number is 2, but users may request up to 30 30 opinions in situations where reproducibility and risk sensitively is of the utmost importance. In most cases, 2 to 5 experts is sufficient.
Inputs: agent_id (required), input_data (required), num_experts (required).
save_forecastA
A tool that saves a Chronulus forecast from NormalizedForecaster to separate CSV and TXT files
When to use this tool:
Use this tool when you need to save both the forecast data and its explanation to files
The forecast data will be saved as a CSV file for data analysis
The forecast explanation will be saved as a TXT file for reference
Both files will be saved in the same directory specified by output_path
This tool can also be used to directly save rescaled predictions without first calling the rescaling tool
How to use this tool:
Provide the prediction_id from a previous forecast
Specify the output_path where both files should be saved
Provide csv_name for the forecast data file (must end in .csv)
Provide txt_name for the explanation file (must end in .txt)
Optionally provide y_min and y_max to rescale the predictions (defaults to 0)
Set invert_scale to True if the target units run in the opposite direction
The tool will provide status updates through the MCP context
Inputs: prediction_id (required), output_path (required), csv_name (required), txt_name (required), +3 more.
save_prediction_analysis_htmlA
A tool that saves an analysis of a BinaryPredictor prediction to HTML.
The analysis includes a plot of the theoretical and empirical beta distribution estimated by Chronulus and also list the opinions provided by each expert.
When to use this tool:
Use this tool when you need to save the BinaryPredictor estimates to for the user
How to use this tool:
Provide the request_id from a previous prediction response
Specify the output_path where the html should be saved
Provide html_name for the file (must end in .html)
The tool will provide status updates through the MCP context
Inputs: request_id (required), output_path (required), html_name (required), title (required), +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
The tool set has clear distinctions between forecasting and prediction agents, but there is significant overlap between create_forecasting_agent_and_get_forecast and reuse_forecasting_agent_and_get_forecast, as well as between create_prediction_agent_and_get_predictions and reuse_prediction_agent_and_get_prediction. The descriptions clarify that the 'reuse' variants are for existing agents, but the purposes are nearly identical, which could cause confusion for an agent trying to select the right tool.
Most tools follow a consistent verb_noun pattern (e.g., create_chronulus_session, get_risk_assessment_scorecard, save_forecast). However, there are minor deviations with longer names like create_forecasting_agent_and_get_forecast and create_prediction_agent_and_get_predictions, which include 'and' and are more verbose, breaking the pattern slightly but remaining readable.
With 9 tools, the count is reasonable for a forecasting/prediction server, covering session management, agent creation, reuse, rescaling, risk assessment, and saving outputs. It is slightly on the higher side but well-scoped for the domain, with each tool serving a distinct function in the workflow.
The tool set covers the core forecasting and prediction lifecycle, including session creation, agent operations, rescaling, risk assessment, and saving results. A minor gap is the lack of tools for updating or deleting sessions or agents, but agents can work around this by creating new sessions. The surface is largely complete for the stated purpose of probabilistic forecasting and binary prediction.
Maintenance
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Build and manage AI-native customer support agents from Claude or any MCP client.
AI Visibility and Content Intelligence tools for Claude and MCP-compatible agents.
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables integration with OpenAI models through the MCP protocol, supporting concise and detailed responses for use with Claude Desktop.13MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Chronulus AI forecasting and prediction agents through natural language, allowing users to generate forecasts and predictions directly in Claude.MIT
- AlicenseBqualityDmaintenanceEnables Claude to use Fabric's AI patterns for content analysis, summarization, learning, coding, and security analysis via MCP.191MIT
- AlicenseBqualityDmaintenanceConnects AI assistants like Claude to productivity tools such as Notion, Monday, Jira, and Slack via a remote MCP integration hub.71136 npmMIT