{"_id":"excel-mcp","_rev":"6-ece3a9248c524c3077eb5819bc092490","name":"excel-mcp","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"excel-mcp","version":"1.0.0","_id":"excel-mcp@1.0.0","maintainers":[{"name":"choco9527","email":"774398754@qq.com"}],"bin":{"excel-mcp":"build/index.js"},"dist":{"shasum":"1510e48f050f249fd88c7c2e044a896e29664f11","tarball":"https://registry.npmjs.org/excel-mcp/-/excel-mcp-1.0.0.tgz","fileCount":3,"integrity":"sha512-33tH2EQWyLZpFGbV84ZqOr0IhYCcV+PKVeOBLDTaKDqRUGHpedc+s5KPw6Pi3pP+3ZHVYyIs8rC/gtW6CPfyqA==","signatures":[{"sig":"MEUCICyCpb/fFoovl3VBsuMgj/vIORf0HqgjEMHF0/yJ6nK0AiEA6BCWyIlWeAVY/QyYweP/expcucnckxyt9BByRvpE3Zg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5607},"type":"module","gitHead":"a52ee3ed769247a560d0c45a1dedf827bdb48f17","scripts":{"build":"tsc && chmod 755 build/index.js"},"_npmUser":{"name":"choco9527","email":"774398754@qq.com"},"_npmVersion":"10.7.0","description":"`excel-mcp` 是一个基于 [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) 的服务器，使用 TypeScript 编写，具备读取 Excel 文件（`.xlsx` 格式）的功能，并通过 MCP 协议对接交互式工具。","directories":{},"_nodeVersion":"18.20.3","dependencies":{"zod":"^3.22.4","xlsx":"^0.18.5","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/excel-mcp_1.0.0_1748069728519_0.9769887029922657","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"excel-mcp","version":"1.0.1","keywords":["excel","csv","mcp","数据处理","modelcontextprotocol"],"author":{"name":"CHOCO"},"license":"MIT","_id":"excel-mcp@1.0.1","maintainers":[{"name":"choco9527","email":"774398754@qq.com"}],"homepage":"https://github.com/yourname/excel-mcp","bugs":{"url":"https://github.com/yourname/excel-mcp/issues"},"bin":{"excel-mcp":"build/index.js"},"dist":{"shasum":"156d834357b0be5e426acbeb6bb2edf6a5ebe434","tarball":"https://registry.npmjs.org/excel-mcp/-/excel-mcp-1.0.1.tgz","fileCount":3,"integrity":"sha512-RRYPdDpYb2c2sU6J2Go1/x1K0hNRUMWyMy93hjJvDB2Tc2Jv3hkBsseVZUb7Lldv3y6k6L2dkn0CpSX84zAM4w==","signatures":[{"sig":"MEUCIQCKDZ7nk6qMDYAf0sQTUxcMJRZB5/0N8xN2e91L8Qz3cwIgDJ33mhh84B2rW80ZvH/IAq2cfq1YflfrU5QLUoUTZgc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5981},"type":"module","gitHead":"a52ee3ed769247a560d0c45a1dedf827bdb48f17","scripts":{"build":"tsc && chmod 755 build/index.js"},"_npmUser":{"name":"choco9527","email":"774398754@qq.com"},"repository":{"url":"git+https://github.com/yourname/excel-mcp.git","type":"git"},"_npmVersion":"10.7.0","description":"基于 MCP 协议的 Excel/CSV 文件读取服务","directories":{},"_nodeVersion":"18.20.3","dependencies":{"zod":"^3.22.4","xlsx":"^0.18.5","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/excel-mcp_1.0.1_1748069818694_0.18058647174682108","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"excel-mcp","version":"1.0.2","keywords":["excel","csv","mcp","数据处理","modelcontextprotocol"],"author":{"name":"CHOCO"},"license":"MIT","_id":"excel-mcp@1.0.2","maintainers":[{"name":"choco9527","email":"774398754@qq.com"}],"homepage":"https://github.com/choco9527/excel-mcp","bugs":{"url":"https://github.com/choco9527/excel-mcp/issues"},"bin":{"excel-mcp":"build/index.js"},"dist":{"shasum":"92e7af4523699a7e50536e74539039b50bb8f0ba","tarball":"https://registry.npmjs.org/excel-mcp/-/excel-mcp-1.0.2.tgz","fileCount":3,"integrity":"sha512-bwlZwxbyP1zVjfZuoFy3IG4VDovFsOyZHAt5LDoYiBLD/cDxGUZOEfAotnA66SS0WkfvFG+ueF0QIiSDqvzw1Q==","signatures":[{"sig":"MEUCIG9PX/YBC7H5NdEJcVPbGcj6Fetxy9xC2vf3PlCX3C6cAiEA9t8Ln6EO6shAJ/+VFQ5ZdKMS8icNW+CsIYmjMHyL2S8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5985},"type":"module","gitHead":"2f9899d7b47c4ce601c8a7870dbdc52f09b72c26","scripts":{"build":"tsc && chmod 755 build/index.js"},"_npmUser":{"name":"choco9527","email":"774398754@qq.com"},"repository":{"url":"git+https://github.com/choco9527/excel-mcp.git","type":"git"},"_npmVersion":"10.7.0","description":"基于 MCP 协议的 Excel/CSV 文件读取服务","directories":{},"_nodeVersion":"18.20.3","dependencies":{"zod":"^3.22.4","xlsx":"^0.18.5","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/excel-mcp_1.0.2_1748069933842_0.5061222833366121","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"excel-mcp","version":"1.0.3","keywords":["excel","csv","mcp","数据处理","modelcontextprotocol"],"author":{"name":"CHOCO"},"license":"MIT","_id":"excel-mcp@1.0.3","maintainers":[{"name":"choco9527","email":"774398754@qq.com"}],"homepage":"https://github.com/choco9527/excel-mcp","bugs":{"url":"https://github.com/choco9527/excel-mcp/issues"},"bin":{"excel-mcp":"build/index.js"},"dist":{"shasum":"3ee8cdc6ce3961508f8fb8e80a7c224b7680d45c","tarball":"https://registry.npmjs.org/excel-mcp/-/excel-mcp-1.0.3.tgz","fileCount":3,"integrity":"sha512-UE/lmkPnXdOWb49BlwpeJSFa8RoJL3yn+L+63iLgGha1U129PhVnISx7Y+AVUf9JC67b1c/9TBrocmU8qocLhQ==","signatures":[{"sig":"MEUCIQDI1eFH1tbuFEO6fmbErq6870gsDVoEck7iE8r0xVbJRAIgMUW4pCS8iECKjBLnl67DytwLjqR8CB98lALOO6L0P0Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6028},"type":"module","gitHead":"980dfef1b771327c7fdfd9c24d0c042d6133ff28","scripts":{"build":"tsc && chmod 755 build/index.js"},"_npmUser":{"name":"choco9527","email":"774398754@qq.com"},"repository":{"url":"git+https://github.com/choco9527/excel-mcp.git","type":"git"},"_npmVersion":"10.7.0","description":"基于 MCP 协议的 Excel/CSV 文件读取服务","directories":{},"_nodeVersion":"18.20.3","dependencies":{"zod":"^3.22.4","xlsx":"^0.18.5","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/excel-mcp_1.0.3_1748070495662_0.21882755575947233","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"excel-mcp","version":"1.0.4","keywords":["excel","csv","mcp","数据处理","modelcontextprotocol"],"author":{"name":"CHOCO"},"license":"MIT","_id":"excel-mcp@1.0.4","maintainers":[{"name":"choco9527","email":"774398754@qq.com"}],"homepage":"https://github.com/choco9527/excel-mcp","bugs":{"url":"https://github.com/choco9527/excel-mcp/issues"},"bin":{"excel-mcp":"build/index.js"},"dist":{"shasum":"af28de54b3b57d44e7d8ada8eaa467706a342f56","tarball":"https://registry.npmjs.org/excel-mcp/-/excel-mcp-1.0.4.tgz","fileCount":3,"integrity":"sha512-NnilboN9JpV7zJnSdYzqzHAJPt6SjVBbPcgFarB9NxK9XepfP4xSidd5nKxbh2P7CDqAczKkaXNukB6Kp5msCg==","signatures":[{"sig":"MEYCIQCSfVpX8BrSsL9K1g/hwSz8obDcjACBbUrh5hvCbNBI+QIhAPWEgrpqmcwsJ/aqu60NeApa2LaMv9Fi8Y+ku5R/+4ku","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6080},"type":"module","gitHead":"ac28745a6b23d37e80d614016fcdf9135a34b6a4","scripts":{"build":"tsc && chmod 755 build/index.js"},"_npmUser":{"name":"choco9527","email":"774398754@qq.com"},"repository":{"url":"git+https://github.com/choco9527/excel-mcp.git","type":"git"},"_npmVersion":"10.7.0","description":"基于 MCP 协议的 Excel/CSV 文件读取服务","directories":{},"_nodeVersion":"18.20.3","dependencies":{"zod":"^3.22.4","xlsx":"^0.18.5","@modelcontextprotocol/sdk":"^1.11.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/excel-mcp_1.0.4_1748246979746_0.6837446660292756","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"type":"module","name":"excel-mcp","author":{"name":"CHOCO"},"version":"1.0.5","description":"基于 MCP 协议的 Excel/CSV 文件读取服务","license":"MIT","repository":{"type":"git","url":"git+https://github.com/choco9527/excel-mcp.git"},"homepage":"https://github.com/choco9527/excel-mcp","bugs":{"url":"https://github.com/choco9527/excel-mcp/issues"},"keywords":["excel","csv","mcp","数据处理","modelcontextprotocol"],"bin":{"excel-mcp":"build/index.js"},"scripts":{"build":"tsc && chmod 755 build/index.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.11.4","xlsx":"^0.18.5","zod":"^3.22.4"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.0.0"},"_id":"excel-mcp@1.0.5","gitHead":"8aa5998b50824fcfef2d3739400e4904d72c13e2","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-fAcrvwgO1l9Ct5GMsEDmxuqweab9nOP/Epzjp1uEfrt2IRHow/wwrpXUoGs6JXjGf175KTXmPOECkap7trmFvg==","shasum":"13169d13c01a0ef62a2c8bd7cd63e75da3a60927","tarball":"https://registry.npmjs.org/excel-mcp/-/excel-mcp-1.0.5.tgz","fileCount":3,"unpackedSize":6080,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBACmvCCajeaB+pSVnrUy5fwVTViVaCa/oGJv5Pb3pX0AiEAhNRFZDBtJYLHAk3n/BNmJo/CVbz4r9w+7PMVovEuUs8="}]},"_npmUser":{"name":"choco9527","email":"774398754@qq.com"},"directories":{},"maintainers":[{"name":"choco9527","email":"774398754@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/excel-mcp_1.0.5_1748247005466_0.45126094936189176"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-24T06:55:28.518Z","modified":"2025-05-26T08:10:05.827Z","1.0.0":"2025-05-24T06:55:28.700Z","1.0.1":"2025-05-24T06:56:58.950Z","1.0.2":"2025-05-24T06:58:54.051Z","1.0.3":"2025-05-24T07:08:15.840Z","1.0.4":"2025-05-26T08:09:39.935Z","1.0.5":"2025-05-26T08:10:05.634Z"},"bugs":{"url":"https://github.com/choco9527/excel-mcp/issues"},"author":{"name":"CHOCO"},"license":"MIT","homepage":"https://github.com/choco9527/excel-mcp","keywords":["excel","csv","mcp","数据处理","modelcontextprotocol"],"repository":{"type":"git","url":"git+https://github.com/choco9527/excel-mcp.git"},"description":"基于 MCP 协议的 Excel/CSV 文件读取服务","maintainers":[{"name":"choco9527","email":"774398754@qq.com"}],"readme":"# 📊 excel-mcp\n\n`excel-mcp` 是一个基于 [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) 的服务器，使用 TypeScript 编写，具备读取 Excel 文件（`.xlsx` 格式）的功能，并通过 MCP 协议对接交互式工具。\n\n---\n\n## ✨ 功能特点\n\n- 📁 支持读取本地 `.xlsx` 文件；\n- 📑 解析 Excel 中的所有工作表（Sheet）；\n- 🧾 提取每个表的表头信息；\n- 🔍 展示每个表前 10 行数据；\n- 🤖 可通过 MCP 协议进行交互式调用。\n\n---\n\n## 🚀 快速开始\n\n### 1. 安装依赖\n\n```bash\nnpm install\n````\n\n### 2. 构建项目\n\n```bash\nnpm run build\n```\n\n### 3. 启动 MCP Server\n\n```bash\n./build/index.js\n```\n\nMCP Server 会通过标准输入/输出（stdio）监听来自 Model Context 的请求。\n\n---\n\n## 🛠 可用工具\n\n### `read_excel`\n\n读取并理解指定路径下的 Excel 文件。\n\n#### 输入参数：\n\n| 参数名        | 类型     | 描述                   |\n| ---------- | ------ | -------------------- |\n| `filePath` | string | Excel 文件的完整路径（.xlsx） |\n\n#### 返回内容：\n\n* 所有工作表名称；\n* 每个 Sheet 的表头（第一行）；\n* 每个 Sheet 的前 10 行数据（按行格式化展示）；\n\n#### 示例请求：\n\n```json\n// {\n//   \"tool\": \"read_excel\",\n//   \"input\": {\n//     \"filePath\": \"/absolute/path/to/example.xlsx\"\n//   }\n// }\n\n示例:\n{\n  \"mcpServers\": {\n    \"excel-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"excel-mcp\"\n      ]\n    }\n  }\n}\n```","readmeFilename":"README.md"}