Excel MCP Server
MCP server by haris-musa Community
Creates, reads and edits Excel files for AI assistants, including charts, PivotTables and formulas. It runs without Microsoft Excel and suits people who use Claude, Cursor, VS Code Copilot or Codex.
Install Excel MCP Server
Built from the published package, never by AI.
claude mcp add excel-mcp-server -- uvx excel-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"excel-mcp-server": {
"args": [
"excel-mcp-server"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"excel-mcp-server": {
"args": [
"excel-mcp-server"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"excel-mcp-server": {
"args": [
"excel-mcp-server"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add excel-mcp-server -- uvx excel-mcp-server{
"mcpServers": {
"excel-mcp-server": {
"args": [
"excel-mcp-server"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add excel-mcp-server uvx excel-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 excel-mcp-server block.
About
Excel MCP Server is an open-source Model Context Protocol server that lets AI clients such as Claude, Cursor, VS Code Copilot and Codex create, read and edit Excel files. It covers charts, PivotTables, formulas, tables, conditional formatting and more, including Excel 2016 chart types. It is built on openpyxl and needs no Microsoft Excel, and it runs on Windows, macOS and Linux.
Formulas are calculated by a built-in engine, so values can be read from files that were never opened in Excel. The server runs over stdio by default, or over Streamable HTTP with localhost-only access, optional folder confinement and a read-only mode. Writing VBA is off unless it is enabled. The project suits people who want AI assistants to work with spreadsheet files.
Written from the project's README and checked against it.
Tools it gives your assistant
create_workbookCreates a new Excel workbook, including .xlsm and .xltm files when VBA writing is allowed.describe_workbookDescribes the structure of a workbook so the assistant can see its contents.read_rangeReads cell values from a range, returned in pages with size limits.write_rangeWrites values and formulas into a range of cells.create_chartCreates Excel charts, including combo, scatter and waterfall types.create_pivot_tableCreates PivotTables that Excel can refresh, with grouping and calculated fields.trace_formulaTraces precedents and dependents of a formula across sheets, names and tables.goal_seekChanges an input cell until a formula reaches a chosen target value.format_rangeApplies fonts, fills, borders and number formats to a range.add_conditional_formatAdds conditional formatting rules such as scales, data bars and icon sets.
What you need
- uv, used to run the server with uvx
- Windows, macOS or Linux
- Microsoft Excel is not required
Try asking
- Create a column chart from the sales data in q1.xlsx
- Add a PivotTable of revenue by region in budget.xlsx
- Trace where the total in cell B12 of report.xlsx comes from
Good to know
- Macros are never run, and writing VBA is off unless --allow-vba-write is set.
- Each call is bounded by --max-cells, which defaults to 100,000 cells.
- The HTTP server listens on localhost only unless a host and token are set.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Excel MCP Server
All alternatives →Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.
Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.
Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.
Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.
Compare with MR Office, kordoc or Desktop Commander
Excel MCP Server: common questions
Does Excel MCP Server need Microsoft Excel installed?
No. The server is built on openpyxl and needs no Microsoft Excel. Formulas are calculated by a built-in engine.
Which file types does it support?
It works with .xlsx, .xlsm (macros are preserved), .xltx and .xltm files. It can also import and export .csv and .tsv files.
Can it be used with a remote server?
Yes, through Streamable HTTP. It listens on localhost by default, and a bearer token is needed to accept connections from other machines.
How do I install Excel MCP Server?
In Claude Code run claude mcp add excel-mcp-server -- uvx excel-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Excel MCP Server the official server?
Excel MCP Server is a community project by haris-musa, not verified by a company domain.
Is Excel MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Excel MCP Server safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Excel MCP Server?
Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.
Does Excel MCP Server 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.
