A Model Context Protocol (MCP) server that lets you manipulate Excel files without needing Microsoft Excel installed. Create, read, and modify Excel workbooks with your AI agent. - ๐ Excel Operations: Create, read, update workbooks and worksheets - ๐ Data Manipulation: Formulas, formatting, charts, pivot tables, and Excel tables - ๐ Data Validation: Built-in validation for ranges, formulas, and
Add this skill
npx mdskills install haris-musa/excel-mcp-serverComprehensive Excel manipulation server with extensive tools, multiple transport options, and clear setup instructions
1<p align="center">2 <img src="https://raw.githubusercontent.com/haris-musa/excel-mcp-server/main/assets/logo.png" alt="Excel MCP Server Logo" width="300"/>3</p>45[](https://pypi.org/project/excel-mcp-server/)6[](https://pepy.tech/project/excel-mcp-server)7[](https://opensource.org/licenses/MIT)8[](https://smithery.ai/server/@haris-musa/excel-mcp-server)9[](https://cursor.com/install-mcp?name=excel-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGV4Y2VsLW1jcC1zZXJ2ZXIgc3RkaW8ifQ%3D%3D)1011A Model Context Protocol (MCP) server that lets you manipulate Excel files without needing Microsoft Excel installed. Create, read, and modify Excel workbooks with your AI agent.1213## Features1415- ๐ **Excel Operations**: Create, read, update workbooks and worksheets16- ๐ **Data Manipulation**: Formulas, formatting, charts, pivot tables, and Excel tables17- ๐ **Data Validation**: Built-in validation for ranges, formulas, and data integrity18- ๐จ **Formatting**: Font styling, colors, borders, alignment, and conditional formatting19- ๐ **Table Operations**: Create and manage Excel tables with custom styling20- ๐ **Chart Creation**: Generate various chart types (line, bar, pie, scatter, etc.)21- ๐ **Pivot Tables**: Create dynamic pivot tables for data analysis22- ๐ง **Sheet Management**: Copy, rename, delete worksheets with ease23- ๐ **Triple transport support**: stdio, SSE (deprecated), and streamable HTTP24- ๐ **Remote & Local**: Works both locally and as a remote service2526## Usage2728The server supports three transport methods:2930### 1. Stdio Transport (for local use)3132```bash33uvx excel-mcp-server stdio34```3536```json37{38 "mcpServers": {39 "excel": {40 "command": "uvx",41 "args": ["excel-mcp-server", "stdio"]42 }43 }44}45```4647### 2. SSE Transport (Server-Sent Events - Deprecated)4849```bash50uvx excel-mcp-server sse51```5253**SSE transport connection**:54```json55{56 "mcpServers": {57 "excel": {58 "url": "http://localhost:8000/sse",59 }60 }61}62```6364### 3. Streamable HTTP Transport (Recommended for remote connections)6566```bash67uvx excel-mcp-server streamable-http68```6970**Streamable HTTP transport connection**:71```json72{73 "mcpServers": {74 "excel": {75 "url": "http://localhost:8000/mcp",76 }77 }78}79```8081## Environment Variables & File Path Handling8283### SSE and Streamable HTTP Transports8485When running the server with the **SSE or Streamable HTTP protocols**, you **must set the `EXCEL_FILES_PATH` environment variable on the server side**. This variable tells the server where to read and write Excel files.86- If not set, it defaults to `./excel_files`.8788You can also set the `FASTMCP_PORT` environment variable to control the port the server listens on (default is `8017` if not set).89- Example (Windows PowerShell):90 ```powershell91 $env:EXCEL_FILES_PATH="E:\MyExcelFiles"92 $env:FASTMCP_PORT="8007"93 uvx excel-mcp-server streamable-http94 ```95- Example (Linux/macOS):96 ```bash97 EXCEL_FILES_PATH=/path/to/excel_files FASTMCP_PORT=8007 uvx excel-mcp-server streamable-http98 ```99100### Stdio Transport101102When using the **stdio protocol**, the file path is provided with each tool call, so you do **not** need to set `EXCEL_FILES_PATH` on the server. The server will use the path sent by the client for each operation.103104## Available Tools105106The server provides a comprehensive set of Excel manipulation tools. See [TOOLS.md](TOOLS.md) for complete documentation of all available tools.107108## Star History109110[](https://www.star-history.com/#haris-musa/excel-mcp-server&Date)111112## License113114MIT License - see [LICENSE](LICENSE) for details.115
Full transparency โ inspect the skill content before installing.