This repository provides an Excel MCP server enabling workbook creation, data manipulation, and advanced Excel features like charts and pivot tables without requiring Microsoft Excel installation. It uses OpenPyXL and MCP SDK.
This is an implementation of a Model Context Protocol (MCP) server that provides Excel file manipulation capabilities without requiring Microsoft Excel installation. It enables workbook creation, data manipulation, formatting, and advanced Excel features.
The server provides Excel workbook manipulation through OpenPyXL, including workbook creation/modification, worksheet/range management, formatting/styling, and support for charts/pivot tables.
A comprehensive set of Excel manipulation tools is available, documented in TOOLS.md. These tools cover workbook/worksheet management, data reading/writing, formatting/styling, charts/visualizations, and pivot tables/data analysis.
The server can be configured using the EXCEL_FILES_PATH
environment variable to specify the directory for storing Excel files (default: ./excel_files
). Start the server using uv run excel-mcp-server
and connect to the SSE endpoint (http://localhost:8000/sse
) in Cursor IDE.
This project is licensed under the MIT License - see the LICENSE file for details.
haris-musa/excel-mcp-server
February 12, 2025
March 28, 2025
Python