Open Source · Model Context Protocol · MIT

Turn a spreadsheet into a full analysis report from inside any AI agent, fully on your machine

data-report-mcp is a local MCP server that reads a CSV or XLSX table and returns summary statistics, data-quality diagnostics, correlations and an Excel workbook with native charts — no pandas dependency, no API key, nothing uploaded.

Why an MCP server for this

Asking an LLM to 'analyze this spreadsheet' usually yields prose that hides missing values and invents statistics. This server gives the agent a deterministic local tool: real computations over the rows and a charted workbook the analyst can open and verify, while confidential business and financial spreadsheets never leave the machine.

Business reporting

Generate a first-cut analysis report from operational or sales spreadsheets in one call, then refine the narrative in the agent.

Data quality checks

Surface duplicate rows, columns missing over 20% of values and numeric outliers before a model or dashboard touches the data.

Finance and FP&A

Compute totals, distributions and significant correlations on budget and ledger files locally, with no third-party data processing.

AI agents and RAG

Give Claude Desktop, Cursor or any MCP client a callable tool that returns structured statistics and an XLSX instead of hallucinated figures.

What it does

Install and connect

Published to the official MCP Registry as io.github.diyaluo/data-report-mcp and as an OCI image on GHCR. Run locally over stdio:

pip install -e .
data-report-mcp

Client configuration (Claude Desktop / Cursor / any MCP client):

{
  "mcpServers": {
    "data-report": {
      "command": "data-report-mcp",
      "env": {}
    }
  }
}

No API key, no network access and no subscription. A local usage counter under ~/.cache/data-report-mcp is the only telemetry, and it never uploads.

Frequently asked questions

What does this MCP server do?

It exposes spreadsheet analysis as an MCP tool, so an MCP-compatible AI agent can take a CSV or XLSX file and return a structured report with summary statistics, data-quality diagnostics, category frequencies, correlations and an optional Excel workbook containing native charts.

Does it upload my spreadsheets?

No. The server runs locally over stdio and makes no network calls. Business and financial spreadsheets stay on the machine, which is why teams handling confidential data use it instead of online analysis tools.

Do I need to install pandas?

No. It is built on the Python standard library plus openpyxl for Excel output, deliberately avoiding a heavy pandas dependency so it installs quickly and works in constrained environments.

Which MCP clients are supported?

Any client supporting the Model Context Protocol over stdio, including Claude Desktop and Cursor. It is published to the official MCP Registry as io.github.diyaluo/data-report-mcp and distributed as an OCI image on GHCR.

Is the generated report a final conclusion?

No. The Markdown insights and statistics are an analysis starting point. Correlation is not causation; the output is designed to feed human business judgment rather than replace it.