
negokaz/excel-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MS Excelデータを読み書きするモデルコンテキストプロトコル(MCP)サーバー
概要
MS Excelデータを読み書きするモデルコンテキストプロトコル(MCP)サーバーです。 - テキスト値の読み書き- 数式の読み書き- 新しいシートの作成 - ライブ編集 - シートからスクリーン画像をキャプチャする 詳細はツールセクションをご覧ください。 - xlsx(Excelブック) - xlsm(Excelマクロ対応本) - xltx(Excelテンプレート) - xltm(Excelマクロ対応テンプレート) Excel-MCP-serverは、MCPサーバーの設定に以下の構成を追加することで自動的にインストールされます。 Smithery経由でClaude Desktop用のExcel MCP Serverを自動的にインストールするには: 指定されたExcelファイルのシート情報をすべてリストアップします。
概要(AI 翻訳)
MS Excelデータを読み書きするモデルコンテキストプロトコル(MCP)サーバーです。
特徴
- テキスト値の読み書き
- 読み書き式
- 新しいシートの作成
🪟Windowsのみ:
- ライブ編集
- シートからスクリーン画像をキャプチャする
詳細はツールセクションをご覧ください。
要件
- Node.js 20.x以降
対応ファイル形式
- xlsx(Excelブック)
- xlsm(Excelマクロ対応の書籍)
- xltx(Excelテンプレート)
- xltm(Excelマクロ対応テンプレート)
設置
NPM経由のインストール
Excel-MCP-serverは、MCPサーバーの設定に以下の構成を追加することで自動的にインストールされます。
Windows用:
その他のプラットフォームについては:
Smithery経由のインストール
Smithery経由でClaude Desktop用のExcel MCP Serverを自動的にインストールするには:
ツール
excel_describe_sheets
指定されたExcelファイルのシート情報をすべてリストアップします。
議論:
fileAbsolutePath- Excelファイルへの絶対パス
excel_read_sheet
ページ付きでExcelシートから値を読みます。
議論:
fileAbsolutePath- Excelファイルへの絶対パス
sheetName- Excelファイル内のシート名
range- Excelシートで読み取るセルの範囲(例:「A1:C10」)。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Excel MCP Server
A Model Context Protocol (MCP) server that reads and writes MS Excel data.
Features
- Read/Write text values
- Read/Write formulas
- Create new sheets
🪟Windows only:
- Live editing
- Capture screen image from a sheet
For more details, see the tools section.
Requirements
- Node.js 20.x or later
Supported file formats
- xlsx (Excel book)
- xlsm (Excel macro-enabled book)
- xltx (Excel template)
- xltm (Excel macro-enabled template)
Installation
Installing via NPM
excel-mcp-server is automatically installed by adding the following configuration to the MCP servers configuration.
For Windows:
{
"mcpServers": {
"excel": {
"command": "cmd",
"args": ["/c", "npx", "--yes", "@negokaz/excel-mcp-server"],
"env": {
"EXCEL_MCP_PAGING_CELLS_LIMIT": "4000"
}
}
}
}
For other platforms:
{
"mcpServers": {
"excel": {
"command": "npx",
"args": ["--yes", "@negokaz/excel-mcp-server"],
"env": {
"EXCEL_MCP_PAGING_CELLS_LIMIT": "4000"
}
}
}
}
Installing via Smithery
To install Excel MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @negokaz/excel-mcp-server --client claude
Tools
excel_describe_sheets
List all sheet information of specified Excel file.
Arguments:
fileAbsolutePath- Absolute path to the Excel file
excel_read_sheet
Read values from Excel sheet with pagination.
Arguments:
fileAbsolutePath- Absolute path to the Excel file
sheetName- Sheet name in the Excel file
range- Range of cells to read in the Excel sheet (e.g., “A1:C10”). [default: first paging range]
showFormula- Show formula instead of value [default: false]
showStyle- Show style information for cells [default: false]
excel_screen_capture
[Windows only] Take a screenshot of the Excel sheet with pagination.
Arguments:
fileAbsolutePath- Absolute path to the Excel file
sheetName- Sheet name in the Excel file
range- Range of cells to read in the Excel sheet (e.g., “A1:C10”). [default: first paging range]
excel_write_to_sheet
インストール
npx --yes @negokaz/excel-mcp-server設定
{
"mcpServers": {
"excel": {
"command": "cmd",
"args": ["/c", "npx", "--yes", "@negokaz/excel-mcp-server"],
"env": {
"EXCEL_MCP_PAGING_CELLS_LIMIT": "4000"
}
}
}
}