Excel MCP server: connect your workbooks to Claude, ChatGPT and Cursor
An Excel MCP server lets an AI app such as Claude, ChatGPT or Cursor work with Excel files through tools instead of pasting the sheet into the chat. There are three kinds: local servers that open .xlsx files on your computer, connectors to Excel Online in OneDrive or SharePoint, and hosted servers like Fileshape that clean the workbook once and answer questions over every row from one URL.
The three kinds of Excel MCP server
Search for an Excel MCP server and you'll find three quite different things under the same name. Which one fits depends on whether you want the AI to edit a workbook or answer questions about the data in it.
- Local file servers. Open-source projects (on GitHub, for example negokaz/excel-mcp-server and haris-musa/excel-mcp-server) that run on your computer, usually with Claude Desktop, Claude Code or Cursor, and read or write .xlsx files on disk. Good for editing workbooks, adding sheets or writing formulas; you install and run them yourself, and they only reach files on that machine.
- Excel Online connectors. Integrations such as Zapier's Microsoft Excel MCP that act on workbooks in OneDrive or SharePoint through Microsoft's APIs: read a range, add a row, update a cell. Good for automating a live shared workbook.
- Hosted query servers. You upload or link the file once, and the server cleans it and exposes query tools (filter, total, group by month) to any AI app from one URL. Good for asking questions over large or messy exports, from several AI apps, without installing anything. This is what Fileshape is.
Why answers from a raw workbook go wrong
Exports from banks, stores and ERPs are rarely clean tables. The header sits on row 4 under a report title, amounts are text like "₹1,23,456.00" or "(200)", dates such as 05/02/26 are ambiguous, and codes like 00123 must stay text. An AI reading cells directly has to guess at all of that, and reading a 50,000-row sheet cell by cell doesn't fit in its context anyway, so it summarises a sample.
A query server avoids both problems. The workbook is turned into one typed table up front (real header found, numbers and dates parsed, codes kept as text), and totals and group-bys run on the server over every row. The AI receives only the answer, with row numbers to check it against. See why AI gets spreadsheet totals wrong for examples.
Fileshape: a hosted Excel MCP server
With Fileshape Ask AI you add an Excel file on your files page: upload it, or if it's already in S3, Google Cloud Storage, R2 or anywhere else with a download link, just paste the URL. It reads .xlsx, .xls and .ods, picks the sheet, finds the header row and types every column. CSV, JSON, XML and PDF tables work the same way.
Before anything is stored you choose what the AI may see: mask a column to its last 4 characters or hide it completely. Every file in your account is then behind one URL, so the same workbook is available in Claude, ChatGPT, Cursor and other MCP apps at once:
https://mcp.fileshape.app/mcp
The AI gets tools to list your files with their columns and date ranges, describe a column, fetch, search and filter rows, aggregate (totals, averages, group by day, month, quarter or year) and list distinct values. It can't change your file: Fileshape is read-only, which is what you want for questions about financial or customer data.
Connecting it to Claude, ChatGPT or Cursor
Add the URL once in each app and sign in to Fileshape when asked:
- Claude: Settings → Connectors → Add custom connector, paste the URL.
- Claude Code: claude mcp add --transport http fileshape https://mcp.fileshape.app/mcp, then run /mcp to sign in.
- ChatGPT (paid plans): turn on Developer mode under Settings → Apps & Connectors → Advanced, then add a custom MCP server with OAuth.
- Cursor: add the URL under mcpServers in ~/.cursor/mcp.json.
- Other apps (Grok, Perplexity, Codex, Gemini CLI, Manus): see the setup guide.
Ask AI about this file
Ask ChatGPT, Claude or Cursor about your file. Fileshape cleans it, masks personal columns and gives your AI one link, so totals come from every row.
FAQ
Questions
What is an Excel MCP server?
A Model Context Protocol server that gives AI apps tools to work with Excel files: reading, editing or querying them, depending on the server, instead of pasting the sheet into the chat.
What's the best Excel MCP server?
It depends on the job. To edit workbooks on your own computer, use a local open-source server. To automate a shared workbook in OneDrive, use an Excel Online connector. To ask questions about large or messy exports from several AI apps, use a hosted query server such as Fileshape.
Does Claude have an Excel MCP server?
Claude supports MCP servers as custom connectors (and with claude mcp add in Claude Code), so any Excel MCP server can be added to it. Anthropic also offers Claude for Excel, an add-in that works inside the Excel app.
Can I connect files from S3 or cloud storage?
Yes. Paste the file's URL (for example an S3, Google Cloud Storage or R2 link, or any direct download link) and Fileshape imports and cleans it like an upload.
Can the AI change my workbook?
Not with Fileshape: its tools only read and query. Local file servers and Excel Online connectors can write, so check what a server is allowed to do before connecting it.
More from the blog
Keep reading
- Claude MCP: how to add connectors in claude.ai, Claude Desktop and Claude CodeThe three ways to add an MCP server to Claude: custom connectors in claude.ai, the Claude Desktop config file and claude mcp add in Claude Code.
- ChatGPT MCP: how to add an MCP server (what used to be a custom connector)Which ChatGPT plans can add a custom MCP server, the steps on the Plugins page, sign-in options and limits, with a spreadsheet server as the example.
- Filesystem MCP server: what it is, how to set it up, and where it stopsWhat the official Filesystem MCP server does, the Claude Desktop config for it, its tools and limits, and what to use in claude.ai or ChatGPT instead.
- The best MCP servers for files, by what you need them to doAn honest list of MCP servers for files, picked by job: local folders, CSV and Excel, Google Sheets, PDFs, databases and cloud drives.
Updated 2026-11-27