MCP Analytics — Claude Code MCP server: what it does, how to install
Connects a statistical analysis engine to your AI assistant. It generates documented reports with charts and re-runnable calculation scripts.
claude mcp add --transport http mcp-analytics https://api.mcpanalytics.ai/mcp/api-keyWhat MCP Analytics does
MCP Analytics processes structured datasets to answer business and statistical questions inside your client workspace. When you ask a question, the server evaluates the request first. It determines whether you need a quick data lookup or a deeper statistical test.
Calculations remain repeatable. Identical input files return identical output numbers. Every generated report includes the exact methodology and the code behind it, making it straightforward to re-run on future data files. Without a valid X-API-Key header, the server restricts access to discovery mode, letting you inspect tool definitions while blocking execution.
What it helps with
- pinpoint revenue shifts across sales channels
- identify customer accounts at risk of churn
- generate quarterly revenue forecasts from a spreadsheet
- save repeatable data reports with charts and underlying code
Example prompts for the agent
- Inspect sales.csv and explain what caused the revenue gap between May and June
- Identify which accounts have the highest churn probability in this dataset
- Project next quarter's revenue using the historical numbers in this file
How to install MCP Analytics
Platform CLI: remote server
claude mcp add --transport http mcp-analytics https://api.mcpanalytics.ai/mcp/api-keyPlatform CLI: remote server
codex mcp add mcp-analytics --url https://api.mcpanalytics.ai/mcp/api-keyConfig file
{
"mcpServers": {
"mcp-analytics": {
"url": "https://api.mcpanalytics.ai/mcp/api-key"
}
}
}Config file
{
"servers": {
"mcp-analytics": {
"type": "http",
"url": "https://api.mcpanalytics.ai/mcp/api-key"
}
}
}Platform CLI: remote server
gemini mcp add -t http mcp-analytics https://api.mcpanalytics.ai/mcp/api-keyStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about MCP Analytics
How to install MCP Analytics in Claude Code?
Run claude mcp add --transport http mcp-analytics https://api.mcpanalytics.ai/mcp/api-key. To execute analyses, include your account token in the X-API-Key header.
What does MCP Analytics do?
It acts as a data analyst for structured files. The server generates narrative reports with charts and source code so that you can repeat the analysis on updated data.
Does the server work without an account key?
It connects in a discovery mode without credentials. You can inspect tool definitions, but running actual calculations requires an API key.