excel-mcp-server
A Model Context Protocol server for Excel file manipulation
Creating, reading and modifying Excel workbooks from an agent on a machine with no Microsoft Excel installed.
You need absolute file paths over the SSE or streamable HTTP transports; those require EXCEL_FILES_PATH and reject absolute paths and directory traversal.
About excel-mcp-server
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.
When 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. - If not set, it defaults to ./excel_files. - With these transports, tool filepath values must be relative to that directory (e.g. reports/q1.xlsx); absolute paths and directory traversal are rejected.
You can also set the FASTMCP_PORT environment variable to control the port the server listens on (default is 8017 if not set). - Example (Windows PowerShell):
excel-mcp-server is listed in this index written primarily in Python, with 4.3k stars on GitHub. Its latest recorded repository push was in November 2026; that is not an ASE editorial review date.
Before connecting: access and data
This record's specific permissions have not been reviewed by ASE. Read the publisher's documentation before copying setup or connecting.
- List the accounts, files and services the enabled tools can read, change or execute. Check your actual credentials and discovered tools.
- Use narrowly scoped credentials and read-only mode where supported. Review proposed writes before approving them; a generated configuration does not apply these limits for you.
- Local launch is not local-only data processing. External services receive requests, and your client may pass tool results to its model provider. Check both destinations before sharing private data.
- Keep keys and browser session files out of shared config, repositories and screenshots. Know how to disconnect the server and separately revoke its credentials or account sessions.
Add excel-mcp-server to your MCP client
Generated from the launch command in the project's README. Your client starts the server on demand.
Claude Code
claude mcp add excel-mcp-server -- uvx excel-mcp-server stdioCursor
{
"mcpServers": {
"excel-mcp-server": {
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}VS Code
{
"servers": {
"excel-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}Claude Desktop
{
"mcpServers": {
"excel-mcp-server": {
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}Codex
[mcp_servers.excel-mcp-server]
command = "uvx"
args = ["excel-mcp-server", "stdio"]