Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyData and databases

Excel MCP Server

Lets your AI agent create and edit Excel files with charts, PivotTables and formulas, without Excel installed.

4.3k stars on GitHubby Haris MusaLicense MITUpdated 19 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add excel -- uvx excel-mcp-server stdio

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Open sales.xlsx and add a column chart of revenue by month.
Create a PivotTable that sums amount by region from the Data sheet.

What it is

This server lets your agent open, read and write Excel workbooks directly. It can build charts, PivotTables, tables and formulas, and apply formatting. It does not need Microsoft Excel and runs on Windows, macOS and Linux.

What it can do

  • create_workbook: start a new workbook
  • read_range and write_range: read and write cells
  • create_chart: build column, bar, line, pie and other charts
  • create_pivot_table: make real PivotTables
  • format_range: fonts, fills, borders and number formats
  • add_conditional_format and add_data_validation: rules and dropdowns
  • find_cells and replace_cells: search and replace
  • import_csv and export_csv: move data to and from CSV

When to use

  • β€ΊWhen you want a report spreadsheet built from raw data with charts.
  • β€ΊWhen you need to clean, sort or filter a large sheet without opening Excel.
  • β€ΊWhen a number looks wrong and you want to trace which cells feed a formula.

What you need

uv (the Python tool runner), because it starts with uvx. No Microsoft Excel is needed.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is an open-source project built on openpyxl.

Do I need Microsoft Excel?

No. Formulas are calculated by a built-in engine, so values can be read from files never opened in Excel.

Which file types work?

It works with .xlsx, .xlsm, .xltx and .xltm files. Macros are preserved.

Can it run macros?

No. It can read VBA code in .xlsm files, and writing VBA is off unless you start it with --allow-vba-write. The server never runs macros.

Can I limit which files it opens?

Yes. Use --allow-dir to limit it to chosen folders, or --read-only to only offer tools that do not change files.

How does it handle large files?

Reads stream the workbook and return pages. The default limit is a 100 MB file and 100,000 cells per call, which you can change.

If it does not work

  • β€ΊIf a desktop app cannot find uvx, use its full path from which uvx in the config.
  • β€ΊMake sure the file is inside the folder you allowed with --allow-dir.
  • β€ΊRestart your AI client after changing the config.

5 new skills a week. 1 minute to read.