Excel MCP Server logo

Excel MCP Server

by haris-musa

The Excel MCP Server allows you to manipulate Excel files programmatically without needing Microsoft Excel installed. It enables AI agents to create, read, and modify Excel workbooks.

View on GitHub

Last updated: N/A

What is Excel MCP Server?

The Excel MCP Server is a Model Context Protocol (MCP) server that provides an interface for manipulating Excel files. It allows programmatic access to Excel functionality, enabling tasks such as creating, reading, modifying, and formatting Excel workbooks without requiring a local installation of Microsoft Excel.

How to use Excel MCP Server?

To use the server, first clone the repository and install the dependencies using uv pip install -e .. Then, start the server using uv run excel-mcp-server, optionally specifying a custom port using the FASTMCP_PORT environment variable. The server can then be integrated with AI tools like Cursor IDE by configuring the MCP server URL and environment variables.

Key features of Excel MCP Server

  • Create and modify Excel workbooks

  • Read and write data

  • Apply formatting and styles

  • Create charts and visualizations

  • Generate pivot tables

  • Manage worksheets and ranges

Use cases of Excel MCP Server

  • Automated report generation

  • Data analysis and manipulation

  • Integration with AI agents for data processing

  • Building custom Excel-based applications

  • Programmatic Excel file management

FAQ from Excel MCP Server

What is the default port for the server?

The default port is 8000.

Where are Excel files stored by default?

By default, Excel files are stored in the ./excel_files directory.

What transport protocol does the server use?

The server uses Server-Sent Events (SSE) transport protocol.

Can I use this server with Claude Desktop?

Yes, you can use it with Claude Desktop via Supergateway to convert SSE to stdio.

Where can I find documentation for all available tools?

See TOOLS.md for complete documentation of all available tools.