gogcli-mcp-sheets
MCP server by chrischall Community
Gives Claude access to Google Sheets through the gogcli CLI, with sign-in handled by gog's OAuth flow. Built for one person who wants to read and edit their own spreadsheets from an AI assistant.
Install gogcli-mcp-sheets
Built from the published package, never by AI.
claude mcp add gogcli-mcp-sheets -- npx -y gogcli-mcp-sheetsRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"gogcli-mcp-sheets": {
"args": [
"-y",
"gogcli-mcp-sheets"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"gogcli-mcp-sheets": {
"args": [
"-y",
"gogcli-mcp-sheets"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"gogcli-mcp-sheets": {
"args": [
"-y",
"gogcli-mcp-sheets"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add gogcli-mcp-sheets -- npx -y gogcli-mcp-sheets{
"mcpServers": {
"gogcli-mcp-sheets": {
"args": [
"-y",
"gogcli-mcp-sheets"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add gogcli-mcp-sheets npx -y gogcli-mcp-sheetsGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 gogcli-mcp-sheets block.
About
gogcli-mcp-sheets is an MCP server from the gogcli-mcp monorepo. It wraps the gogcli command-line tool and exposes Google Sheets as tools for an AI assistant. The package lists 35 tools in total: the auth tools plus the full Sheets base set and 22 extra tools for things like tabs, formatting and named ranges.
The server runs locally and uses the gog CLI to reach your own Google account through Google's official APIs. You register your own OAuth client, and the source says client secrets must not be committed to git. Tools that send messages, share access, delete data or run code ask you to confirm first, though clients without prompt support use a two-step flow. Local file access is limited to the folders listed in GOG_FILE_ROOTS. The project is intended for personal, single-user use with your own Google account.
Written from the project's README and checked against it.
Tools it gives your assistant
gog_sheets_datasource_addAdds a BigQuery data source to a spreadsheet. Asks for confirmation because it starts a billed job.gog_sheets_datasource_updateUpdates an existing Sheets data source. Asks for confirmation before running.gog_sheets_datasource_refreshRefreshes a Sheets data source. Asks for confirmation because it starts a billed job.gog_upload_slotsReturns signed upload URLs so files can be sent to a hosted deployment, up to 25 MiB each.gog_api_callMakes a direct Google API call. Writes ask for confirmation unless run as a dry run.gog_appscript_run_functionRuns an Apps Script function with the account's authority. Always asks for confirmation.gog_drive_shareGrants access to a Drive file. Always asks for confirmation before sharing.gog_drive_deleteDeletes a Drive file. Only a permanent delete asks for confirmation; moving to trash does not.
What you need
- gogcli installed and signed in with a Google account
- Your own Google OAuth client from Google Cloud Console
- Node.js 22 or later
- Claude Desktop, Claude Code or another MCP client
| Setting | Needed | What it is |
|---|---|---|
GOG_Environment variable | Optional | Email address of the Google account to use (matches gogcli auth) |
GOG_Environment variable | Optional | Override path to the gogcli binary (auto-discovered otherwise) |
DISPLAY_Environment variable | Optional | zone for *Display fields and for interpreting naive gog values; defaults to America/New_York |
GOG_Environment variable | Optional | block all mutating gog API requests (injects gog's --readonly); set to 0/false/no/off (or unset) to allow writes |
GOG_Environment variable | Optional | zone gog formats naive dates in; unset, runner.ts hands gog DISPLAY_TZ so the two cannot diverge |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Read the data in Sheet1!A1:D20 of my budget spreadsheet
- Append this week's expenses to my tracking sheet
- Read Sheet1!A1:D10 from spreadsheet abc123 using my work account
Good to know
- Intended for personal, single-user use with your own Google account
- You must configure your own OAuth client; none is bundled
- Local file paths are limited to the folders in GOG_FILE_ROOTS
- Google API quotas apply and may limit requests
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to gogcli-mcp-sheets
All alternatives →LearnHouse is an open source learning platform for building courses, learning paths and communities in your own academy. Its MCP server lets AI assistants read and build courses in your organization.
Agent-Native Calendar is the Calendar agent in Agent-Native, an open-source TypeScript framework for building agents with UIs. The README describes it as a way to find time, schedule events, and manage bookings. It is aimed at developers building agent apps.
Agent-Native Clips is the Clips agent from the Agent-Native framework, an open-source TypeScript project. It records and helps people understand meetings, screens, and voice notes.
Agent-Native Slides is the Slides agent in the Agent-Native open-source framework, described as a way to create and edit on-brand presentations. It is aimed at developers who build agents with a purpose-built UI.
AIHawk is an AI job application bot. It finds recent job postings that match your resume, then fills in and sends applications on the company's own forms after you pick the jobs.
Connects AI assistants to Microsoft 365 and Office services through the Microsoft Graph API. It suits users and administrators who want an assistant to work with Outlook, calendar, OneDrive, Teams and SharePoint data.
Compare with LearnHouse, Agent-Native Calendar or Agent-Native Clips
gogcli-mcp-sheets: common questions
Does this server need my own Google Cloud OAuth client?
Yes. The source says the server does not ship a client_secret.json, so you register your own OAuth client in Google Cloud Console.
Can it make changes to my spreadsheets?
The source describes Sheets read and write tools, including appending rows. Some actions, such as sharing or deleting, ask you to confirm first.
Is this an official Google product?
No. The source says the project is not affiliated with, endorsed by or sponsored by Google LLC.
How do I install gogcli-mcp-sheets?
In Claude Code run claude mcp add gogcli-mcp-sheets -- npx -y gogcli-mcp-sheets. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is gogcli-mcp-sheets the official server?
gogcli-mcp-sheets is a community project by chrischall, not verified by a company domain.
Is gogcli-mcp-sheets free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is gogcli-mcp-sheets safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gogcli-mcp-sheets?
Similar MCP servers: LearnHouse, Agent-Native Calendar, Agent-Native Clips, Agent-Native Slides.
Does gogcli-mcp-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.
