← Back to directory
G

Google Sheets MCP Server

Community
Read, write, and manage Google Sheets through MCP.
Category
Other #246 of 678
Stars
★ 106 Very popular
Transport
stdio (local process)
Runtime
Node.js 22+
Credentials
API key / credential required
License
MIT
Last commit
Tools
42
54FMRS · D

This third-party Google Sheets MCP Server uses stdio and offers tools for reading, writing, formatting, sheet and table management, charts, and structural inspection. It requires a Google Cloud project and service account credentials; its write and delete capabilities can change spreadsheet data.

Strongest · Documentation 15/20 Weakest · Security and permissions 8/20

Reliability
9/20
Security and permissions
8/20
Maintenance
9/20
Documentation
15/20
Setup experience
13/20
Why each score
Reliability 9/20
The README lists 44 tools, read/write and batch features, and says read-only mode is enforced when tools are called, making the intended behavior partly reviewable. The supplied material contains no CI workflow, committed tests, or execution evidence, so the initialization handshake, correspondence between listed tools and implementations, error diagnosis, and edge cases cannot be verified. The score is conservative under the static calibration.
Security and permissions 8/20
The manifest and README describe service-account credentials and document read-only mode and tool annotations; the README also lists consequential operations such as deleting rows, columns, and sheets. The material does not explain client confirmation for those operations, credential handling and data-flow boundaries, or narrower permission scopes. No stated red-line behavior is evident, but missing evidence warrants deductions.
Maintenance 9/20
The project has an MIT license, an npm version of 1.11.2, a latest installation path, and is listed as unarchived. These establish a recognizable release path and license. The supplied material does not show release history, commit recency, dependency updates, issue responses, or a security contact, so maintenance continuity is uncertain.
Documentation 15/20
The README provides configuration examples for several clients, three credential methods, tool names and parameters, toolset and read-only-mode descriptions, troubleshooting, and examples. It also describes features and context costs. Deductions reflect that these are unverified documentation claims and that demonstrated execution, data-handling boundaries, limitations, and a security-response channel are absent.
Setup experience 13/20
The README specifies Node.js 22+, Google Cloud and service-account prerequisites, and configuration examples for Claude Desktop, Claude Code, and other clients. The path is clear, but it requires cloud project and API setup, key creation, and spreadsheet sharing. No CI or committed-test evidence verifies installation or connection, so the score remains below the top range.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkChanges third-party account data

Best for

  • Users who want an MCP client to read or edit Google Sheets.
  • Workflows that automate batch spreadsheet operations, formatting, or sheet management.

Not for

  • Users who do not use Google Sheets or do not want to configure a Google Cloud service account.
  • Strictly read-only workflows unless the server's read-only mode is configured and verified.

Required permissions

  • GOOGLE_PROJECT_ID is required; authentication can use a service account key file, a service account JSON string, or a private key with client email.
  • The service account must have access to target spreadsheets. The README recommends sharing them and granting Editor access; set permissions according to the operations needed.
  • The tools include writes, clears, and deletion of sheets, rows, and columns.

Risks and side effects

  • Write, clear, and delete operations can overwrite or remove spreadsheet data. Append defaults to OVERWRITE, so check its insert option.
  • Service account credentials are sensitive; JSON-string and private-key authentication require correctly escaped newlines.
  • The README describes a read-only setting enforced when tools are called; verify whether it is enabled in the deployment configuration.

Setup

Before you start

Runtime:Node.js 22+

GOOGLE_PROJECT_ID required Google Cloud project ID; get it from the project settings in Google Cloud Console.
GOOGLE_SERVICE_ACCOUNT_KEY optionalsecret Service account credentials as a JSON string; obtain it from the service account JSON key file.
GOOGLE_PRIVATE_KEY optionalsecret Service account private key in PEM format; obtain it from the service account JSON key file.
Other optional settings (4)
GOOGLE_APPLICATION_CREDENTIALS optional Absolute path to the service account JSON key file; get it after creating a service account key.
GOOGLE_CLIENT_EMAIL optional Service account email; find it in the `client_email` field of the service account JSON key file.
GSHEETS_TOOLSETS optional Optional toolset selection; use documented names such as `core,charts`.
GSHEETS_READ_ONLY optional Read-only mode switch; set it to `true` to disable write tools.
  1. Set up a Google Cloud project with the Google Sheets API enabled and a service account JSON key.
  2. Add the supplied mcpServers JSON to your MCP client config, setting GOOGLE_PROJECT_ID and GOOGLE_APPLICATION_CREDENTIALS to the project ID and absolute key-file path.
  3. Share target spreadsheets with the service account email and grant the permissions needed. The example uses npx and mcp-gsheets@latest.
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-gsheets": {
      "command": "npx",
      "args": ["-y", "mcp-gsheets@latest"],
      "env": {
        "GOOGLE_PROJECT_ID": "your-project-id",
        "GOOGLE_APPLICATION_CREDENTIALS": "/absolute/path/to/service-account-key.json"
      }
    }
  }
}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "mcp-gsheets": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-gsheets@latest"
      ],
      "env": {
        "GOOGLE_PROJECT_ID": "your-project-id",
        "GOOGLE_APPLICATION_CREDENTIALS": "/absolute/path/to/service-account-key.json"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.mcp-gsheets]
command = "npx"
args = ["-y", "mcp-gsheets@latest"]

[mcp_servers.mcp-gsheets.env]
GOOGLE_PROJECT_ID = "your-project-id"
GOOGLE_APPLICATION_CREDENTIALS = "/absolute/path/to/service-account-key.json"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add mcp-gsheets -e GOOGLE_PROJECT_ID=your-project-id -e GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/to/service-account-key.json -- npx -y mcp-gsheets@latest

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After installation, confirm `sheets_get_metadata` appears in the MCP client's tool list, then ask it to read metadata for a spreadsheet shared with the service account.

Troubleshooting

  1. For authentication failures, check the project ID, key path or JSON validity, private-key markers and escaped newlines, service account email, and whether the Sheets API is enabled.
  2. For access errors, check that the spreadsheet is shared with the service account email and that its permissions cover the requested operation.
  3. For missing spreadsheets, verify the spreadsheet ID in the URL. For MCP connection issues, check the Node.js path and client logs.

Things to try

Once connected, you can ask your AI assistant things like:

  • Read cells A1:C10 from Sheet1 in this spreadsheet.
  • Create a sheet named “Budget” in this spreadsheet.
  • Make cells A1:B2 in Sheet1 bold and add borders.

Tools 42

sheets_get_values read-only
Read cell values from one range.
sheets_batch_get_values read-only
Read cell values from multiple ranges in one request.
sheets_get_metadata read-only
Read spreadsheet metadata including title, locale, sheets, and dimensions.
sheets_check_access read-only
Check whether the service account can access a spreadsheet.
sheets_update_values writes
Write values to one range, overwriting existing content.
sheets_batch_update_values writes
Write values to multiple ranges in one request.
sheets_append_values writes
Append rows after an existing table; the default option is OVERWRITE.
sheets_clear_values destructive
Clear values from a range while preserving formatting.
Show 34 more tools
sheets_insert_rows writes
Insert blank or prefilled rows at a specified position.
sheets_delete_columns destructive
Delete one or more columns using a full-column range.
sheets_delete_rows destructive
Delete one or more rows using a full-row range.
sheets_insert_link writes
Insert a hyperlink formula into a cell.
sheets_insert_date writes
Write a date or datetime value to a cell using the requested format.
sheets_create_spreadsheet writes
Create a new Google Sheets file.
sheets_insert_sheet writes
Add a sheet tab to an existing spreadsheet.
sheets_delete_sheet destructive
Delete a sheet tab by its sheet ID.
sheets_duplicate_sheet writes
Copy a sheet within the same spreadsheet.
sheets_copy_to writes
Copy a sheet to a different spreadsheet.
sheets_update_sheet_properties writes
Update sheet properties such as name, tab color, or gridline visibility.
sheets_batch_delete_sheets destructive
Delete multiple sheet tabs in one request.
sheets_format_cells writes
Set background color, font style, alignment, and number format for a range.
sheets_batch_format_cells writes
Apply formatting to multiple ranges in one request.
sheets_update_borders writes
Set or remove borders on a range.
sheets_merge_cells writes
Merge a range of cells.
sheets_unmerge_cells writes
Unmerge a specified range.
sheets_add_conditional_formatting writes
Add a gradient or boolean conditional formatting rule to a range.
sheets_add_table writes
Create a native table with typed columns and optional dropdown values.
sheets_update_table writes
Update a native table using an explicit field mask.
sheets_delete_table destructive
Delete a native table by table ID.
sheets_get_tables read-only
Read native tables for a spreadsheet or a specified sheet.
sheets_create_chart writes
Create a chart on a sheet.
sheets_update_chart writes
Modify an existing chart's specification or position.
sheets_delete_chart destructive
Remove a chart from a spreadsheet.
sheets_get_merged_cells read-only
Read merged cell ranges for a sheet.
sheets_get_sheet_dimensions read-only
Read column widths, row heights, frozen row and column counts, and hidden row and column information.
sheets_get_sheet_formatting read-only
Read raw cell formatting for a range without returning cell values.
sheets_get_conditional_formatting read-only
Read conditional formatting rules and banded ranges on a sheet.
sheets_get_sheet_structure read-only
Read sheet dimensions, frozen rows and columns, tab color, sizes, hidden items, and merge ranges without cell data.
sheets_get_formatting_compact read-only
Read formatting as compact range-to-format pairs, grouping adjacent cells with identical formatting.
sheets_get_full_sheet_snapshot read-only
Read sheet structure and formatting metadata in one call, optionally including cell formatting.
sheets_get_basic_filter read-only
Read a sheet's basic filter configuration, sort specifications, and column filter criteria.
sheets_get_data_validation read-only
Read data validation rules for a sheet or range, grouped by ranges.

Use cases

Read data from one or many spreadsheet ranges.
Batch update, append, or clear cell values.
Create and manage sheets, native tables, and charts.
Inspect sheet structure and change formatting, borders, and conditional rules.

Supported clients

Claude Desktop
Claude Code
Cursor
Cline

Listed from the project's documentation, not tested by this site.

Overview

Google Sheets MCP Server connects MCP clients to spreadsheets through the Google Sheets API. It supports cell reads and writes, sheet management, formatting, native tables, charts, and batch operations. It uses stdio transport and Google Cloud service account credentials.

Similar servers

Source revision 363d9221cca9 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mcp-gsheets.svg)](https://followmcp.com/en/servers/mcp-gsheets)