Google Sheets MCP
io.github.A1-x-Tech/mcp-google-sheets
v1.2.0Updated Nov 21, 2026stdio · npm
MCP server for the Google Sheets API: read and write ranges, sheets, formatting, charts, sharing.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add mcp-google-sheets -e GOOGLE_SHEETS_API_BASE=https://sheets.googleapis.com -e GOOGLE_SHEETS_TIMEOUT_MS=60000 -e GOOGLE_SHEETS_MAX_RETRIES=3 -- npx -y @a1-x-tech/[email protected]Configuration
8 settings.
GOOGLE_SHEETS_CLIENT_SECRETEnv var· optional· secretGoogle OAuth2 client secret (refresh-token flow). Treat it as a secret.GOOGLE_SHEETS_REFRESH_TOKENEnv var· optional· secretGoogle OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.GOOGLE_SHEETS_ACCESS_TOKENEnv var· optional· secretStatic OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.GOOGLE_SHEETS_CLIENT_IDEnv var· optionalGoogle OAuth2 client id (refresh-token flow).GOOGLE_SHEETS_OAUTH_PORTEnv var· optionalFixed 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_BASEEnv var· optionalSheets API root override.Default:https://sheets.googleapis.com
Show 2 moreShow fewer
GOOGLE_SHEETS_TIMEOUT_MSEnv var· optionalPer-request timeout in milliseconds.Default:60000GOOGLE_SHEETS_MAX_RETRIESEnv var· optionalRetries on transient errors (429 always; 5xx/network for reads).Default:3
Links
Listed in the official MCP Registry since Nov 21, 2026. Mirrored daily; last checked Nov 26, 2026.