Spire.XLS MCP Server
Create, read, edit, and convert Excel files without requiring Microsoft Office.
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, edit, and convert Excel workbooks seamlessly
Main Features:
- Convert Excel to PDF, Excel to HTML, Excel to CSV, Excel to image, Excel to 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
- Clone the repository:
git clone https://github.com/eiceblue/spire-xls-mcp-server.git
cd spire-xls-mcp-server
- 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
The following visual guide illustrates the three-step process to integrate Spire.XLS MCP Server with supported AI development environments:
Step 1 and Step 2: Start the server and configure AI tool

Step 3: Use Excel features through AI interface

Cursor IDE
- Add this configuration to Cursor:
{
"mcpServers": {
"excel": {
"url": "http://localhost:8000/sse",
"env": {
"EXCEL_FILES_PATH": "/path/to/excel/files"
}
}
}
}
- 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:
-
Using with Claude Desktop (requires stdio):
- Use Supergateway to convert SSE to stdio
-
Hosting Your MCP Server:
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 Excel worksheets or workbooks.
- 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?
Q1. Can I use Spire.XLS MCP Server for any directory?
Yes, Spire.XLS MCP Serer works for any directory.
Q2. Is Spire.XLS MCP Server free to use?
Yes, it is licensed under the MIT License, allowing free use and modification.
Q3. What programming languages does Spire.XLS MCP Server support?
It is built with Python.
License
MIT
Related Servers
Atlassian Jira
Integrates AI with Atlassian Jira to manage projects, search for issues, and view development information like commits and pull requests.
CData Jira Service Management
A read-only server to query live Jira Service Management data via a simple MCP interface, powered by CData.
Google Calendar
Integrates with Google Calendar to manage events, reminders, and schedules using OAuth 2.0.
MCP Google Workspace Server
An MCP server for interacting with Google Workspace services, including Drive, Docs, and Sheets.
Gorev
A powerful, Go-based task management server with MCP support, AI editor integration, and a VS Code extension. It supports smart task creation, markdown, and project organization.
PAF-IAST LMS Automation
Automates interactions with the PAF-IAST Learning Management System (LMS) for AI assistants like Claude and VS Code Copilot.
n8n MCP Server
An MCP server for interacting with n8n workflows via natural language.
Zotero
Access and manage your Zotero library data via the local or web API.
XenonFlare MCP Server
his server allows AI assistants (like Claude) to manage your social media content.
Microsoft Word
Create, read, and manipulate Microsoft Word documents.