Skip to main content
Glama

Excel MCP 서버

포괄적인 Excel 파일 관리 및 데이터 분석 기능을 제공하는 MCP 서버입니다.

특징

  • Excel 파일 작업

    • 다양한 Excel 형식(XLSX, XLS, CSV, TSV, JSON) 읽기

    • Excel 파일 작성 및 업데이트

    • 파일 정보 및 시트 이름 가져오기

  • 데이터 분석

    • 요약 통계 및 기술 분석

    • 데이터 품질 평가

    • 피벗 테이블

    • 데이터 필터링 및 쿼리

  • 심상

    • Excel 데이터에서 차트와 플롯 생성

    • 데이터 미리보기 만들기

    • 시각화를 이미지로 내보내기

Related MCP server: Excel MCP Server

설치

  1. 새로운 Python 환경을 만듭니다(권장):

지엑스피1

  1. 종속성 설치:

# Using uv
uv pip install -r requirements.txt

# Or using pip
pip install -r requirements.txt

Claude Desktop과 통합

  1. Claude Desktop 설치

  2. 설정을 열고 개발자 탭으로 이동하세요.

  3. claude_desktop_config.json 편집합니다:

{
  "mcpServers": {
      "command": "uvx",
      "args": [
        "mcp-excel-server"
      ],
      "env": {
        "PYTHONPATH": "/path/to/your/python"
      }
  }
}

사용 가능한 도구

파일 읽기

  • read_excel : Excel 파일 읽기

  • get_excel_info : 파일 세부 정보 가져오기

  • get_sheet_names : 워크시트 이름 나열

데이터 분석

  • analyze_excel : 통계 분석 수행

  • filter_excel : 조건별로 데이터 필터링

  • pivot_table : 피벗 테이블 생성

  • data_summary : 포괄적인 데이터 요약 생성

데이터 시각화

  • export_chart : 차트 생성

    • 선형 차트, 막대 차트, 산점도, 히스토그램을 지원합니다.

파일 작업

  • write_excel : 새로운 Excel 파일 쓰기

  • update_excel : 기존 Excel 파일 업데이트

사용 가능한 리소스

  • excel://{file_path} : 파일 내용 가져오기

  • excel://{file_path}/info : 파일 구조 정보 가져오기

  • excel://{file_path}/preview : 데이터 미리보기 이미지 생성

프롬프트 템플릿

  • analyze_excel_data : Excel 데이터 분석을 위한 가이드 템플릿

  • create_chart : 데이터 시각화 생성을 도와줍니다

  • data_cleaning : 데이터 정리를 지원합니다

사용 예

  • "sales_data.xlsx 파일을 분석하세요"

  • "product_sales.csv에 대한 막대형 차트를 만듭니다."

  • "직원.xlsx에서 30명 이상의 직원 필터링"

  • "부서별 매출 피벗 테이블 생성"

보안 고려 사항

  • 지정된 경로에서만 파일을 읽습니다.

  • 파일 크기 제한

  • 실수로 파일을 덮어쓰는 것을 방지합니다.

  • 데이터 변환 작업을 엄격하게 제어합니다.

종속성

  • 팬더

  • 넘파이

  • 맷플롯립

  • 시본

특허

MIT 라이센스

Available Tools

8 tools
analyze_excelC
Perform statistical analysis on Excel data.

Args:
    file_path: Path to the Excel file
    columns: Comma-separated list of columns to analyze (analyzes all numeric columns if None)
    sheet_name: Name of the sheet to analyze (for Excel files)
    
Returns:
    JSON string with statistical analysis

Inputs: file_path (required), columns, sheet_name.

data_summaryC
Generate a comprehensive summary of the data in an Excel file.

Args:
    file_path: Path to the Excel file
    sheet_name: Name of the sheet to summarize (for Excel files)
    
Returns:
    Comprehensive data summary as string

Inputs: file_path (required), sheet_name.

