MCP.so
登录
E

Excel MCP Server

@choco9527

基本信息

分类

其他

传输方式

stdio

作者

choco9527

提交者

CHOCO

关于 Excel MCP Server

> `excel-mcp` is a command-line service based on the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/). It supports reading local Excel (`.xlsx`) and CSV (`.csv`) files, and integrates with interactive tools or AI assistants via the MCP protocol.

Excel MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "excel-mcp": {
      "command": "npx",
      "args": [
        "excel-mcp"
      ]
    }
  }
}

Excel MCP Server 工具

1

读取并理解一个 Excel 或 CSV 文件(包含表名/文件名、表头和前 10 行数据)

概览

What is Excel Mcp?

Excel Mcp is a Model Context Protocol (MCP) server written in TypeScript that reads .xlsx Excel files. It parses all sheets, extracts headers, and returns the first 10 rows of data, enabling interactive tools to understand spreadsheet contents via the MCP protocol.

How to use Excel Mcp?

Install dependencies with npm install, build the project with npm run build, then start the server by running ./build/index.js. The server listens for requests over stdio. Alternatively, configure it in your MCP client using the npx command shown in the README.

Key features of Excel Mcp

  • Reads local .xlsx files
  • Parses all worksheets in a workbook
  • Extracts header row (first row) of each sheet
  • Displays the first 10 rows of data per sheet
  • Interactive calls through the MCP protocol

Use cases of Excel Mcp

  • Quickly preview the structure and content of an Excel file via an AI assistant
  • Automate extraction of spreadsheet headers and sample rows for data analysis
  • Integrate Excel data reading into MCP‑based workflows and tools

常见问题

1

What tool does Excel Mcp provide?

It provides a single tool `read_excel` that reads and understands an Excel file at a given path.

2

What parameters does the tool take?

The `read_excel` tool requires one parameter: `filePath` (string), the full path to a `.xlsx` file.

3

What information does the tool return?

It returns the names of all sheets, the header row for each sheet, and the first 10 rows of data from each sheet.

4

How is the MCP server launched?

The server runs via Node.js and listens on stdio. You can start it directly with `./build/index.js` after building, or via `npx excel-mcp` in an MCP configuration.

5

Are there any authentication or transport options?

No. The README specifies only stdio transport and does not mention any authentication mechanism.

评论

其他 分类下的更多 MCP 服务器