Excel MCP Server

Excel数据处理微服务

Local serverstdioTypeScript

What is the Excel MCP Server?

Excel数据处理微服务

The short version

Excel file processing server based on Model Context Protocol (MCP), providing functionalities for reading, writing, and analyzing Excel files.

  • 📖 Read Excel Files
  • Get worksheet list
  • Read specific worksheet data
  • Read all worksheets data
  • ✍️ Write Excel Files
  • Create new Excel files

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
headerRowsNumber of header rows (default: 1)
targetFilePathTarget Excel file path
sheetNameName of the sheet to read
headerRowHeader row number (default: 1)
dataStartRowData start row number (default: 2)
dataArray of data to write

Configuration

VariableDescriptionRequired
LOG_PATHFilesystem location the server is allowed to use.Optional
CACHE_MAX_AGEConfiguration value read at startup.Optional
CACHE_CLEANUP_INTERVALConfiguration value read at startup.Optional
LOG_RETENTION_DAYSConfiguration value read at startup.Optional
LOG_CLEANUP_INTERVALConfiguration value read at startup.Optional

Example prompts to try

  • “Use Excel to Function.”
  • “Use Excel to Parameters.”
  • “Use Excel to headerRows.”

Frequently asked questions

Dependencies include `@modelcontextprotocol/sdk` (^1.7.0), `xlsx` (^0.18.5), and `typescript` (^5.8.2). Development dependencies also require `@types/node`, `nodemon`, and `ts-node`.