Excel MCP Server logo

Excel MCP Server

by negokaz

Excel MCP Server is a Model Context Protocol (MCP) server designed to read and write data to MS Excel files. It allows for seamless interaction with Excel data, including reading values, formulas, and even capturing screen images.

View on GitHub

Last updated: N/A

What is Excel MCP Server?

Excel MCP Server is a tool that allows applications to interact with Microsoft Excel files using the Model Context Protocol. It provides functionalities to read and write data, formulas, and capture screen images from Excel files, enabling automation and integration with other systems.

How to use Excel MCP Server?

The server can be installed via NPM or Smithery. After installation, it can be configured within an MCP environment by specifying the command and arguments. Once configured, you can use the provided tools (read_sheet_names, read_sheet_data, write_sheet_data, etc.) by sending requests to the server with the appropriate arguments, such as file path, sheet name, and cell range.

Key features of Excel MCP Server

  • Read text values from MS Excel file

  • Write text values to MS Excel file

  • Read formulas from MS Excel file

  • Write formulas to MS Excel file

  • Capture screen image from MS Excel file (Windows only)

Use cases of Excel MCP Server

  • Automating data extraction from Excel spreadsheets for reporting

  • Integrating Excel data with other applications and databases

  • Building custom Excel-based applications with programmatic data access

  • Using Excel as a data source for AI models and chatbots

FAQ from Excel MCP Server

What file formats are supported?

The server supports xlsx, xlsm, xltx, and xltm file formats.

What Node.js version is required?

Node.js 20.x or later is required.

How do I install the server?

You can install it via NPM or Smithery. Refer to the installation instructions in the README.

Can I read images from Excel on non-Windows platforms?

No, capturing screen images is a Windows-only feature.

What is EXCEL_MCP_PAGING_CELLS_LIMIT?

It's an environment variable that controls the maximum number of cells to read in a single paging operation. The default value is 4000.