Excel and CSV MCP server: let any AI query your spreadsheets
A CSV MCP server gives an AI app tools to query a spreadsheet (filter rows, total a column, group by month) instead of pasting the file into the chat. The AI asks, the server computes over every row, and only the answer goes back, so file size stops being a problem. Fileshape is a hosted one: upload CSV, Excel, JSON or PDF tables and add one URL to any MCP app.
Why use MCP for a CSV at all
Attaching a CSV to a chat works for small files. Past a few thousand rows the AI either reads part of it or writes code that has to guess the layout, and the file counts against its context and upload limits.
MCP (Model Context Protocol) is the standard Claude, ChatGPT, Cursor and most agents use to call outside tools. With a CSV behind an MCP server, the file never enters the conversation. The AI calls a tool like "sum Amount where Region is North" and gets back one number, computed over every row.
What a good CSV MCP server should do
Reading the file is the easy part. These are what make the answers right:
- Type the columns. "₹1,23,456.00", "(200)" and "1.234,50" should be numbers and 05/02/26 should be a real date, or every total and date filter is off.
- Find the real header. Exports from banks and ERPs often start with title rows.
- Compute on the server. Totals, averages and group-bys should run over all rows, not over the sample the AI happened to read.
- Cap every response so one call can't flood the AI's context, and page through long results.
- Cite rows, so you can check where an answer came from.
- Let you keep columns out. Personal columns should be hidden or masked before the AI ever sees them.
Fileshape: one URL for all your files
Fileshape Ask AI is a hosted CSV and Excel MCP server. Upload a file on your files page and it's cleaned and typed once. CSV, TSV, Excel, ODS, JSON, XML, YAML and PDF tables all work. Every file in your account then sits behind one URL:
https://mcp.fileshape.app/mcp
The AI gets seven tools. list_files shows every file with its columns, their types and its date range, so the AI can pick the right file from "my HDFC statement" without opening each one. describe gives per-column stats. get_rows, search and filter return matching rows (with row numbers), aggregate does totals and group-bys (by day, month, quarter or year for dates) and distinct lists a column's values.
Before upload you choose what the AI sees: mask a column to its last 4 characters or hide it, and hidden columns aren't sent. Each file's AI access can be switched off later without deleting it. The free plan holds one file up to 50 MB; Pro holds 50 files up to 200 MB each.
Connecting it
Add the URL once per app and sign in to Fileshape when asked:
- Claude: Settings → Connectors → Add custom connector.
- Claude Code: claude mcp add --transport http fileshape https://mcp.fileshape.app/mcp, then /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.
- Grok, Perplexity, Codex, Gemini CLI, Manus and others: see the setup guide.
Convert or reshape a file in your browser. Nothing is uploaded.
Open the converterFAQ
Questions
What is an Excel MCP server?
An MCP server that lets AI apps query Excel workbooks as tables (filter, total, group) without loading the file into the chat. Fileshape reads xlsx and xls, picks up the header row, and types each column.
What is a CSV MCP server?
An MCP server that exposes a CSV (or other table) to AI apps as tools: list, filter, search, aggregate. The AI queries the data instead of loading the whole file into the chat.
Does Claude support CSV through MCP?
Yes. Add an MCP server as a custom connector in Claude (or with claude mcp add in Claude Code) and Claude calls its tools to query the file.
Can an MCP server handle Excel files, not just CSV?
Fileshape reads Excel (xlsx, xls), ODS, JSON, XML and PDF tables as well as CSV, and turns each into the same typed table.
How big can the file be?
On Fileshape, up to 50 MB on the free plan and 200 MB on Pro. Because the AI only receives query results, the file's size doesn't count against the AI's context.
More from the blog
Keep reading
- AI for data analysis: which tool to use, and how to trust the answersThe three ways to use AI for data analysis (chat uploads, spreadsheet add-ins, connected agents), which fits which job, and how to check the numbers.
- How to upload files to ChatGPT and Claude, and share them with any AIUpload a file to ChatGPT or Claude, fix uploads that fail, and share the same files with every AI app through one URL instead of re-uploading.
- Is it safe to upload a bank statement to ChatGPT or Claude?What ChatGPT and Claude keep when you upload a bank statement, the settings that stop training on it, and how to share only the columns the AI needs.
- Bank statement analysis with ChatGPT or Claude: prompts that get the numbers rightCopy-paste prompts for analysing a bank or card statement in ChatGPT or Claude, plus how to prepare the file so the totals come out right.
Updated 2026-11-24