ZE

zhiwei5576/excel-mcp-server

Developer tools

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

51 stars 11 forks 品質 62 トレンド 0MIT

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

概要

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

概要(AI 翻訳)

日本語 | English

モデルコンテキストプロトコル(MCP)に基づくExcelファイル処理サーバー。Excelファイルを読み書き、解析するための機能を提供します。

##特徴

  • 447はExcelファイルを読みます

  • ワークシートリストの取得

  • 特定のワークシートのデータを読む

  • すべてのワークシートのデータを読む

  • Excelファイルを書く

  • 新しいExcelファイルを作成する

  • 特定のワークシートに書き込む

  • 複数のワークシートをサポート

  • Excel の解析

  • ワークシート構造の分析

  • 新しいファイルに構造をエクスポートする

  • 💾キャッシュ管理

  • 自動ファイルコンテンツキャッシュ

  • スケジュールされたキャッシュクリーンアップ

  • 手動キャッシュクリア

  • ログ管理

  • 自動操作のロギング

  • 定期的なログクリーンアップ

インストール

##Smitheryでインストールする

Claudeデスクトップ用のExcel-mcp-serverをSmisery経由で自動的にインストールするには:

##手動でインストールする NPM によるインストール MCP サーバーの設定に次の設定を追加することで、excel-mcp-server が自動的にインストールできます。

Windowsのプラットホーム:

他のプラットホーム:

注意: LOG PATH はオプションです。 設定されていない場合は、アプリケーションルートディレクトリの下の ‘logs’ フォルダにログを保存します。 他の引数はオプションです。

API ツール

構造ツール

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

README

以下は原文 README の抜粋です。原文を見る。

Excel MCP Server

简体中文 | English

Excel file processing server based on Model Context Protocol (MCP), providing functionalities for reading, writing, and analyzing Excel files.

Features

  • 📖 Read Excel Files

    • Get worksheet list
    • Read specific worksheet data
    • Read all worksheets data
  • ✍️ Write Excel Files

    • Create new Excel files
    • Write to specific worksheet
    • Support multiple worksheets
  • 🔍 Analyze Excel Structure

    • Analyze worksheet structure
    • Export structure to new file
  • 💾 Cache Management

    • Automatic file content caching
    • Scheduled cache cleanup
    • Manual cache clearing
  • 📝 Log Management

    • Automatic operation logging
    • Periodic log cleanup

Installation

Installing via Smithery

To install excel-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @zhiwei5576/excel-mcp-server --client claude

Installing Manually

Installing via NPM excel-mcp-server can be automatically installed by adding the following configuration to the MCP servers configuration.

Windows Platform:

{
  "mcpServers": {
    "excel": {
        "command": "cmd",
        "args": ["/c", "npx", "--yes", "@zhiweixu/excel-mcp-server"],
        "env": {
            "LOG_PATH": "[set an accessible absolute path]",
            "CACHE_MAX_AGE": "1",
            "CACHE_CLEANUP_INTERVAL": "4",
            "LOG_RETENTION_DAYS": "7",
            "LOG_CLEANUP_INTERVAL": "24"
        }
    }
}

Other Platforms:

{
  "mcpServers": {
    "excel": {
        "command": "npx",
        "args": ["--yes", "@zhiweixu/excel-mcp-server"],
        "env": {
            "LOG_PATH": "[set an accessible absolute path]",
            "CACHE_MAX_AGE": "1",
            "CACHE_CLEANUP_INTERVAL": "4",
            "LOG_RETENTION_DAYS": "7",
            "LOG_CLEANUP_INTERVAL": "24"
        }
    }
}

Note: LOG_PATH is optional. If not set, logs will be stored in the ‘logs’ folder under the application root directory.other arguments are optional.

API Tools

Structure Tools

  1. analyzeExcelStructure

    • Function: Get Excel file structure including sheet list and column headers in JSON format
    • Parameters:
      • fileAbsolutePath: Absolute path of the Excel file
      • headerRows: Number of header rows (default: 1)
  2. exportExcelStructure

    • Function: Export Excel file structure (sheets and headers) to a new Excel template file
    • Parameters:
      • sourceFilePath: Source Excel file path
      • targetFilePath: Target Excel file path
      • headerRows: Number of header rows (default: 1)

Read Tools

  1. readSheetNames
GitHub で README 全文を見る

インストール

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

設定

{ "mcpServers": { "excel": { "command": "cmd", "args": ["/c", "npx", "--yes", "@zhiweixu/excel-mcp-server"], "env": { "LOG_PATH": "[set an accessible absolute path]", "CACHE_MAX_AGE": "1", "CACHE_CLEANUP_INTERVAL": "4", "LOG_RETENTION_DAYS": "7", "LOG_CLEANUP_INTERVAL": "24" } } }