excel-mcp

excel-mcp

4

The Excel MCP Server is designed to manipulate Excel files without needing Microsoft Excel installed. It supports data manipulation, worksheet management, and advanced features like charts and pivot tables, running as an MCP server for easy integration.

Excel MCP Server

A Model Context Protocol (MCP) server implementation offering Excel file manipulation capabilities without needing Microsoft Excel. It supports workbook creation, data manipulation, formatting, and advanced Excel features like charts and pivot tables.

Requirements

  • Python 3.10+
  • MCP SDK 1.2.0+
  • OpenPyXL 3.1.2+

Components

Resources

  • Excel workbook manipulation via OpenPyXL
  • Create and modify workbooks
  • Manage worksheets and ranges
  • Handle formatting and styles
  • Support charts and pivot tables

Tools

  • Workbook and worksheet management
  • Data reading and writing
  • Formatting and styling
  • Charts and visualizations
  • Pivot tables and data analysis

Features

  • Full Excel Support
  • Data Manipulation
  • Advanced Features
  • Error Handling

Usage

Environment Configuration

Set EXCEL_FILES_PATH for storing Excel files.

Starting the Server

Run the server in SSE mode using uv run excel-mcp-server and connect via Cursor IDE at http://localhost:8000/sse.

License

MIT License.