google-sheets-mcp
MCP server to read and edit Google Sheets. It provides tools for managing spreadsheet data, formatting, and sheet operations, making it suitable for editorial calendars and task trackers.
README
google-sheets-mcp
MCP server to read and edit Google Sheets. Built for editorial calendars, task trackers and any agency-style spreadsheet workflow.
Tools (22)
| Tool | What it does |
|---|---|
get_spreadsheet_info |
Title, tabs and dimensions of the spreadsheet |
get_sheet_data |
All data of a tab as an array of rows |
read_range |
Read a specific A1 range |
read_multiple_ranges |
Read several ranges in a single API call — more efficient than calling read_range repeatedly |
write_range |
Write data into a range (overwrites) |
update_cell |
Update a single cell |
batch_update_cells |
Update multiple individual cells in a single API call |
append_rows |
Append rows at the end of a tab |
find_replace |
Find and replace text across the whole spreadsheet |
clear_range |
Clear a range |
insert_rows |
Insert N blank rows starting at a given row |
delete_rows |
Delete a range of rows |
add_sheet |
Create a new tab |
rename_sheet |
Rename a tab |
copy_sheet |
Duplicate a tab within the same spreadsheet |
format_range |
Apply formatting (background color, bold, font size, alignment) |
freeze_rows |
Freeze the top N rows |
create_spreadsheet |
Create a new empty spreadsheet |
get_hyperlinks |
Extract hyperlink URLs from cells in a range — useful when a cell displays text that links elsewhere |
sort_range |
Sort a range by a column (ascending or descending) |
auto_resize_columns |
Auto-fit column widths to content |
duplicate_spreadsheet |
Clone an entire spreadsheet (all tabs and data) |
Semantic colors for format_range
| Name | Use |
|---|---|
hecho |
Light green — task done |
in_progress |
Light yellow — in progress |
por_hacer |
Light grey — pending |
alta |
Light red — high priority |
media |
Light yellow — medium priority |
baja |
Light blue — low priority |
header |
Steel blue — table header |
white, red, green, blue, yellow, orange, purple, grey |
Basic colors |
#RRGGBB |
Direct hex |
Setup
- Create a Google Cloud project (or reuse one) and enable the
Google Sheets API, Google Docs API and Google Drive API
(the token scopes cover all three, so you can reuse it with the sibling
google-docs-mcpserver if you want). - Create an OAuth 2.0 Client ID of type "Desktop app" and download it as
client_secret.json. - If the app is in "Testing" mode, add your Google account as a test user.
- Install dependencies:
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt - Run the OAuth flow once:
This opens a browser — log in and grant access.CLIENT_SECRET_PATH=~/.config/google-sheets-mcp/client_secret.json \ python3 setup_auth.py
MCP client configuration
{
"mcpServers": {
"google-sheets": {
"command": "/path/to/.venv/bin/python3",
"args": ["/path/to/google-sheets-mcp/server.py"],
"env": {
"GOOGLE_WORKSPACE_TOKEN_PATH": "~/.config/google-workspace-mcp/token.json"
}
}
}
}
| Env var | Default | Purpose |
|---|---|---|
GOOGLE_WORKSPACE_TOKEN_PATH |
~/.config/google-workspace-mcp/token.json |
Path to the OAuth token |
Suggested task-sheet structure
Standard columns (row 1 = header):
OWNER | START | END | TASK | TOPIC | STATUS | PRIORITY | DETAILS
Suggested status values: TODO, IN PROGRESS, DONE
Suggested priorities: HIGH, MEDIUM, LOW
License
MIT — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。