Skip to main content
Glama

excel-mcp-server

Excel MCP Server

A Model Context Protocol (MCP) server that lets you manipulate Excel files without needing Microsoft Excel installed. Create, read, and modify Excel workbooks with your AI agent.

Features

  • 📊 Create and modify Excel workbooks
  • 📝 Read and write data
  • 🎨 Apply formatting and styles
  • 📈 Create charts and visualizations
  • 📊 Generate pivot tables
  • 🔄 Manage worksheets and ranges
  • 🔌 Dual transport support: stdio and SSE

Quick Start

Prerequisites

  • Python 3.10 or higher

Installation

  1. Clone the repository:
git clone https://github.com/haris-musa/excel-mcp-server.git cd excel-mcp-server
  1. Install using uv:
uv pip install -e .

Running the Server

The server supports two transport modes: stdio and SSE.

Using stdio transport (default)

Stdio transport is ideal for direct integration with tools like Cursor Desktop or local development, which can manipulate local files:

excel-mcp-server stdio
Using SSE transport

SSE transport is perfect for web-based applications and remote connections, which manipulate remote files:

excel-mcp sse

You can specify host and port for the SSE server:

excel-mcp sse --host 127.0.0.1 --port 8080

Using with AI Tools

Cursor IDE

  1. Add this configuration to Cursor, choosing the appropriate transport method for your needs:

Stdio transport connection (for local integration):

{ "mcpServers": { "excel-stdio": { "command": "uv", "args": ["run", "excel-mcp-server", "stdio"] } } }

SSE transport connection (for web-based applications):

{ "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 supports both stdio and SSE transport protocols for maximum flexibility:

  1. Using with Claude Desktop:
    • Use Stdio transport
  2. Hosting Your MCP Server (SSE):

Environment Variables (for SSE transport)

  • FASTMCP_PORT: Server port for SSE transport (default: 8000)
  • EXCEL_FILES_PATH: Directory for Excel files (default: ./excel_files)

Available Tools

The server provides a comprehensive set of Excel manipulation tools. See TOOLS.md for complete documentation of all available tools.

License

MIT License - see LICENSE for details.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Provides Excel file manipulation capabilities. This server enables workbook creation, data manipulation, formatting, and advanced Excel features.

  1. Features
    1. Quick Start
      1. Prerequisites
      2. Installation
      3. Running the Server
    2. Using with AI Tools
      1. Cursor IDE
      2. Remote Hosting & Transport Protocols
    3. Environment Variables (for SSE transport)
      1. Available Tools
        1. License

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            Provides efficient handling of large Excel files through automatic chunking and pagination, using MCP to enable seamless file reading and management features such as sheet selection and error handling.
            Last updated -
            1
            14
            JavaScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            Enables seamless reading, writing, and analyzing of Excel files through Model Context Protocol, with features for worksheet management, structure analysis, and automated caching.
            Last updated -
            8
            212
            11
            TypeScript
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            Provides Excel file manipulation capabilities without requiring Microsoft Excel installation, enabling workbook creation, data manipulation, formatting, and advanced Excel features.
            Last updated -
            Python
            MIT License
            • Linux
            • Apple
          • A
            security
            F
            license
            A
            quality
            An MCP server that provides comprehensive Excel file operations, data analysis, and visualization capabilities for working with various spreadsheet formats like XLSX, CSV, and JSON.
            Last updated -
            8
            36
            Python

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/haris-musa/excel-mcp-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server