MCP google sheets
MCP server by xing5 Verified · gh:xing5
Connects MCP clients such as Claude Desktop to the Google Sheets and Google Drive APIs. It lets an AI assistant list, read, create and edit spreadsheets. It is aimed at users who want AI-driven spreadsheet work.
Install MCP google sheets
Built from the published package, never by AI.
claude mcp add mcp-google-sheets -- uvx mcp-google-sheetsRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-google-sheets": {
"args": [
"mcp-google-sheets"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-google-sheets": {
"args": [
"mcp-google-sheets"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-google-sheets": {
"args": [
"mcp-google-sheets"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-google-sheets -- uvx mcp-google-sheets{
"mcpServers": {
"mcp-google-sheets": {
"args": [
"mcp-google-sheets"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-google-sheets uvx 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 Python-based MCP server that acts as a bridge between MCP-compatible clients, such as Claude Desktop, and the Google Sheets API. It exposes a defined set of tools that let an assistant list spreadsheets, read and write ranges, create sheets, and fetch data from several ranges at once. The project describes itself as integrating with Google Drive and Google Sheets to enable creating and modifying spreadsheets.
The server runs with the command uvx mcp-google-sheets@latest. It authenticates with a Google Cloud service account, which the source recommends, or with OAuth 2.0. Users set SERVICE_ACCOUNT_PATH and can optionally set DRIVE_FOLDER_ID. Tool filtering with --include-tools or the ENABLED_TOOLS variable limits which of the 19 tools are exposed. It suits people who want AI-driven reading, writing and data manipulation in Google Sheets.
Written from the project's README and checked against it.
Tools it gives your assistant
list_spreadsheetsLists spreadsheets in the configured Drive folder or accessible by the user.create_spreadsheetCreates a new spreadsheet with a given title and an optional Drive folder.get_sheet_dataReads values from a range in a sheet or tab using A1 notation.get_sheet_formulasReads the formulas from a range in a sheet or tab.update_cellsWrites a 2D array of values to a range, overwriting existing data.batch_update_cellsUpdates multiple ranges in a sheet with one API call.add_rowsInserts empty rows into a sheet at a specified index.list_sheetsLists all sheet and tab names within a spreadsheet.create_sheetAdds a new sheet or tab to an existing spreadsheet.get_multiple_sheet_dataFetches data from multiple ranges across spreadsheets in one call.
What you need
- Google Cloud Platform credentials with the necessary APIs enabled
- A Google service account key file, or OAuth 2.0 setup
- uv, to run the server with uvx
- A Python runtime, since the server is Python-based
Try asking
- List the spreadsheets in my configured Google Drive folder
- Read range A1:C10 from Sheet1 in my budget spreadsheet
- Update cells A1:B2 on Sheet2 with these new figures
Good to know
- update_cells overwrites existing data in the target range.
- All 19 tools are enabled by default, using about 13,000 tokens of context.
- Without a configured folder, list_spreadsheets with a service account searches only the configured Drive folder.
Security check
B- Downloads a script from the internet and runs it (a well-known installer)In
README.md:curl -LsSf https://astral.sh/uv/install.sh | sh
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP google sheets
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
MCP google sheets: common questions
Does this need a Google Cloud account?
Yes. The source says you must configure Google Cloud Platform credentials and enable the necessary APIs first, and it strongly recommends a Service Account.
Which AI clients can use this server?
Any MCP-compatible client. The source gives Claude Desktop as an example.
How do I limit which tools the assistant sees?
Pass --include-tools or set the ENABLED_TOOLS environment variable with comma-separated tool names. If neither is set, all tools are enabled.
How do I install MCP google sheets?
In Claude Code run claude mcp add mcp-google-sheets -- uvx 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 gh:xing5 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 70 of 100. Grades: maintenance D, licence A, quality A. Security check: grade B (downloads a script from the internet and runs it (a well-known installer)). Review the code before you install. How grades work.
What are alternatives to MCP google sheets?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
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.