export_chartB
Create a chart from Excel data and return as an image.

Args:
    file_path: Path to the Excel file
    x_column: Column to use for x-axis
    y_column: Column to use for y-axis
    chart_type: Type of chart ('line', 'bar', 'scatter', 'hist')
    sheet_name: Name of the sheet to chart (for Excel files)
    
Returns:
    Chart as image

Inputs: file_path (required), x_column (required), y_column (required), chart_type, +1 more.

filter_excelB
Filter Excel data using a pandas query string.

Args:
    file_path: Path to the Excel file
    query: Pandas query string (e.g., "Age > 30 and Department == 'Sales'")
    sheet_name: Name of the sheet to filter (for Excel files)
    
Returns:
    Filtered data as string

Inputs: file_path (required), query (required), sheet_name.

pivot_tableB
Create a pivot table from Excel data.

Args:
    file_path: Path to the Excel file
    index: Column to use as the pivot table index
    columns: Optional column to use as the pivot table columns
    values: Column to use as the pivot table values
    aggfunc: Aggregation function ('mean', 'sum', 'count', etc.)
    sheet_name: Name of the sheet to pivot (for Excel files)
    
Returns:
    Pivot table as string

Inputs: file_path (required), index (required), columns, values, +2 more.

read_excelA
Read an Excel file and return its contents as a string.

Args:
    file_path: Path to the Excel file
    sheet_name: Name of the sheet to read (only for .xlsx, .xls)
    nrows: Maximum number of rows to read
    header: Row to use as header (0-indexed)
    
Returns:
    String representation of the Excel data

Inputs: file_path (required), sheet_name, nrows, header.

update_excelC
Update an existing Excel file with new data.

Args:
    file_path: Path to the Excel file to update
    data: New data in CSV or JSON format
    sheet_name: Name of the sheet to update (for Excel files)
    format: Format of the input data ('csv' or 'json')
    
Returns:
    Confirmation message

Inputs: file_path (required), data (required), sheet_name, format.

write_excelB
Write data to an Excel file.

Args:
    file_path: Path to save the Excel file
    data: Data in CSV or JSON format
    sheet_name: Name of the sheet (for Excel files)
    format: Format of the input data ('csv' or 'json')
    
Returns:
    Confirmation message

Inputs: file_path (required), data (required), sheet_name, format.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 8 tools

    Disambiguation4/5

    Most tools have distinct purposes like reading, writing, filtering, and analyzing Excel data, but analyze_excel and data_summary overlap significantly as both perform data analysis/summarization. The descriptions help differentiate them slightly, but an agent might struggle to choose between them for basic statistical tasks.

    Naming Consistency5/5

    All tools follow a consistent verb_noun or verb_excel pattern (e.g., read_excel, update_excel, filter_excel, pivot_table). The naming is predictable and readable throughout, with no mixing of conventions like camelCase or snake_case deviations.

    Tool Count5/5

    With 8 tools, this server is well-scoped for Excel operations, covering core tasks like reading, writing, updating, filtering, analyzing, summarizing, charting, and pivoting. Each tool earns its place without feeling excessive or insufficient for the domain.

    Completeness4/5

    The toolset provides strong coverage for Excel data manipulation and analysis, including CRUD-like operations (read, write, update) and advanced features (pivot tables, charts). A minor gap exists in lacking tools for specific Excel formatting or cell-level edits, but agents can work around this with the available tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      An MCP server for manipulating Excel files that features a headless engine for real-time formula calculation and data validation. It enables users to create, read, and manage workbooks, sheets, and charts without requiring Microsoft Excel installed.
      21
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for reading, writing, and analyzing Excel files using Python, pandas, and openpyxl. It enables tasks such as managing multiple worksheets, performing structural data analysis, and creating new files from JSON data.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for reading and writing .xls (Excel 97-2003) files, enabling data manipulation, sheet listing, and metadata retrieval.
      MIT