Excel MCP Server
A Model Context Protocol server for Excel file manipulation
Overview
Excel MCP Server is a Model Context Protocol (MCP) server that allows for Excel file manipulation without the need for Microsoft Excel installation. It enables users to create workbooks, manipulate data, format cells, and utilize advanced Excel features.
To use the Excel MCP Server, configure the environment variables for file storage, start the server using the command uv run excel-mcp-server, and connect to the server through an SSE endpoint in Cursor IDE.
- Full Excel functionality without needing Excel installed - Data manipulation capabilities including reading, writing, and transforming data - Support for advanced features like charts, pivot tables, and formatting - Comprehensive error handling with clear messages
- Automating Excel report generation without manual intervention.
- Integrating Excel data manipulation into web applications.
- Performing data analysis and visualization through Excel tools.
Add to your AI client
Use these steps to connect Excel MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"excel-mcp-server-haris-musa": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-excel-mcp-server-haris-musa"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"excel-mcp-server-haris-musa": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-excel-mcp-server-haris-musa"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"excel-mcp-server-haris-musa": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-excel-mcp-server-haris-musa"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"excel-mcp-server-haris-musa": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-excel-mcp-server-haris-musa"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"excel-mcp-server-haris-musa": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-excel-mcp-server-haris-musa"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"excel-mcp-server-haris-musa": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-excel-mcp-server-haris-musa"
]
}
}
}FAQ
Do I need to install Microsoft Excel to use this server?
No, the server provides full Excel functionality without requiring Microsoft Excel installation.
What programming language is required to run the server?
The server requires Python 3.10 or higher.
How do I configure the server?
You can configure the server using environment variables, such as `EXCEL_FILES_PATH` for file storage.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1287,"uuid":"fdf84a5b-3f57-4c98-8cce-32950e846211","name":"excel-mcp-server","title":"Excel MCP Server","description":"A Model Context Protocol server for Excel file manipulation","avatar_url":"https://avatars.githubusercontent.com/u/79357181?v=4","created_at":"2025-02-20T14:35:25.556Z","updated_at":"2025-02-23T07:20:28.864Z","status":"created","author_name":"haris-musa","author_avatar_url":"https://avatars.githubusercontent.com/u/79357181?v=4","tags":"automation,ai,mcp,excel,sse,llm,toolcalling,mcp-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/haris-musa/excel-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/haris-musa/excel-mcp-server/raw/main/assets/logo.svg","type":null,"metadata":"{\"star\":\"905\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-05-21 14:18:18\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]