
haris-musa/excel-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Excelファイル操作のためのモデルコンテキストプロトコルサーバー
概要
Microsoft ExcelをインストールしなくてもExcelファイルを操作できるModel Context Protocol(MCP)サーバーです。AIエージェントでExcelワークブックを作成、閲覧、修正できます。 - 📊 : ワークブックやワークシートの作成、閲覧、更新 - 📈 : 数式、フォーマット、チャート、ピボットテーブル、Excelテーブル - 🔍 : レンジ、数式、データの整合性の組み込み検証 - 🎨 : フォントのスタイリング、色、境界線、アラインメント、条件付き書式 - 📋 : カスタムスタイリングでExcelテーブルを作成・管理 - 📊 : 線、棒、円グラフ、散布などの様々なチャートタイプを生成する - 🔄 : データ分析用の動的ピボットテーブル作成 - 🔧 : ワークシートのコピー、名前変更、削除を簡単に行える - 🔌 stdio、SSE(廃止)、ストリーミング可能なHTTP - 🌐 : ローカルおよびリモートサービスの両方で動作 サーバーは3つの伝送方法をサポートしています: サーバーを で実行する場合、あなたは です。この変数はサーバーにExcelファイルの読み書き先を教えます。- 設定しなければ、デフォルトは./excel_filesになります。
概要(AI 翻訳)
オープンソースのモデルコンテキストプロトコル(MCP)サーバーで、
Claude、Cursor、VS Code Copilot、Codexおよびその他のAIクライアントはExcelファイルの作成、読み取り、編集を行います:
チャート、ピボットテーブル、数式、表など。openpyxlを基に構築されており、Microsoftは不要です
Excel**、Windows、macOS、Linuxで動作します。
**インストールして excelmcpserver.com で試してみるか、確認してください 以下にクイックスタートです。
特徴
チャートとピボットテーブル
- AIによるExcelチャート作成:列、棒、線、面積、パイ、ドーナツ、レーダー、散乱、 バブル、コンボ、二次軸、トレンドライン、エラーバーを組み合わせて
- Excel 2016のチャートタイプ:ウォーターフォール、ヒストグラム、パレート、ボックス&ウィスカー、ツリーマップ、サンバースト そして漏斗
- Excelがリフレッシュする実際のピボットテーブル(グループ化、計算フィールド、「値表示」、 レイアウト、フィルター)、さらにピボットテーブルやテーブル用のスライサーやタイムラインも含まれます
- スパークライン(線、列、勝敗)
数式と動的配列
- 公式はExcelを使わずに組み込みエンジンによって計算されます(約260の関数、チェック済み)
実際のExcelから記録された2,500以上の公式に対して、
read_rangeは値を返します Excelで開いたことがないファイルに対して
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Excel MCP Server
An open-source Model Context Protocol (MCP) server that lets
Claude, Cursor, VS Code Copilot, Codex and other AI clients create, read and edit Excel files:
charts, PivotTables, formulas, tables and more. It is built on openpyxl, needs no Microsoft
Excel, and runs on Windows, macOS and Linux.
Install and try it at excelmcpserver.com, or see Quick start below.
Features
Charts and PivotTables
- Create Excel charts with AI: column, bar, line, area, pie, doughnut, radar, scatter and bubble, with combos, secondary axes, trendlines and error bars
- The Excel 2016 chart types: waterfall, histogram, Pareto, box and whisker, treemap, sunburst and funnel
- Real PivotTables that Excel refreshes (grouping, calculated fields, “show values as”, layouts, filters), plus slicers and timelines for PivotTables and tables
- Sparklines (line, column, win/loss)
Formulas and dynamic arrays
- Formulas are calculated without Excel by a built-in engine (about 260 functions, checked
against more than 2,500 formulas recorded from real Excel), so
read_rangereturns values for files that were never opened in Excel - Dynamic arrays (
FILTER,SORT,UNIQUE,SEQUENCE,LET) are stored as Excel stores them and spill into the cells next to them - Find out why a number is wrong: trace precedents and dependents across sheets, names and tables, and evaluate a formula step by step as Excel’s Evaluate Formula does
インストール
uvx excel-mcp-server stdio --allow-dir /path/to/workbooks設定
{
"mcpServers": {
"excel": {
"command": "uvx",
"args": ["excel-mcp-server", "stdio", "--allow-dir", "/path/to/workbooks"]
}
}
}