Skip to main content
Glama

excel-mcp-server

Excel MCP サーバー

モデルコンテキストプロトコル(MCP)サーバーを使えば、Microsoft ExcelをインストールしなくてもExcelファイルを操作できます。AIエージェントを使ってExcelワークブックを作成、読み取り、変更できます。

特徴

  • 📊 Excel ブックの作成と変更
  • 📝 データの読み取りと書き込み
  • 🎨 書式とスタイルを適用する
  • 📈 チャートと視覚化を作成する
  • 📊 ピボットテーブルを生成する
  • 🔄 ワークシートと範囲を管理する
  • 🔌 デュアルトランスポートサポート: stdio と SSE

クイックスタート

前提条件

  • Python 3.10以上

インストール

  1. リポジトリをクローンします。
git clone https://github.com/haris-musa/excel-mcp-server.git cd excel-mcp-server
  1. uv を使用してインストールします。
uv pip install -e .

サーバーの実行

サーバーは、stdio と SSE の 2 つのトランスポート モードをサポートしています。

stdioトランスポートを使用する(デフォルト)

Stdio トランスポートは、ローカル ファイルを操作できる Cursor Desktop などのツールやローカル開発との直接統合に最適です。

excel-mcp-server stdio
SSEトランスポートの使用

SSE トランスポートは、リモート ファイルを操作する Web ベースのアプリケーションやリモート接続に最適です。

excel-mcp sse

SSE サーバーのホストとポートを指定できます。

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

AIツールと併用する

カーソルIDE

  1. ニーズに合わせて適切な転送方法を選択し、この構成を Cursor に追加します。

stdio トランスポート接続(ローカル統合用):

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

SSE トランスポート接続(Web ベースのアプリケーションの場合):

{ "mcpServers": { "excel": { "url": "http://localhost:8000/sse", "env": { "EXCEL_FILES_PATH": "/path/to/excel/files" } } } }
  1. Excel ツールは AI アシスタントを通じて利用できるようになります。

リモートホスティングとトランスポートプロトコル

このサーバーは最大限の柔軟性を実現するために、stdio と SSE の両方のトランスポート プロトコルをサポートしています。

  1. Claude Desktop での使用:
    • Stdioトランスポートを使用する
  2. MCP サーバー (SSE) のホスティング:

環境変数(SSEトランスポート用)

  • FASTMCP_PORT : SSEトランスポートのサーバーポート(デフォルト: 8000)
  • EXCEL_FILES_PATH : Excelファイルのディレクトリ(デフォルト: ./excel_files

利用可能なツール

サーバーは包括的なExcel操作ツールセットを提供します。利用可能なすべてのツールの完全なドキュメントについては、 TOOLS.mdをご覧ください。

ライセンス

MIT ライセンス - 詳細についてはライセンスを参照してください。

-
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.

Excelファイル操作機能を提供します。このサーバーは、ワークブックの作成、データ操作、書式設定、および高度なExcel機能を可能にします。

  1. 特徴
    1. クイックスタート
      1. 前提条件
      2. インストール
      3. サーバーの実行
    2. AIツールと併用する
      1. カーソルIDE
      2. リモートホスティングとトランスポートプロトコル
    3. 環境変数(SSEトランスポート用)
      1. 利用可能なツール
        1. ライセンス

          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
            19
            JavaScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.
            Last updated -
            6,446
            276
            Go
            MIT License
            • Linux
            • Apple
          • 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

          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