# Excel spreadsheets your AI agent can work in

> Edit Excel (.xlsx) and CSV files with formulas, filters, charts and formatting, and let an AI assistant, Claude Code, Codex or any MCP client sort, clean up and fill in the data.

MCP Docs opens Excel and CSV files in a full spreadsheet editor: formulas, filters, sorting, charts and formatting. Your AI agent works in the same grid you do, so you can ask it to clean up a column, fill in missing data or chart the totals, and watch each change happen.

![A spreadsheet of recent YC companies with their batch, industry and website](https://mcpdocs.freeflow.im/marketing/spreadsheet.webp)

## What you can do

- **Open and save Excel files.** Cells, formulas, formatting, column widths, frozen rows and charts are read from the `.xlsx` file and written back to it. In the desktop app the file in your folder stays an Excel file; on the web, download it as one at any time.
- **Formulas.** More than a hundred of the functions you know from Excel and Google Sheets, from `SUM` and `IF` to `VLOOKUP`, `XLOOKUP` and `SUMIFS`, recalculated as you type.
- **Sort and filter.** Sort a range by any column, and filter rows by their values or by a condition.
- **Charts.** Column, bar, line, area, pie and scatter charts that float over the sheet and follow their data as rows and columns change. Put one on a slide, linked, and the slide keeps up too.
- **Formatting.** Number formats, bold and italic, text and fill colors, alignment, wrapping, frozen rows and columns, and as many tabs as you need.
- **CSV files.** Edit CSV files as spreadsheets and save them as CSV. If you add something CSV cannot hold, such as formatting or a second tab, the app offers to make it an Excel file instead.

## Work on a spreadsheet with your agent

Ask the assistant beside the sheet in plain words:

- "Sort by location, then by founding year."
- "Split the full name column into first and last name."
- "Add a total row and a column chart of revenue by quarter."
- "Color the rows where revenue fell from last year."

The assistant reads the sheet's layout first, then makes its edits as one undoable step, on the tab it shows you. In the desktop app the same tools are an MCP server on your machine, so Claude Code, Codex or another agent can read and write ranges, formulas included:

```sh
npx @freeflow-im/mcp-docs
```

## Frequently asked questions

### Can I open files from Excel and Google Sheets?

Yes. Open any `.xlsx` or `.csv` file; Google Sheets and Numbers can export both. In the desktop app, a file that holds something MCP Docs cannot keep, such as a pivot table or a macro, opens read-only and lists what would be lost, so you choose before anything in it changes.

### Does the agent see my formulas or only the values?

Both. It reads a range's values and its formulas, and it can write formulas as well as values.

### Can I undo what the agent did?

Yes. Every change the agent makes is a step in the sheet's undo history, like your own.

### Is it free?

Yes. MCP Docs is free and open source, for Macs with Apple silicon and 64-bit Windows, and in beta on the web.

## Get MCP Docs

- Download the desktop app for macOS or Windows: https://github.com/freeflow-im/mcp-docs/releases/latest
- Install it and add it to Claude Code and Codex: `npx @freeflow-im/mcp-docs`
- The web version (beta): https://mcpdocs.freeflow.im/register
- How an agent connects to MCP Docs: https://mcpdocs.freeflow.im/llms.txt

## Other features

- [Edit PowerPoint presentations with your AI agent](https://mcpdocs.freeflow.im/features/presentations.md): Open, edit and save PowerPoint (.pptx) presentations with an AI assistant beside them, or let Claude Code, Codex or any MCP client build and edit the slides while you watch.
- [Word documents you write with your AI agent](https://mcpdocs.freeflow.im/features/documents.md): Write and edit Word (.docx) documents with headings, pictures and video, and let the built-in AI assistant, Claude Code, Codex or any MCP client draft and edit them with you.
- [A Markdown editor built for working with agents](https://mcpdocs.freeflow.im/features/markdown.md): A GitHub-flavored Markdown editor with a live preview and Mermaid diagrams, where the AI assistant, Claude Code, Codex or any MCP client edits the same files you do.
- [PDFs your AI agents can read](https://mcpdocs.freeflow.im/features/pdfs.md): Read and sign PDFs, and turn any PDF, scanned pages included, into Markdown that Claude Code, Codex and other AI agents can read and edit, with the free MCP Docs app.
- [An image editor you can ask](https://mcpdocs.freeflow.im/features/images.md): Crop, resize, adjust colors, add text and shapes and stack layers on your pictures, or ask the AI assistant to do it, background removal included, in the free MCP Docs app.
- [Office files for your AI agents, over MCP](https://mcpdocs.freeflow.im/features/ai-agents.md): Give Claude Code, Codex, Cursor or any MCP client the tools to open, read, create and edit Word, Excel and PowerPoint files, PDFs, Markdown and pictures, and watch each change in the MCP Docs app.
