Excel MCP Server

Productivitystdiossehttp-streaming
Repository

MCP server for reading and writing Excel workbooks without needing Microsoft Excel installed. Lets AI agents create workbooks and worksheets, read and write cell ranges, apply formulas and formatting, and build charts and pivot tables programmatically. Useful for automating spreadsheet generation, reporting, and data entry from an assistant.

Connect

Add this configuration to .claude/mcp.json

Transport:
{
  "mcpServers": {
    "excel": {
      "command": "uvx",
      "args": [
        "excel-mcp-server",
        "stdio"
      ]
    }
  }
}

Tools (3)

read_data_from_excel

Read cell values from a range in an Excel worksheet.

{
  "type": "object",
  "required": [
    "filepath",
    "sheet_name"
  ],
  "properties": {
    "filepath": {
      "type": "string",
      "description": "Path to the Excel workbook"
    },
    "cell_range": {
      "type": "string",
      "description": "Range to read (e.g. A1:D20)"
    },
    "sheet_name": {
      "type": "string",
      "description": "Name of the worksheet"
    }
  }
}

write_data_to_excel

Write values to a range in an Excel worksheet, creating the file if needed.

{
  "type": "object",
  "required": [
    "filepath",
    "sheet_name",
    "data"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "array"
      },
      "description": "Two-dimensional array of values to write"
    },
    "filepath": {
      "type": "string",
      "description": "Path to the Excel workbook"
    },
    "sheet_name": {
      "type": "string",
      "description": "Name of the worksheet"
    }
  }
}

apply_formula

Apply an Excel formula to a specific cell.

{
  "type": "object",
  "required": [
    "filepath",
    "sheet_name",
    "cell",
    "formula"
  ],
  "properties": {
    "cell": {
      "type": "string",
      "description": "Target cell (e.g. E2)"
    },
    "formula": {
      "type": "string",
      "description": "Excel formula to apply (e.g. =SUM(A2:D2))"
    },
    "filepath": {
      "type": "string",
      "description": "Path to the Excel workbook"
    },
    "sheet_name": {
      "type": "string",
      "description": "Name of the worksheet"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Haris Musa (@haris-musa)
Repository
https://github.com/haris-musa/excel-mcp-server
Stars
0
Last Updated
July 12, 2026