Excel MCP サーバー
モデルコンテキストプロトコル(MCP)サーバーを使えば、Microsoft ExcelをインストールしなくてもExcelファイルを操作できます。AIエージェントを使ってExcelワークブックを作成、読み取り、変更できます。
特徴
- 📊 Excel ブックの作成と変更
- 📝 データの読み取りと書き込み
- 🎨 書式とスタイルを適用する
- 📈 チャートと視覚化を作成する
- 📊 ピボットテーブルを生成する
- 🔄 ワークシートと範囲を管理する
- 🔌 デュアルトランスポートサポート: stdio と SSE
クイックスタート
前提条件
- Python 3.10以上
インストール
- リポジトリをクローンします。
- uv を使用してインストールします。
サーバーの実行
サーバーは、stdio と SSE の 2 つのトランスポート モードをサポートしています。
stdioトランスポートを使用する(デフォルト)
Stdio トランスポートは、ローカル ファイルを操作できる Cursor Desktop などのツールやローカル開発との直接統合に最適です。
SSEトランスポートの使用
SSE トランスポートは、リモート ファイルを操作する Web ベースのアプリケーションやリモート接続に最適です。
SSE サーバーのホストとポートを指定できます。
AIツールと併用する
カーソルIDE
- ニーズに合わせて適切な転送方法を選択し、この構成を Cursor に追加します。
stdio トランスポート接続(ローカル統合用):
SSE トランスポート接続(Web ベースのアプリケーションの場合):
- Excel ツールは AI アシスタントを通じて利用できるようになります。
リモートホスティングとトランスポートプロトコル
このサーバーは最大限の柔軟性を実現するために、stdio と SSE の両方のトランスポート プロトコルをサポートしています。
- Claude Desktop での使用:
- Stdioトランスポートを使用する
- MCP サーバー (SSE) のホスティング:
環境変数(SSEトランスポート用)
FASTMCP_PORT
: SSEトランスポートのサーバーポート(デフォルト: 8000)EXCEL_FILES_PATH
: Excelファイルのディレクトリ(デフォルト:./excel_files
)
利用可能なツール
サーバーは包括的なExcel操作ツールセットを提供します。利用可能なすべてのツールの完全なドキュメントについては、 TOOLS.mdをご覧ください。
ライセンス
MIT ライセンス - 詳細についてはライセンスを参照してください。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Excelファイル操作機能を提供します。このサーバーは、ワークブックの作成、データ操作、書式設定、および高度なExcel機能を可能にします。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityProvides 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 -119JavaScriptMIT License
- -securityAlicense-qualityA 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,446276GoMIT License
- AsecurityAlicenseAqualityEnables seamless reading, writing, and analyzing of Excel files through Model Context Protocol, with features for worksheet management, structure analysis, and automated caching.Last updated -821211TypeScriptMIT License
- -securityAlicense-qualityProvides Excel file manipulation capabilities without requiring Microsoft Excel installation, enabling workbook creation, data manipulation, formatting, and advanced Excel features.Last updated -PythonMIT License