Spire XLS MCP Server
Description
Spire.XLS MCP Server Read Me ## What is Spire.XLS MCP Server? The Spire.XLS MCP Server is a robust solution that empowers AI agents to work with Excel files using the Model Context Protocol (MCP). It is totally independent and doesn't require Microsoft Office to be installed on…
About
Spire.XLS MCP Server Read Me ## What is Spire.XLS MCP Server? The Spire.XLS MCP Server is a robust solution that empowers AI agents to work with Excel files using the Model Context Protocol (MCP). It is totally independent and doesn't require Microsoft Office to be installed on system. This tool enables AI agents to…
Details
- Author
- EiceblueCloud
- Downloads
- 256
- Categories
- Other
Jump to
- Convert Excel to PDF, HTML, CSV, image, XML, and more
- Create, modify, and manage Excel workbooks
- Manage worksheets: rename, move, hide, freeze panes
- Read and write cell data with formulas and formatting
- Add various chart types and pivot tables
- Apply conditional formatting and merge cells
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Spire XLS MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install Python 3.10+, clone the repository, install with uv pip install -e ., then start the server using uv run spire-xls-mcp-server (default port 8000). Configure the FASTMCP_PORT environment variable to change the port. Integrate with Cursor IDE by adding a JSON configuration pointing to http://localhost:8000/sse and setting the EXCEL_FILES_PATH environment variable.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"spire xls mcp server": {
"Spire-XLS-MCP-Server": {
"command": "uv",
"args": [
"pip",
"install",
"-e",
"."
]
}
}
}
}
McpServers
{
"Spire-XLS-MCP-Server": {
"command": "uv",
"args": [
"pip",
"install",
"-e",
"."
]
}
}
Spire.XLS MCP Server Read Me
What is Spire.XLS MCP Server?
The Spire.XLS MCP Server is a robust solution that empowers AI agents to work with Excel files using the Model Context Protocol (MCP). It is totally independent and doesn't require Microsoft Office to be installed on system. This tool enables AI agents to create, read, modify, and convert Excel workbooks seamlessly
Main Features:
- Convert Excel to PDF, HTML, CSV, image, XML, and more with high fidelity.
- Create, modify, and manage Excel workbooks
- Manage and control worksheets: rename, move, hide, freeze panes, and more.
- Manage worksheets and cell ranges
- Read and write data
- Analyze Excel data
- Add various chart types to create visual Excel dashboards from data
- Create and manipulate pivot tables to summarize, analyze, explore, and present Excel data.
How to use Spire.XLS MCP Server?
Prerequisites
- Python 3.10 or higher
Installation
1. Clone the repository:
git clone https://github.com/EiceblueCloud/Spire-XLS-MCP-Server.git
cd spire-xls-mcp-server
2. Install using uv:
uv pip install -e .
Running the Server
Start the server (default port 8000):
uv run spire-xls-mcp-server
Custom port (e.g., 8080):
# Bash/Linux/macOS
export FASTMCP_PORT=8080 && uv run spire-xls-mcp-server
Windows PowerShell
$env:FASTMCP_PORT = "8080"; uv run spire-xls-mcp-server
Integration with AI Tools
Cursor IDE
1. Add this configuration to Cursor:
{
"mcpServers": {
"excel": {
"url": "http://localhost:8000/sse",
"env": {
"EXCEL_FILES_PATH": "/path/to/excel/files"
}
}
}
}
2. The Excel tools will be available through your AI assistant.
Remote Hosting & Transport Protocols
This server uses Server-Sent Events (SSE) transport protocol. For different use cases:
1. Using with Claude Desktop (requires stdio):
- Use Supergateway to convert SSE to stdio
2. Hosting Your MCP Server:
- Remote MCP Server Guide
Environment Variables
| Variable | Description | Default |
|--------|------|--------|
| FASTMCP_PORT | Server port | 8000 |
| EXCEL_FILES_PATH | Directory for Excel files | ./excel_files |
Available Tools
The server provides a comprehensive set of Excel manipulation tools. Here are the main categories:
- Basic Operations: Create, read, write, and delete workbooks and worksheets
- Data Processing: Read and write cell data, apply formulas, sort and filter
- Formatting: Apply styles, merge cells, set fonts and colors
- Advanced Features: Create charts, pivot tables, conditional formatting
- Conversion: Convert Excel to PDF, HTML, CSV, image, XML, and more with high fidelity.
See TOOLS.md for complete documentation of all available tools.
FAQ from Spire.XLS MCP Server?
Can I use Spire.XLS MCP Server for any directory?
Yes, Spire.XLS MCP Serer works for any directory.
Is Spire.XLS MCP Server free to use?
Yes, it is licensed under the MIT License, allowing free use and modification.
What programming languages does Spire.XLS MCP Server support?
It is built with Python.
License
MITSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



