原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Excel MCP Server

作者:haris-musa版本 2.2.6i★ 4,276i在你的电脑上运行
注册名称io.github.haris-musa/excel-mcp-server

安装

概览

作者提供的说明(英文原文)

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:3 项中通过 3 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "excel": {
      "command": "uvx",
      "args": [
        "excel-mcp-server",
        "stdio"
      ]
    }
  }
}

在终端中运行这条命令

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

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "excel": {
      "command": "uvx",
      "args": [
        "excel-mcp-server",
        "stdio"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "excel": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "excel-mcp-server",
        "stdio"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 haris-musa 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于4天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3603 个服务器的 100%
  • 发布到注册中心的时间比此分类中其他 3603 个服务器的 77% 更新
  • 基础检查结果等于或优于此分类中其他 3603 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Excel MCP Server 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于4天前,最新版本(2.2.6)于8天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, MCP Server for Excel, Obsidian MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

Agent-Native Google Calendar - manage events, sync, and public booking

作者:BuilderIO广泛使用★ 76202个月前更新

在云端运行

MCP Server for Excel

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

作者:sbroenne正在增长↓ 4321/周★ 8475天前更新

在你的电脑上运行

Obsidian MCP Server

Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP.

作者:cyanheads正在增长↓ 7747/周★ 7029天前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Excel MCP Server

An open-source Model Context Protocol (MCP) server that lets Claude, Cursor, VS Code Copilot, Codex and other AI clients create, read and edit Excel files: charts, PivotTables, formulas, tables and more. It is built on openpyxl, needs no Microsoft Excel, and runs on Windows, macOS and Linux.

Install and try it at [excelmcpserver.com](https://excelmcpserver.com), or see Quick start below.

Features

Charts and PivotTables

  • Create Excel charts with AI: column, bar, line, area, pie, doughnut, radar, scatter and bubble, with combos, secondary axes, trendlines and error bars
  • The Excel 2016 chart types: waterfall, histogram, Pareto, box and whisker, treemap, sunburst and funnel
  • Real PivotTables that Excel refreshes (grouping, calculated fields, "show values as", layouts, filters), plus slicers and timelines for PivotTables and tables
  • Sparklines (line, column, win/loss)

Formulas and dynamic arrays

  • Formulas are calculated without Excel by a built-in engine (about 260 functions, checked against more than 2,500 formulas recorded from real Excel), so read_range returns values for files that were never opened in Excel
  • Dynamic arrays (FILTER, SORT, UNIQUE, SEQUENCE, LET) are stored as Excel stores them and spill into the cells next to them
  • Find out why a number is wrong: trace precedents and dependents across sheets, names and tables, and evaluate a formula step by step as Excel's Evaluate Formula does
  • Goal Seek: change an input until a formula reaches the value you want

Data, tables and rules

  • Read and write cells, dates and hyperlinks; tables with totals rows and calculated columns
  • Conditional formatting (scales, data bars, icon sets, top/bottom, duplicates, text, dates), data validation (dropdowns, limits, input messages)
  • Sort, filter (with criteria), find and replace, remove duplicates, text to columns, fill series, paste special
  • Fonts, fills, borders, number formats, merged cells, frozen panes, grouping, print setup, sheet protection, images, notes and defined names. Inserting or deleting rows and columns updates every reference, as in Excel

Large files

  • Reads stream the workbook and return pages, so memory stays flat on sheets with hundreds of thousands of rows; every call is bounded by size and cell limits
  • Edits of a sheet of 1 MB of XML or more parse only the rows they touch, so inserting or deleting rows and columns, sorting, replacing, copying a sheet and creating a PivotTable take seconds on a 200,000-row sheet instead of minutes

Macros (opt-in)

  • Read the VBA code in .xlsm files. Writing VBA is off unless you start the server with --allow-vba-write, which also decides whether create_workbook and import_workbook may make .xlsm/.xltm files; the server never runs macros

Safe by design

  • Optional folder confinement, a formula safety check, read-only mode, localhost-only HTTP by default, and atomic saves that never leave a half-written file

Works with .xlsx, .xlsm (macros are preserved), .xltx and .xltm files. Existing threaded comments, shapes, form controls and other content the tools cannot edit are kept as they are.

Quick start

You need uv. Every client runs the server with uvx excel-mcp-server stdio; replace /path/to/workbooks with the folder the server may use. excelmcpserver.com has the same steps with copy buttons and one-click install links for Cursor and VS Code.

Claude Desktop (Chat): download excel-mcp-server.mcpb from the latest release and open it. Claude asks which folder the server may use.

Claude Code (the CLI, and the Code tab in Claude Desktop):

claude mcp add excel --scope user -- uvx excel-mcp-server stdio --allow-dir /path/to/workbooks

Cursor (~/.cursor/mcp.json), and most clients that use an mcpServers config:

{

"mcpServers": { "excel": { "command": "uvx", "args": ["excel-mcp-server", "stdio", "--allow-dir", "/path/to/workbooks"] } } }

VS Code with GitHub Copilot (.vscode/mcp.json, note the servers key):

{

"servers": { "excel": { "type": "stdio", "command": "uvx", "args": ["excel-mcp-server", "stdio", "--allow-dir", "${workspaceFolder}"] } } }

OpenAI Codex, Gemini CLI, Devin Desktop, and Claude Desktop without the bundle

OpenAI Codex (CLI, IDE extension and app):

codex mcp add excel -- uvx excel-mcp-server stdio --allow-dir /path/to/workbooks

Gemini CLI:

gemini mcp add -s user excel uvx excel-mcp-server stdio --allow-dir /path/to/workbooks

Devin Desktop:

devin mcp add -s user excel -- uvx excel-mcp-server stdio --allow-dir /path/to/workbooks

Claude Desktop, manual setup: open Settings, Developer, Edit Config, add the mcpServers JSON above to claude_desktop_config.json, and restart Claude.

Desktop apps often cannot find uvx, because they do not see your shell's PATH (common on macOS). Use its full path instead, which which uvx prints.

Choosing which files it can use

With --allow-dir DIR, the server only opens workbooks inside DIR (subfolders included) and relative paths such as reports/q1.xlsx start there. Repeat the flag to allow several folders, or set EXCEL_FILES_PATH (separate folders with : on macOS/Linux and ; on Windows).

Without --allow-dir, any absolute path to an Excel file works. In every mode the server only touches Excel files and never silently overwrites an existing workbook.

Remote use (Streamable HTTP)

uvx excel-mcp-server streamable-http --allow-dir /srv/workbooks

Clients connect to http://127.0.0.1:8017/mcp. Workbooks live in the --allow-dir folder (default ./excel_files), and export_workbook / import_workbook move files between the server and the client.

The server listens on localhost only. To accept other machines, set a token and a host:

EXCEL_MCP_AUTH_TOKEN=change-me uvx excel-mcp-server streamable-http --host 0.0.0.0

Clients then send Authorization: Bearer change-me. Put a TLS-terminating reverse proxy in front of it for use across networks.

Docker
docker build -t excel-mcp-server .

docker run -p 8017:8017 -v "$PWD/workbooks:/data" -e EXCEL_MCP_AUTH_TOKEN=change-me excel-mcp-server

Configuration

FlagEnvironment variableDefaultMeaning
--allow-dir DIREXCEL_FILES_PATHnone (stdio), ./excel_files (HTTP)Folders workbooks must be in
--read-onlyEXCEL_MCP_READ_ONLY=1offOnly offer tools that do not change files
--allow-vba-writeEXCEL_MCP_ALLOW_VBA_WRITE=1offAdd tools that write VBA macros (see warning below); ignored with --read-only
--tools AREASEXCEL_MCP_TOOLSallOnly offer the core tools and these comma-separated areas, to save context (see Choosing tools)
--max-file-mb NEXCEL_MCP_MAX_FILE_MB100Largest workbook the server opens. Also sets the unpacked-size limit (10 times this) that every opened or uploaded workbook must stay under; parts compressed over 500:1 are refused
--max-cells NEXCEL_MCP_MAX_CELLS100000Most cells one call may read, write or format; reads are still returned in pages
--max-pivot-cells NEXCEL_MCP_MAX_PIVOT_CELLS3000000Largest PivotTable source in cells (a 230,000-row, 13-column sheet); creating one from the biggest sources takes a minute and about 2 GB of memory
--max-loaded-cells NEXCEL_MCP_MAX_LOADED_CELLS3000000Most cells and rows of a workbook that may be loaded into memory at once, about 0.5 KB each (a 3,000,000 limit is about 1.5 GB). A workbook with more is refused by the tools that must load whole sheets; read_range and the other streaming reads, and edits of large sheets that parse only some rows, are not limited by the size of the sheet
--log-level LEVELWARNINGLogging on stderr
--host HOSTEXCEL_MCP_HOST127.0.0.1HTTP listen address
--port PORTEXCEL_MCP_PORT8017HTTP port
EXCEL_MCP_AUTH_TOKENnoneBearer token required on HTTP requests
--allow-unauthenticatedoffAllow a non-local --host without a token

Tools

AreaTools
Workbookscreate_workbook, describe_workbook, set_workbook_settings, list_workbooks, export_workbook, import_workbook
CSVimport_csv, export_csv
Sheetsdescribe_sheet, create_sheet, rename_sheet, copy_sheet, delete_sheet, insert_rows_or_columns, delete_rows_or_columns
Cellsread_range, write_range, clear_range, copy_range, sort_range, transform_range, find_cells, replace_cells
Formulastrace_formula, goal_seek
Formattingformat_range, merge_cells, set_sheet_layout, add_conditional_format, add_data_validation
Objectsset_table, create_chart, delete_chart, create_pivot_table, delete_pivot_table, add_slicer, delete_slicer, insert_image, delete_image, add_sparklines, delete_sparklines
Names and notesset_defined_name, delete_defined_name, set_note, delete_note
Macrosread_vba; with --allow-vba-write: write_vba_module, delete_vba_module
Choosing tools

Every tool costs context in every request. --tools offers only the core tools (describe_workbook, describe_sheet, read_range) and the areas you list, for example uvx excel-mcp-server stdio --tools data,charts. It combines with --read-only (read-only tools of the areas) and --allow-vba-write (which also needs the vba area). An unknown area stops the server at startup and lists the valid ones. The sizes are characters of tool descriptions and schemas, at about 3.5 characters per token:

AreaToolsCharacters
core (always)describe_workbook, describe_sheet, read_range8,900
workbookscreate_workbook, set_workbook_settings, list_workbooks, export_workbook, import_workbook2,600
csvimport_csv, export_csv2,200

| sheets | create_sheet, rename_sheet, copy_sheet, delete_sheet, insert_rows_or_columns, `delete_ro

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx