# xing5/mcp-google-sheets [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/xing5/mcp-google-sheets  
**GitHub Stars:** 1020  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/xing5-mcp-google-sheets

## Description
A Model Context Protocol server for interacting with Google Sheets. This server provides tools to create, read, update, and manage spreadsheets through the Google Sheets API.

## Tools
Capabilities this server exposes over MCP:

- **get_sheet_data** — Read from spreadsheets
- **update_cells** — Write to spreadsheets
- **list_spreadsheets** — Find spreadsheets
- **list_sheets** — Navigate tabs

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "mcp-google-sheets": {
    "command": "uvx",
    "args": ["mcp-google-sheets@latest"],
    "env": {
      "SERVICE_ACCOUNT_PATH": "",
      "DRIVE_FOLDER_ID": "",
      "CREDENTIALS_CONFIG": "",
      "ENABLED_TOOLS": ""
    }
  }
}
```

**Requires environment variables:** `SERVICE_ACCOUNT_PATH`, `DRIVE_FOLDER_ID`, `CREDENTIALS_CONFIG`, `ENABLED_TOOLS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What xing5/mcp-google-sheets MCP server does

The xing5/mcp-google-sheets MCP server provides an MCP interface to Google Sheets and related Google Drive operations. It is implemented in Python and is intended to run behind an MCP-compatible client such as Claude Desktop. Agents can discover spreadsheets, inspect tabs and ranges, create spreadsheet files, and change spreadsheet contents through named tools rather than direct conversational instructions.

The commonly used tools are `list_spreadsheets`, `list_sheets`, `get_sheet_data`, and `update_cells`. The complete tool set also includes spreadsheet and sheet creation, row and column additions, copying and renaming sheets, formula retrieval, searches, batch updates, folder listing, spreadsheet summaries, and sharing operations.

## How it works

The server communicates with the Google Sheets API and Google Drive API using the configured credentials. Spreadsheet and folder identifiers generally come from Google URLs or from discovery results. Reading can target a named tab and an optional A1-notation range, such as `A1:C10`. By default, reads return values; enabling grid data also returns formatting and metadata and produces a larger response.

A typical workflow is to list available spreadsheets, identify a spreadsheet ID, list its tabs, read a selected range, and then submit updates to cells. Spreadsheet creation accepts a title and can optionally place the new file in a specified Drive folder. Tool filtering is available when the client only needs a subset of the exposed operations.

## Setup and configuration

The xing5/mcp-google-sheets MCP server can be launched with `uvx mcp-google-sheets@latest`. The README recommends configuring Google Cloud credentials and enabling the necessary APIs before starting it. A service account is the recommended authentication approach; the relevant setup uses `SERVICE_ACCOUNT_PATH` for the JSON key and `DRIVE_FOLDER_ID` for a default Drive folder.

The project also documents OAuth 2.0 and direct credential injection through `CREDENTIALS_CONFIG`. After starting the process, configure the MCP client to launch or connect to it. Claude Desktop is shown as an example client. Tool exposure can be restricted with the `--include-tools` argument or the `ENABLED_TOOLS` environment variable, using comma-separated tool names without spaces.

## Tools and capabilities

Available operations include:

- Finding spreadsheets with `list_spreadsheets` or `search_spreadsheets`.
- Creating spreadsheets and sheets with `create_spreadsheet` and `create_sheet`.
- Reading one or more ranges with `get_sheet_data` and `get_multiple_sheet_data`.
- Writing values with `update_cells` and applying grouped changes with batch tools.
- Inspecting formulas, summaries, folders, and sheet tabs.
- Adding rows or columns, copying or renaming sheets, and sharing spreadsheets.

## Limitations and notes

Authentication, API enablement, and access permissions must be set up in Google Cloud before useful requests can succeed. Service-account access depends on the relevant spreadsheets or folders being available to that account. The default configuration exposes 19 tools, which the README estimates at about 13,000 tokens of context; filtering is available to reduce that initial tool description overhead.

The xing5/mcp-google-sheets MCP server works with spreadsheet and Drive identifiers, so agents or users may need to obtain those IDs from URLs or discovery results before operating on a target file. Requests that include full grid data can be substantially larger than values-only reads because formatting and metadata are included.

_Full upstream README: https://allmcps.com/mcp/xing5-mcp-google-sheets/readme_

