Google Sheets
MCP server by domdomegg Community
Lets AI assistants read, write and query Google Sheets spreadsheet data through an MCP server. It suits people who want answers from spreadsheets or want an assistant to add and update rows.
Install Google Sheets
Built from the published package, never by AI.
claude mcp add google-sheets -e GOOGLE_ACCESS_TOKEN=YOUR_GOOGLE_ACCESS_TOKEN -- npx -y google-sheets-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"google-sheets": {
"env": {
"GOOGLE_ACCESS_TOKEN": "YOUR_GOOGLE_ACCESS_TOKEN"
},
"args": [
"-y",
"google-sheets-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"google-sheets": {
"env": {
"GOOGLE_ACCESS_TOKEN": "YOUR_GOOGLE_ACCESS_TOKEN"
},
"args": [
"-y",
"google-sheets-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-sheets": {
"env": {
"GOOGLE_ACCESS_TOKEN": "YOUR_GOOGLE_ACCESS_TOKEN"
},
"args": [
"-y",
"google-sheets-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-sheets --env GOOGLE_ACCESS_TOKEN=YOUR_GOOGLE_ACCESS_TOKEN -- npx -y google-sheets-mcp{
"mcpServers": {
"google-sheets": {
"env": {
"GOOGLE_ACCESS_TOKEN": "YOUR_GOOGLE_ACCESS_TOKEN"
},
"args": [
"-y",
"google-sheets-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add google-sheets npx -y google-sheets-mcpGemini 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 google-sheets block.
About
google-sheets-mcp is an MCP server for Google Sheets that lets an AI assistant read, write and query spreadsheet data. It provides tools for spreadsheet metadata, reading and writing cell values, appending rows, managing sheets (tabs) and running batch operations such as formatting, merging and filters. The server runs over HTTP on port 3000 by default and is added to an MCP client after you create Google OAuth credentials.
The server acts as an OAuth proxy to Google. It advertises itself as an OAuth authorization server, redirects logins to Google, and forwards token requests with the client credentials added. It stores no tokens or state. It is aimed at people who want an assistant to answer questions from spreadsheets, log entries such as expenses, or update tracking sheets. For finding files, deleting, comments and sharing, the source recommends pairing it with google-drive-mcp.
Written from the project's README and checked against it.
Tools it gives your assistant
sheets_spreadsheet_getGets spreadsheet metadata, including the title and sheets list, and optionally cell data.sheets_spreadsheet_createCreates a new spreadsheet.sheets_values_getReads cell values from a range.sheets_values_batch_getReads cell values from multiple ranges.sheets_values_updateWrites cell values to a range, overwriting existing values.sheets_values_batch_updateWrites cell values to multiple ranges.sheets_values_appendAppends rows after existing data.sheets_values_clearClears cell values from a range.sheets_sheets_listLists all sheets in a spreadsheet.sheets_batch_updateRuns batch operations such as formatting, merging and filters.
What you need
- Google Cloud project with the Google Sheets API enabled
- Google OAuth client ID and client secret
- Node.js
| Setting | Needed | What it is |
|---|---|---|
GOOGLE_Environment variable, secret | Required | Google OAuth access token with Sheets scopes. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- How many open deals are in the pipeline in my spreadsheet?
- Append this expense receipt as a new row in my expense tracker.
- Create a new spreadsheet and write the Q3 revenue figures into it.
Good to know
- Requests the full read and write spreadsheets scope.
- File search, deletion, comments and sharing are handled by the separate google-drive-mcp server.
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 Google Sheets
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Google Sheets: common questions
What credentials does google-sheets-mcp need?
You need Google OAuth credentials with a client ID and client secret, created in a Google Cloud project where the Google Sheets API is enabled. The source says to add http://localhost:3000/callback as an authorized redirect URI.
Does the server store my Google tokens?
No. The source says the server holds no tokens or state and only proxies OAuth requests to Google.
Can it delete files or manage sharing in Google Drive?
Not on its own. The source recommends using google-drive-mcp alongside it for finding files, deleting, comments and sharing permissions.
How do I install Google Sheets?
In Claude Code run claude mcp add google-sheets -e GOOGLE_ACCESS_TOKEN=YOUR_GOOGLE_ACCESS_TOKEN -- npx -y google-sheets-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Google Sheets the official server?
Google Sheets is a community project by domdomegg, not verified by a company domain.
Is Google Sheets free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is Google Sheets safe to use?
It scores 73 of 100. Grades: maintenance A, licence F, 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 Google Sheets?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does 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.
