MCP Google Sheets
MCP server by yangchoi Verified · npm:@heyyang
Lets Claude and other MCP clients read, write and manage Google Sheets. Built for Claude Desktop, Claude Code and any MCP-compatible AI client.
Install MCP Google Sheets
Built from the published package, never by AI.
claude mcp add mcp-google-sheets -- npx -y @heyyang/mcp-google-sheetsRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-google-sheets": {
"args": [
"-y",
"@heyyang/mcp-google-sheets"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-google-sheets": {
"args": [
"-y",
"@heyyang/mcp-google-sheets"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-google-sheets": {
"args": [
"-y",
"@heyyang/mcp-google-sheets"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-google-sheets -- npx -y @heyyang/mcp-google-sheets{
"mcpServers": {
"mcp-google-sheets": {
"args": [
"-y",
"@heyyang/mcp-google-sheets"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-google-sheets npx -y @heyyang/mcp-google-sheetsGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-google-sheets block.
About
MCP Google Sheets is a Model Context Protocol server that exposes the Google Sheets API to Claude and other AI agents. It lets an assistant read any range in A1 notation, update cells, append rows, clear ranges and batch update several ranges in one call. It can also inspect spreadsheet metadata, such as sheet tabs and their dimensions.
The server uses OAuth 2.0 with a Google Cloud desktop client and stores the token locally with automatic refresh. It is written in TypeScript and runs over stdio. The source names Claude Desktop and Claude Code as clients and suggests it for logging AI agent output, syncing data pipelines with team sheets, or automating dashboards. It requests only the spreadsheets scope.
Written from the project's README and checked against it.
Tools it gives your assistant
get_spreadsheet_metadataLists sheet tabs and their dimensions. Call it first to discover sheet names.read_rangeReads cell values in A1 notation, returning typed values by default.update_rangeOverwrites cells in a specific range.append_rowAppends one or more rows after the last row with data, useful for logging.clear_rangeClears values in a range without deleting formatting.batch_update_valuesUpdates multiple ranges in a single API call.
What you need
- Node.js 18 or newer
- A Google account
- A Google Cloud project with the Sheets API enabled
- OAuth desktop credentials (credentials.json)
- Claude Desktop, Claude Code or another MCP client
Try asking
- Append a new row to my job application tracker sheet with today's entry
- Read the range A1:D10 from my project dashboard sheet and summarize it
- Clear the old values in Sheet1!A2:F50 without deleting the formatting
Good to know
- While the Google OAuth app is in Testing mode, the refresh token expires after seven days.
- The OAuth callback needs port 47319 to be free during authorization.
- Live tests write to the spreadsheet, so use a scratch sheet for them.
- Rows returned by read_range can be ragged, so do not assume a rectangle.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Google Sheets
All alternatives →LearnHouse is an open source learning platform for building courses, learning paths and communities in your own academy. Its MCP server lets AI assistants read and build courses in your organization.
Agent-Native Calendar is the Calendar agent in Agent-Native, an open-source TypeScript framework for building agents with UIs. The README describes it as a way to find time, schedule events, and manage bookings. It is aimed at developers building agent apps.
Agent-Native Clips is the Clips agent from the Agent-Native framework, an open-source TypeScript project. It records and helps people understand meetings, screens, and voice notes.
Agent-Native Slides is the Slides agent in the Agent-Native open-source framework, described as a way to create and edit on-brand presentations. It is aimed at developers who build agents with a purpose-built UI.
AIHawk is an AI job application bot. It finds recent job postings that match your resume, then fills in and sends applications on the company's own forms after you pick the jobs.
Connects AI assistants to Microsoft 365 and Office services through the Microsoft Graph API. It suits users and administrators who want an assistant to work with Outlook, calendar, OneDrive, Teams and SharePoint data.
Compare with LearnHouse, Agent-Native Calendar or Agent-Native Clips
MCP Google Sheets: common questions
Does MCP Google Sheets need the Google Drive API enabled?
No. The source says only the Sheets API is required, and the server requests the spreadsheets scope alone.
Why does read_range return numbers as numbers?
The default valueRenderOption is UNFORMATTED_VALUE, which returns typed values. FORMATTED_VALUE returns display strings such as "1,234,567" instead.
What happens if I write null to a cell?
A null value leaves the existing cell untouched. Writing an empty string instead clears the cell.
How do I install MCP Google Sheets?
In Claude Code run claude mcp add mcp-google-sheets -- npx -y @heyyang/mcp-google-sheets. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Google Sheets the official server?
MCP Google Sheets is published by npm:@heyyang from its verified domain in the official MCP Registry.
Is MCP Google Sheets free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Google Sheets safe to use?
It scores 56 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Google Sheets?
Similar MCP servers: LearnHouse, Agent-Native Calendar, Agent-Native Clips, Agent-Native Slides.
Does MCP Google Sheets work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
