
dudegladiator/spreadsheet-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
GoogleスプレッドシートのMCPサーバー - 読み書き、セルのフォーマット、チャートの作成など
概要
完全なGoogleスプレッドシート機能を提供するモデルコンテキストプロトコル(MCP)サーバー。 Claude、Cursor、またはMCP互換クライアントから直接スプレッドシートを読み取り、書き込み、フォーマットセル、チャートの作成、使用式の作成、および管理します。 私はこのMCPサーバーを私の大学の課題のために作成しました, 私は頻繁にGoogleスプレッドシートのデータを扱う場所 — 主に金融シート. チャートの作成、式の作成、テーブルのフォーマット、データを整理するなどのタスクは、繰り返して時間がかかります。 このツールでは、そのすべてを自動化し、実際の問題に焦点を合わせることができます。 論理的思考と分析 - 同じマニュアルを何度も何度もやり直す代わりに。 :) 1. : Google Cloud Console → New Project 2 に移動します。 - シート API を有効にする - ドライブ API 3 を有効にします。 - API とサービス → 認証 → 認証情報 → サービスアカウントの作成 - JSON キーをダウンロード → 認証情報/サービスアカウントとして保存します.
概要(AI 翻訳)
完全なGoogleスプレッドシート機能を提供するモデルコンテキストプロトコル(MCP)サーバー。 Claude、Cursor、またはMCP互換クライアントから直接スプレッドシートを読み取り、書き込み、フォーマットセル、チャートの作成、使用式の作成、および管理します。
ビルドした理由
私はこのMCPサーバーを私の大学の課題のために作成しました, 私は頻繁にGoogleスプレッドシートのデータを扱う場所 — 主に金融シート. チャートの作成、式の作成、テーブルのフォーマット、データを整理するなどのタスクは、繰り返して時間がかかります。 このツールでは、そのすべてを自動化し、実際の問題に焦点を合わせることができます。 論理的思考と分析 - 同じマニュアルを何度も何度もやり直す代わりに。 :)
##特徴
| カテゴリー | 能力 | 能力 |
お問い合わせ
|セルオペレーションズ | 読み書き、バッチ操作、行末、クリアセル |
|フォーミュラ | フルサポート([=SUM()]]]、[=VLOOKUP()]、[=IF()]など) |
| シート管理 | シートの作成・削除・名前変更・複製 |
|成形 | ボールド・イタリック・カラー・アライメント・コラム幅・マージセル |
|Charts | バー・ライン・パイ・コラム・エリア・散布図 |
|データ操作 | ソート、検索、置換、最終行の取得 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Google Sheets MCP Server
A Model Context Protocol (MCP) server providing full Google Sheets functionality. Read, write, format cells, create charts, use formulas, and manage spreadsheets directly from Claude, Cursor, or any MCP-compatible client.
Why I Built This
I created this MCP server for my college assignments, where I frequently work with data in Google Sheets — mostly financial sheets. Tasks like creating charts, writing formulas, formatting tables, and organizing data were repetitive and time-consuming. With this tool, I can automate all of that and focus on what actually matters — logical thinking and analysis — instead of doing the same manual work over and over again. :)
Features
| Category | Capabilities |
|---|---|
| Cell Operations | Read, write, batch operations, append rows, clear cells |
| Formulas | Full support (=SUM(), =VLOOKUP(), =IF(), etc.) |
| Sheet Management | Create, delete, rename, duplicate sheets |
| Formatting | Bold, italic, colors, alignment, column widths, merge cells |
| Charts | Bar, Line, Pie, Column, Area, Scatter charts |
| Data Operations | Sort, find/replace, get last row |
| Sharing | Share with users or make public |
Quick Start
1. Install
cd /path/to/spreadsheet-mcp
uv sync
2. Google Cloud Setup (Free, One-Time)
- Create Project: Go to Google Cloud Console → New Project
- Enable APIs:
- Create Service Account:
- Go to APIs & Services → Credentials → Create Credentials → Service Account
- Download JSON key → Save as
credentials/service-account.json
- Share Spreadsheets: Share your sheets with the service account email (found in JSON)
3. Run
uv run spreadsheet-mcp
MCP Client Configuration
Claude Desktop
Add to your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"google-sheets": {
"command": "uv",
"args": [
"--directory",
"/path/to/spreadsheet-mcp",
"run",
"spreadsheet-mcp"
]
}
}
}
Claude Code (CLI)
Add to your project’s .mcp.json file:
{
"mcpServers": {
"google-sheets": {
"command": "uv",
"args": [
"--directory",
"/path/to/spreadsheet-mcp",
"run",
"spreadsheet-mcp"
]
}
}
}
Cursor
Add to Cursor’s MCP settings (Settings → MCP → Add Server):
{
"mcpServers": {
"google-sheets": {
"command": "uv",
"args": [
"--directory",
"/path/to/spreadsheet-mcp",
"run",
"spreadsheet-mcp"
]
}
}
インストール
npx -y uv --directory /path/to/spreadsheet-mcp run spreadsheet-mcp設定
{
"mcpServers": {
"google-sheets": {
"command": "uv",
"args": [
"--directory",
"/path/to/spreadsheet-mcp",
"run",
"spreadsheet-mcp"
]
}
}
}