Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

xlsx-for-ai

MCP server by senoff Community

Lets AI assistants read, write, diff, validate and analyze .xlsx files through a hosted MCP server. It is aimed at people who work with real-world Excel workbooks in Claude, Cursor and similar tools.

  • Score 84
  • 6 stars
  • 2.3k a week
  • MIT
  • Updated

Install xlsx-for-ai

Built from the published package, never by AI.

claude mcp add xlsx-for-ai -- npx -y xlsx-for-ai

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install xlsx-for-ai in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the xlsx-for-ai block.

About

xlsx-for-ai is an MCP server that lets AI assistants read, write, diff, validate and analyze .xlsx files. The source says it preserves merged cells, formulas, named ranges, conditional formatting, pivots and charts, and it covers more than forty structural elements such as slicers, comments, data validations and VBA macros. A soundness check, xlsx_validate, flags corruption that other readers may hide.

The files are read by a hosted service, and formula results are computed by an in-house recalc engine in that service. The npm package installs the xlsx-for-ai-mcp binary, which connects to the hosted tools. The project is for people who use Claude, Cursor, Claude Desktop and other AI tools with real-world Excel files, and every tool is also available as a plain HTTP API.

Written from the project's README and checked against it.

Tools it gives your assistant

  • xlsx_doctorOne-call health report for an unknown workbook, suggested as the first tool to try.
  • xlsx_validateSoundness check that flags corruption other readers silently mask.
  • xlsx_convertConverts xlsx, xls, csv and json inputs to other formats such as Markdown.

What you need

  • Node.js and npm to install the xlsx-for-ai package
  • An internet connection, since files are read by the hosted service
  • Sign-in through the OAuth device flow on first use
  • Claude Code 2.1.292 or later for the Claude Code plugin

Try asking

  • Use xfa to read this file and summarize its sheets
  • Run xlsx_doctor on this workbook and tell me what looks wrong
  • Check this .xlsx file for corruption with xlsx_validate

Good to know

  • Files up to 100MB are supported.
  • Files are read by the hosted service, so an internet connection is required.
  • Some conversions can return a 501 capability_gap error, and retrying the same file does not help.
  • Anonymous keys from earlier versions work only during the transition period.

Security check

C
  • Asks for administrator rights (sudo)In README.md: sudo
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to xlsx-for-ai

All alternatives →
World Monitor koala73
98

World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.

ACA Remote 91k
Power BI Authoring MCP Server (Local) microsoft
95

Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.

AAA Local 9.7k/wk
Seal Open Data ariacom
95

Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.

AAA Remote 1.7k
OpenMetadataopen-metadata
94

OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.

AAA Remote 16k
Flint Chart MCP microsoft
94

Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.

AAA Local 4.6k
PostHog PostHog
94

Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.

AFA Remote 41k

Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data

xlsx-for-ai: common questions

Does xlsx-for-ai recalculate formulas?

Yes. The source says a hosted recalc engine computes served values in-house, with no third-party formula engine in the serve path.

Does it need an internet connection?

Yes. The source says a pinned global install still needs an internet connection because the files are read by the hosted service.

Does it preserve charts and pivots in a workbook?

The source says merged cells, formulas, named ranges, conditional formatting, pivots, and charts are preserved, along with slicers, comments and other structural elements.

How do I install xlsx-for-ai?

In Claude Code run claude mcp add xlsx-for-ai -- npx -y xlsx-for-ai. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is xlsx-for-ai the official server?

xlsx-for-ai is a community project by senoff, not verified by a company domain.

Is xlsx-for-ai free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is xlsx-for-ai safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to xlsx-for-ai?

Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.

Does xlsx-for-ai work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

xlsx-for-ai Install

Add to stack

Loading.