Excel MCP Server
Excel MCP サーバー
モデルコンテキストプロトコル(MCP)サーバーを使えば、Microsoft ExcelをインストールしなくてもExcelファイルを操作できます。AIエージェントを使ってExcelワークブックを作成、読み取り、変更できます。
特徴
📊 Excel ブックの作成と変更
📝 データの読み取りと書き込み
🎨 書式とスタイルを適用する
📈 チャートと視覚化を作成する
🔄 ワークシートと範囲を管理する
Related MCP server: Spire.XLS MCP Server
クイックスタート
前提条件
Python 3.10以上
インストール
リポジトリをクローンします。
git clone https://github.com/Aifornorms/ExcelMCP.git
cd ExcelMCPuv を使用してインストールします。
python -m venv .venv
.venv/scripts/activate
pip install uv
uv pip install -e .サーバーの実行
サーバーを起動します (デフォルト ポート 8000)。
uv run excel-mcp-serverカスタム ポート (例: 8080):
# Bash/Linux/macOS
export FASTMCP_PORT=8080 && uv run excel-mcp-server
# Windows PowerShell
$env:FASTMCP_PORT = "8080"; uv run excel-mcp-serverAIツールと併用する
カーソルIDE
この構成をカーソルに追加します。
{
"mcpServers": {
"excel": {
"url": "http://localhost:8000/sse",
"env": {
"EXCEL_FILES_PATH": "Excel_files"
}
}
}
}Excel ツールは AI アシスタントを通じて利用できるようになります。
リモートホスティングとトランスポートプロトコル
このサーバーは、Server-Sent Events(SSE)トランスポートプロトコルを使用します。様々なユースケースに対応しています。
Claude Desktop で使用する (stdio が必要):
Supergatewayを使用して SSE を stdio に変換します。
MCP サーバーのホスティング:
環境変数
FASTMCP_PORT: サーバーポート (デフォルト: 8000)EXCEL_FILES_PATH: Excelファイルのディレクトリ(デフォルト:./excel_files)
利用可能なツール
サーバーは包括的なExcel操作ツールセットを提供します。利用可能なすべてのツールの完全なドキュメントについては、 TOOLS.mdをご覧ください。
ライセンス
MIT ライセンス - 詳細についてはライセンスを参照してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
The Excel engine for AI agents: read, check and edit Excel models over MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Teable is an AI spreadsheet for business that combines a familiar spreadsheet interface with a structured database. Its remote MCP server lets AI agents inspect project and table structure, read and update records, and access the Teable API through OAuth with existing project permissions. Website: [teable.ai](https://teable.ai)
Related MCP Servers
- AlicenseAqualityDmaintenanceA 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.61,048MIT
- AlicenseNot gradedqualityDmaintenanceA robust solution that enables AI agents to create, read, modify, and convert Excel files through the Model Context Protocol without requiring Microsoft Office installation.6MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server designed for AI assistants to directly process spreadsheet files, enabling them to read, display, modify, and save various table formats like CSV and Excel.33MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI agents to freely operate Excel spreadsheets, providing tools for workbook creation, cell manipulation, formatting, formula handling, and data export.11ISC