
一个通过COM自动化驱动的Windows MCP服务器. 实际刷新的Power Query , 实际刷新的Pivot Tables , 实际计算的DAX, 并截图让AI看到什么...
概览
一个通过COM自动化驱动的Windows MCP服务器. 实际更新的Power Query, 实际更新的Pivot Tables, 实际计算到的DAX, 并截图让AI能看到它构建的东西. ThepExcelMCP是一个模型上下文协议服务器,它暴露了一个用户在Excel——工作簿,范围,表格,功率查询(完整M-代码 CRUD),枢轴表,带有DAX度量法的数据模型,图表,格式化,有条件的格式,验证,切片器,页面设置/PDF导出,保护,VBA(opt-in),以及一个具有无损快照和范围/表疏导的安全层. 任何在人工智能代理公司(Claude Code, Claude Desktop, Codex CLI, 或任何MCP客户端)工作的人,都要做真正的电子表格工作:分析师将每月报告自动化,Excel pros Building Power Query 管道通过即时,开发者需要代理来构建和验证真正的工作簿.
概述(AI 翻译)
** 让你的人工智能特工掌握真正的Excel——不仅仅是文件。 **
一个能驱动活的Windows MCP服务器,通过COM自动化运行Excel桌面. 电源查询,实际上刷新, 枢轴表, 和截图 这样AI可以 * 看它建了什么。
快开始… 为什么是COM? 工具 · 安装… · 安全性 解决问题
– – . . .
□ 这是什么?
ThepExcelMCP是一个模式上下文协议服务器,可以曝光 ** 26个工具** 几乎涵盖一个电力用户在Excel——工作手册、范围、表格、表格、 Power Query(完整的M-code CRUD), 枢轴表, 带有 DAX 度量法的数据模型, 图表, 格式化, 条件格式、 验证、 切片器、 页面设置/ PDF 导出、 保护、 VBA( opt- in) 和 a 带有无损快照和范围/表分解的安全层。
给在Windows**上工作,想要AI代理的人 (Claude Code, Claude Desktop, Codex CLI, 或任何 MCP 客户端) 做真正的电子表格工作 : 分析员将每月报告自动化 Excel Pros 建造电力查询管道 和需要代理来构建 *并验证 * 真实工作簿的开发者.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
What is this?
ThepExcelMCP is a Model Context Protocol server that exposes 26 tools covering nearly everything a power user can do in Excel — workbooks, ranges, Tables, Power Query (full M-code CRUD), PivotTables, the Data Model with DAX measures, charts, formatting, conditional formats, validation, slicers, page setup / PDF export, protection, VBA (opt-in), and a safety layer with non-destructive snapshots and range/sheet diffing.
It is for anyone who works in Excel on Windows and wants an AI agent (Claude Code, Claude Desktop, Codex CLI, or any MCP client) to do real spreadsheet work: analysts automating monthly reporting, Excel pros building Power Query pipelines by prompt, and developers who need an agent to build and verify real workbooks.
When an agent calls a tool here, it is talking to the actual Excel process — including the workbook you already have open. This is the difference between editing an XML zip file and actually using Excel.
Quick start — hand it to your AI agent
Send this GitHub link to your AI coding agent (Claude Code, Codex CLI, …) and tell it to take over — it will read this README and set the MCP server up for you, as either user scope (every project) or project scope (one project only). ❤️
🇹🇭 แค่ส่งลิงก์ GitHub นี้ให้ AI Agent ของคุณ แล้วบอกให้ AI จัดการต่อได้เลย จะลง MCP เป็น User Scope หรือ Project Scope ก็ได้ ❤️
https://github.com/ThepExcel/ThepExcelMCP
Once registered, just talk to your agent. Things you can say:
- “Read the table on Sheet1 of Book1 and build a PivotTable of sales by Region, with a chart.”
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"thepexcel-excel": {
"command": "uv",
"args": ["run", "--directory", "C:\\path\\to\\ThepExcelMCP", "python", "-m", "thepexcel_mcp.server"]
}
}
}