# Excel MCP Server — Edit .xlsx Without Excel > excel-mcp-server is an MCP server to edit .xlsx without Microsoft Excel; verified 3,820★ and runs via `uvx excel-mcp-server` (stdio or streamable HTTP). ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use ```bash uvx excel-mcp-server stdio # Remote (recommended): uvx excel-mcp-server streamable-http # http://localhost:8000/mcp ``` ## Intro excel-mcp-server is an MCP server to edit .xlsx without Microsoft Excel; verified 3,820★ and runs via `uvx excel-mcp-server` (stdio or streamable HTTP). **Best for:** Agents that need spreadsheet edits, charting, and formatting as part of a workflow **Works with:** Any MCP client; local stdio or remote streamable HTTP transport **Setup time:** 5-10 minutes ### Key facts (verified) - GitHub: 3821 stars · 416 forks · pushed 2026-04-12. - License: MIT · owner avatar + repo URL verified via GitHub API. - README-backed entrypoint: `uvx excel-mcp-server stdio`. ## Main - Use stdio transport when your client runs on the same machine; switch to streamable HTTP for remote agents. - Treat file paths as an allowlist: point the server at a dedicated workbook directory (README shows env vars like `EXCEL_FILES_PATH`). - Prefer deterministic edits: describe the sheet layout first, then apply edits via tools instead of rewriting whole workbooks. ### Source-backed notes - README states it manipulates Excel files without requiring Microsoft Excel installed. - README shows `uvx excel-mcp-server stdio` plus `sse` and `streamable-http` options, with `/mcp` as the streamable endpoint. - README lists Excel features such as formulas, formatting, charts, and pivot tables. ### FAQ - **Do I need Excel installed?**: No—README explicitly says it works without Microsoft Excel. - **Which transport is best?**: Use stdio for local; use streamable HTTP for remote access and stable URLs. - **How do I keep it safe?**: Restrict the directory you expose and avoid running it with broad filesystem permissions. ## Source & Thanks > Source: https://github.com/haris-musa/excel-mcp-server > License: MIT > GitHub: ⭐ 3821 · forks 416 Thanks to the upstream maintainers for shipping the original project. --- ## 快速使用 ```bash uvx excel-mcp-server stdio # Remote (recommended): uvx excel-mcp-server streamable-http # http://localhost:8000/mcp ``` ## 简介 excel-mcp-server 是一个无需安装 Microsoft Excel 也能读写工作簿的 MCP server;已验证 3,820★,支持 stdio 与 streamable HTTP(`uvx excel-mcp-server ...`)。 **适合谁用:** 需要在任务流里处理表格编辑/图表/格式化的 agent **适用环境:** 任意 MCP 客户端;本地 stdio 或远程 streamable HTTP **配置耗时:** 5-10 minutes ### 关键事实(已验证) - GitHub:3821 stars · 416 forks;最近更新 2026-04-12。 - 许可证:MIT;作者头像与仓库链接均已通过 GitHub API 复核。 - README 中可对照的入口命令:`uvx excel-mcp-server stdio`。 ## 正文 - 客户端与 server 同机时用 stdio;需要远程调用时用 streamable HTTP(示例为 `http://localhost:8000/mcp`)。 - 把文件路径当作 allowlist:建议只暴露一个专用工作簿目录(README 展示 `EXCEL_FILES_PATH` 等)。 - 尽量让输出可复现:先明确表结构/范围,再通过工具逐步修改,而不是整本重写。 ### 基于来源的要点 - README 表示无需安装 Microsoft Excel 也能操作 Excel 文件。 - README 展示 `uvx excel-mcp-server stdio`、`sse` 与 `streamable-http`,并以 `/mcp` 作为 streamable 端点。 - README 列举支持能力:公式、格式化、图表、pivot table 等。 ### 常见问题 - **必须装 Excel 吗?**:不需要。README 明确写了无需 Microsoft Excel。 - **transport 哪个更推荐?**:本地用 stdio;远程访问用 streamable HTTP,URL 更稳定。 - **怎么更安全?**:限制暴露的工作簿目录,避免给它过宽的文件系统权限。 ## 来源与感谢 > Source: https://github.com/haris-musa/excel-mcp-server > License: MIT > GitHub: ⭐ 3821 · forks 416 --- Source: https://tokrepo.com/en/workflows/excel-mcp-server-edit-xlsx-without-excel Author: MCP Hub