Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ ClaudeによるMicrosoft Excel自動化セットアップ | スプレッドシート、予算、レポート
Anthropic Claudeを活用した日常オフィス業務自動化のためのエージェンティックAI

bookClaudeによるMicrosoft Excel自動化セットアップ

メニューを表示するにはスワイプしてください

Excel MCP サーバー のセットアップとテスト。

Claudeによる自動セットアップ
expand arrow
  • このコマンドをコピーしてClaudeで実行:
Add excel mcp server credentials to the Claude config file:
uvx excel-mcp-server stdio
更新された設定ファイルの確認(任意)
expand arrow

確認するには、ショートカット Command + , または Ctrl + , を使用するか、設定 → 開発者タブ → 設定を編集 を開き、テキストエディタでファイルを確認。Excel MCP ブロックが追加されていることを確認。

Claudeの再起動
expand arrow
  • Claudeを完全に終了(Mac: Cmd + Q、Windows: Alt + F4);
  • Claudeを再起動;

Excel MCP サーバーのテスト

Note
注意

Desktop Commander MCP を無効にし、Claude が特に Excel MCP を使用するように設定。データセット付きのファイルが添付されます。Desktop Commander を無効にすると、Claude はローカルファイルへアクセスできません。

新しいExcelワークブックの作成
expand arrow
  • 新しい Claude チャットを開き、次のプロンプトを送信:
Create a new excel workbook on my desktop. Build a pivot table
that groups the data by the product column and summarize the total
quantity and the total revenue for each product. Use the attached file. 
Use only python libraries for analysis.
追加プロンプト
expand arrow

Claude がデスクトップにExcelファイルを作成しない場合、次のように明確に指示:

Run the script, but don't create excel since I want to test new excel mcp
  • Claude から Excel MCP AI エージェントの使用を求められたら、常に許可 または 一度だけ許可 をクリック;
  • ファイルが前回指定したフォルダに作成されていない場合は、次のプロンプトで明確に指示、例:
Move the file onto Desktop
  • 新しいファイルを確認し、プロンプトの練習で機能を拡張。
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 4.  2

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 4.  2
some-alt