Sponsored by Deepsite.site

Spire XLS MCP Server

Created By
EiceblueCloud6 months ago
Content

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
  1. 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"
      }
    }
  }
}
  1. 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):

  2. Hosting Your MCP Server:

Environment Variables

VariableDescriptionDefault
FASTMCP_PORTServer port8000
EXCEL_FILES_PATHDirectory 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

MIT

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
ChatWiseThe second fastest AI chatbot™
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
WindsurfThe new purpose-built IDE to harness magic
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp
Amap Maps高德地图官方 MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
Playwright McpPlaywright MCP server