google-sheets-mcp
Enables reading data, editing cells, appending rows, inserting/deleting rows and columns, filling formulas, formatting cells, finding and replacing, managing tabs, and performing batch updates on Google Sheets spreadsheets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@google-sheets-mcpUpdate the inventory sheet: set stock of SKU-123 to 45."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Sheets MCP
An MCP server that lets Claude (including Claude Cowork and Claude Desktop) work with your Google Sheets in place — no more "here's a new spreadsheet" every time.
Read data, edit cells inline with natural language, append rows, insert/delete rows and columns, fill formulas, format cells, and find & replace — all against the sheet you already have open.
Built on the MCP TypeScript SDK v2 (2026-07-28 spec) and the Google Sheets API v4.
Tools
Tool | What it does |
| List/search your spreadsheets, most recent first |
| Spreadsheet title, tabs, and grid sizes |
| Read values, raw values, or formulas from a range |
| Overwrite a range in place ( |
| Append rows after the last row of data |
| Clear values (keeps formatting) |
| Fill one formula across a range with relative references adjusting |
| Insert blank rows/columns at a position |
| Delete entire rows/columns |
| Manage tabs |
| Bold, colors, alignment, wrap, number formats |
| Find & replace across a sheet or the whole file |
| Raw Sheets API batchUpdate escape hatch (charts, merges, validation, …) |
Spreadsheet IDs can be given as bare IDs or full Google Sheets URLs. Rows are 1-based numbers and columns are letters, exactly as in the Sheets UI.
Related MCP server: google-mcp
Setup
1. Google Cloud credentials (one-time)
In Google Cloud Console, create (or pick) a project.
Enable the Google Sheets API and Google Drive API.
Under APIs & Services → Credentials, create an OAuth client ID of type Desktop app. Note the client ID and secret.
Alternative: create a service account key instead, and share your sheets with the service account's email address.
2a. Install into Claude Desktop / Cowork (recommended)
npm install
npm run pack # builds and produces google-sheets.mcpbDouble-click google-sheets.mcpb (or Claude Desktop → Settings → Extensions →
Install Extension…), then paste your OAuth client ID and secret in the extension
settings. On first use a browser window opens to authorize your Google account;
tokens are cached at ~/.config/google-sheets-mcp/token.json.
2b. Or run as a plain local MCP server
Add to your MCP client config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"google-sheets": {
"command": "node",
"args": ["/path/to/google-sheets-mcp/dist/index.js"],
"env": {
"GOOGLE_OAUTH_CLIENT_ID": "…apps.googleusercontent.com",
"GOOGLE_OAUTH_CLIENT_SECRET": "…"
}
}
}
}Configuration reference
Env var | Purpose |
| OAuth desktop flow (acts as you) |
| Path to a service-account JSON key |
| Inline service-account JSON |
| Standard ADC fallback |
| Override OAuth token cache location |
| Override requested OAuth scopes |
Default scopes: spreadsheets (read/write) + drive.metadata.readonly (list/search files).
Development
npm install
npm run build # compile to dist/
npm run typecheck # tsc --noEmit
npm run pack # build + package .mcpb bundleSource layout:
src/
index.ts stdio entry point
server.ts server factory: registers all tool groups
auth.ts OAuth loopback / service account / ADC resolution
sheets.ts googleapis client wrappers + sheet resolution
tools/ one module per tool group (read, write, structure, format, advanced)
utils/ A1-notation parsing, tool result/error helpersThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceAn MCP server that connects Claude to Google Sheets for enhanced brainstorming and structured data output, enabling seamless capture, organization, and manipulation of ideas directly within spreadsheets.Last updated
- Alicense-qualityBmaintenanceMCP server for Google Drive, Docs, and Sheets — built for Claude Code. Gives Claude Code direct read/write access to Google Sheets (cell-level edits, formatting, structure), Google Docs (insert, replace, append), and Drive (search).Last updated731MIT
- Alicense-qualityFmaintenanceA comprehensive MCP server for Google Sheets integration with Claude, enabling spreadsheet discovery, data manipulation, and formatting through natural language commands and slash commands.Last updated18MIT
- FlicenseBqualityDmaintenanceAn MCP server that enables Claude to interact with Google Sheets via the SheetsDB API, supporting CRUD operations and smart data addition.Last updated6
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ezrazhang7/google-sheets-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server