Skip to main content
Glama

Excel MCP Server

by yzfly

Excel MCP Server

An MCP server that provides comprehensive Excel file management and data analysis capabilities.

Features

  • Excel File Operations
    • Read multiple Excel formats (XLSX, XLS, CSV, TSV, JSON)
    • Write and update Excel files
    • Get file information and sheet names
  • Data Analysis
    • Summary statistics and descriptive analysis
    • Data quality assessment
    • Pivot tables
    • Filtering and querying data
  • Visualization
    • Generate charts and plots from Excel data
    • Create data previews
    • Export visualizations as images

Installation

  1. Create a new Python environment (recommended):
# Using uv (recommended) uv init excel-mcp-server cd excel-mcp-server uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Or using pip python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
  1. Install dependencies:
# Using uv uv pip install -e .

Integration with Claude Desktop

  1. Install Claude Desktop
  2. Open Settings and go to the Developer tab
  3. Edit claude_desktop_config.json:
{ "mcpServers": { "command": "uvx", "args": [ "mcp-excel-server" ], "env": { "PYTHONPATH": "/path/to/your/python" } } }

Available Tools

File Reading

  • read_excel: Read Excel files
  • get_excel_info: Get file details
  • get_sheet_names: List worksheet names

Data Analysis

  • analyze_excel: Perform statistical analysis
  • filter_excel: Filter data by conditions
  • pivot_table: Create pivot tables
  • data_summary: Generate comprehensive data summary

Data Visualization

  • export_chart: Generate charts
    • Supports line charts, bar charts, scatter plots, histograms

File Operations

  • write_excel: Write new Excel files
  • update_excel: Update existing Excel files

Available Resources

  • excel://{file_path}: Get file content
  • excel://{file_path}/info: Get file structure information
  • excel://{file_path}/preview: Generate data preview image

Prompt Templates

  • analyze_excel_data: Guided template for Excel data analysis
  • create_chart: Help create data visualizations
  • data_cleaning: Assist with data cleaning

Usage Examples

  • "Analyze my sales_data.xlsx file"
  • "Create a bar chart for product_sales.csv"
  • "Filter employees over 30 in employees.xlsx"
  • "Generate a pivot table of department sales"

Security Considerations

  • Read files only from specified paths
  • Limit file size
  • Prevent accidental file overwriting
  • Strictly control data transformation operations

Dependencies

  • pandas
  • numpy
  • matplotlib
  • seaborn

License

MIT License

Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

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

XLSX, CSV, JSON 등 다양한 스프레드시트 형식으로 작업할 수 있는 포괄적인 Excel 파일 작업, 데이터 분석 및 시각화 기능을 제공하는 MCP 서버입니다.

  1. 특징
    1. 설치
      1. Claude Desktop과 통합
        1. 사용 가능한 도구
          1. 파일 읽기
          2. 데이터 분석
          3. 데이터 시각화
          4. 파일 작업
        2. 사용 가능한 리소스
          1. 프롬프트 템플릿
            1. 사용 예
              1. 보안 고려 사항
                1. 종속성
                  1. 특허

                    Related MCP Servers

                    • A
                      security
                      A
                      license
                      A
                      quality
                      A Model Context Protocol (MCP) server that provides tools for reading Excel (xlsx) files, enabling extraction of data from entire workbooks or specific sheets with results returned in structured JSON format.
                      Last updated -
                      3
                      5
                      Apache 2.0
                      • Linux
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      An MCP server that enables interaction with Google Sheets through natural language, allowing users to create, read, update, and manage spreadsheet data via the Google Sheets API v4.
                      Last updated -
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A Model Context Protocol (MCP) server that generates Excel templates conforming to JXLS specifications, supporting both JSON objects and arrays data formats.
                      Last updated -
                      1
                      MIT License
                    • -
                      security
                      A
                      license
                      -
                      quality
                      This MCP server enables AI assistants to automatically sync Google Sheets data to a local database and perform natural language queries and analysis on spreadsheet data.
                      Last updated -
                      19
                      MIT License

                    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/yzfly/mcp-excel-server'

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