Excel MCP Server

A Model Context Protocol (MCP) server that reads and writes MS Excel data

Local serverstdio

What is the Excel MCP Server?

A Model Context Protocol (MCP) server that reads and writes MS Excel data

The short version

  • Read/Write text values
  • Read/Write formulas
  • Create new sheets
  • Capture screen image from a sheet

What it needs from you

  • Node.js 20.x or later

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
fileAbsolutePathAbsolute path to the Excel file
sheetNameSheet name in the Excel file
rangeRange of cells to read in the Excel sheet (e.g., "A1:C10"). [default: first paging range]
showFormulaShow formula instead of value [default: false]
showStyleShow style information for cells [default: false]
newSheetCreate a new sheet if true, otherwise write to the existing sheet
valuesValues to write to the Excel sheet. If the value is a formula, it should start with "="
tableNameTable name to be created
srcSheetNameSource sheet name in the Excel file
dstSheetNameSheet name to be copied
styles2D array of style objects for each cell. If a cell does not change style, use null. The number of items of the array must match the range size.
borderArray of border styles (type, color, style)
fontFont styling (bold, italic, underline, size, strike, color, vertAlign)
fillFill/background styling (type, pattern, color, shading)

How to install the Excel MCP Server

{
  "mcpServers": {
    "excel": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "--yes",
        "@negokaz/excel-mcp-server"
      ],
      "env": {
        "EXCEL_MCP_PAGING_CELLS_LIMIT": "4000"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 20.x or later
VariableDescriptionRequired
EXCEL_MCP_PAGING_CELLS_LIMITDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Excel to fileAbsolutePath.”
  • “Use Excel to sheetName.”
  • “Use Excel to range.”

Frequently asked questions

Node.js 20.x or later is required to run the server.