YM

yzfly/mcp-excel-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

95 stars 20 forks 品質 67 トレンド 19

yzfly/mcp-excel-serverは、https://github.com/yzfly/mcp-excel-server.からインポートされたMCPサーバー候補です。

概要

yzfly/mcp-excel-serverは、https://github.com/yzfly/mcp-excel-server.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

包括的なExcelファイル管理およびデータ分析機能を提供するMCPサーバーです。

特徴

  • Excelファイル操作

  • 複数のExcel形式(XLSX、XLS、CSV、TSV、JSON)を読み取る

  • Excelファイルの書き込みと更新

  • ファイル情報とシート名の取得

  • データ分析

  • 要約統計および記述分析

  • データ品質評価

  • ピボットテーブル

  • データのフィルタリングおよびクエリ

  • 可視化

  • Excelデータからチャートやプロットを生成する

  • データプレビューの作成

  • 可視化を画像としてエクスポートする

設置

  1. 新しいPython環境の作成(推奨):

  2. 依存関係のインストール:

Claude Desktopとの統合

  1. Claude Desktopのインストール
  2. 設定を開き、開発者タブに移動します
  3. 編集 claude_desktop_config.json:

利用可能なツール

ファイル読書

  • read_excel:Excelファイルの読み取り
  • get_excel_info: ファイル詳細を取得
  • get_sheet_names:ワークシート名のリスト

データ分析

  • analyze_excel:統計解析を実施
  • filter_excel:条件によるフィルタリング
  • pivot_table:ピボットテーブルの作成
  • data_summary:包括的なデータ要約を生成する

データ可視化

  • export_chart:チャート生成

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

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

GitHub で README 全文を見る

インストール

uvx mcp-excel-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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