CodexGuild
io.github.A1-x-Tech/mcp-google-sheets·Productivity

Google Sheets MCP

MCP server for the Google Sheets API: read and write ranges, sheets, formatting, charts, sharing.

Stars
—
Version
1.2.0
License
—
Review
Passed
Registry update
Nov 21, 2026

Connect

npm
Terminal
$claude mcp add google-sheets \  -e GOOGLE_SHEETS_CLIENT_ID=<google-sheets-client-id> \  -e GOOGLE_SHEETS_CLIENT_SECRET=<google-sheets-client-secret> \  -e GOOGLE_SHEETS_REFRESH_TOKEN=<google-sheets-refresh-token> \  -e GOOGLE_SHEETS_ACCESS_TOKEN=<google-sheets-access-token> \  -e GOOGLE_SHEETS_OAUTH_PORT=<google-sheets-oauth-port> \  -e GOOGLE_SHEETS_API_BASE=<google-sheets-api-base> \  -e GOOGLE_SHEETS_TIMEOUT_MS=<google-sheets-timeout-ms> \  -e GOOGLE_SHEETS_MAX_RETRIES=<google-sheets-max-retries> \  -- npx -y @a1-x-tech/[email protected]

Environment variables

  • GOOGLE_SHEETS_CLIENT_ID

    Google OAuth2 client id (refresh-token flow).

  • GOOGLE_SHEETS_CLIENT_SECRETsecret

    Google OAuth2 client secret (refresh-token flow). Treat it as a secret.

  • GOOGLE_SHEETS_REFRESH_TOKENsecret

    Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.

  • GOOGLE_SHEETS_ACCESS_TOKENsecret

    Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.

  • GOOGLE_SHEETS_OAUTH_PORT

    Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.

  • GOOGLE_SHEETS_API_BASE

    Sheets API root override.

  • GOOGLE_SHEETS_TIMEOUT_MS

    Per-request timeout in milliseconds.

  • GOOGLE_SHEETS_MAX_RETRIES

    Retries on transient errors (429 always; 5xx/network for reads).

Security review

Review passed

Reviewed 3d ago.

readme
scanned
metadata
scanned
packages
1 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

More in Productivity

Listing from the official MCP Registry.