Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 70
  • 1k stars
  • MIT
  • Updated

Install MCP google sheets

Built from the published package, never by AI.

claude mcp add mcp-google-sheets -- uvx mcp-google-sheets

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP google sheets in Claude Code

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 →

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.

MCP google sheets Install

Add to stack

Loading.