excel
A Model Context Protocol server for Excel file manipulation
claude mcp add --transport stdio haris-musa-excel-mcp-server uvx excel-mcp-server stdio \ --env FASTMCP_PORT="Port for the server to listen on (default 8017)" \ --env EXCEL_FILES_PATH="Path to directory for Excel files (used by SSE/streamable-http transports; defaults to ./excel_files if not set)"
How to use
This MCP server lets you manipulate Excel workbooks without Microsoft Excel installed. It exposes a suite of Excel-related tools—creating, reading, updating workbooks and worksheets; applying formulas, formatting, charts, and pivot tables; managing tables and sheets; and performing data validation. The server supports three transport methods: a local stdio connection, Server-Sent Events (SSE) which is deprecated, and a remote, streamable HTTP transport for accessing the service over the network. You can choose the transport that best fits your workflow and environment. The stdio option runs locally and accepts file paths from each call, while the streamable-http option exposes an HTTP API you can connect to from remote clients, provided you set the EXCEL_FILES_PATH to indicate where Excel files are stored on the server.
How to install
Prerequisites:
- Python 3.8+ (or a compatible Python runtime)
- Access to install Python packages (pip)
- (optional) The MCP runtime tool uvx is available in your environment for running MCP servers.
Installation steps:
- Install the MCP server package from PyPI: pip install excel-mcp-server
- Ensure the MCP runtime (uvx) is installed and available in your PATH. Follow your environment's guidance to install uvx (the MCP runtime) if not already installed.
- Start the server using the stdio transport (local usage) as shown: uvx excel-mcp-server stdio
If you prefer remote access via HTTP, you can start with the streamable-http transport after configuring environment variables as needed: EXCEL_FILES_PATH=/path/to/excel_files FASTMCP_PORT=8007 uvx excel-mcp-server streamable-http
Additional notes
Environment variables:
- EXCEL_FILES_PATH: Directory where Excel files are stored for SSE and Streamable HTTP transports. Defaults to ./excel_files if not set.
- FASTMCP_PORT: Port the server listens on for HTTP transports. Default is 8017 if not set. Common issues:
- Ensure the EXCEL_FILES_PATH directory exists and is writable by the server process when using streamable-http or SSE.
- When using stdio transport, the path to the file is supplied with each operation, so EXCEL_FILES_PATH is not required for local calls.
- If you encounter connection issues with remote transports, verify network accessibility and that the correct port is exposed and not blocked by firewalls.
Related MCP Servers
Scrapling
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
mcp-gemini-search
Model Context Protocol (MCP) with Gemini 2.5 Pro. Convert conversational queries into flight searches using Gemini's function calling capabilities and MCP's flight search tools
apple-mail
MCP server giving AI assistants full access to Apple Mail - read, search, compose, organize & analyze emails via natural language
gtm
An MCP server for Google Tag Manager. Connect it to your LLM, authenticate once, and start managing GTM through natural language.
Excel -Master
Excel MCP Server - Manipulate Excel files without Microsoft Excel. Model Context Protocol for XLSX, XLSM with Claude AI integration
nodit
A Model Context Protocol (MCP) server for AI agents to interact with blockchain data via Nodit’s Web3 Data and Node APIs. Enables LLMs to access structured, multi-chain blockchain context with zero blockchain-specific logic.