
dudegladiator/spreadsheet-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP Server for Google Sheets - read, write, format cells, create charts, and more
개요
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. 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. :) 1. : Go to Google Cloud Console → New Project 2. : - Enable Sheets API - Enable Drive API 3. : - Go to APIs & Services → Credentials → Create Credentials → Service Account - Download JSON key → Save as credentials/service-account.json 4.
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"
]
}
}
}