# gogcli-mcp [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/chrischall/gogcli-mcp  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gogcli-mcp

## Description
Google Sheets (and more) for Claude via gogcli — read, write, and manage spreadsheets

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/chrischall/gogcli-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew install node        # macOS
```

2. Install:

```sh
npm install -g gogcli-mcp          # base
```

3. Install:

```sh
npm install -g gogcli-mcp-sheets   # extended sheets
```

4. Install:

```sh
npm install -g gogcli-mcp-docs     # extended docs
```

5. Add to Claude Code:

```sh
claude mcp add gogcli -- gogcli-mcp
```

## Documentation

## What gogcli-mcp does

gogcli-mcp connects an MCP-compatible client to Google Workspace through gogcli. The main package provides 52 tools spanning Google Sheets, Docs, Gmail, Calendar, Drive, Tasks, Contacts, and authentication. Separate standalone packages target narrower or extended use cases:

- `gogcli-mcp-sheets` adds extended Sheets operations such as tabs, formatting, and named ranges.
- `gogcli-mcp-docs` adds extended Docs operations including insertion, export, text replacement, and comments.
- `gogcli-mcp-maps` supports Google Places lookups and creates trip-stop map data as KML or CSV in Drive.

Typical requests include reading a spreadsheet range, appending rows, searching Gmail, creating calendar events, listing document comments, or exporting a document as a PDF. Each package can be installed independently.

## How it works

The MCP packages wrap the `gogcli` executable. An MCP client starts the selected package as a local process, and the package translates tool calls into gogcli operations against Google's official APIs. Authentication uses Google OAuth for an account selected by the user.

The base server can accept an optional account parameter on tool calls, allowing requests to specify an authorized Google account. The configured `GOG_ACCOUNT` value is used in the Claude Desktop example.

File operations are restricted to directories listed in `GOG_FILE_ROOTS`. This applies to attachments, uploads, downloads, exports, and paths passed through supported command wrappers. If the variable is unset, the default directory is `~/gogcli-mcp-files`. Inline content and blob keys follow different handling rules. Hosted deployments can use upload slots and returned `blobKeys` instead of local paths, with files limited to 25 MiB per upload.

## Setup and configuration

Install gogcli for the operating system, then authenticate an account with a command such as `gog auth add your@gmail.com`. Authentication can be limited to selected services, including Sheets, Docs, and Drive. Users must create and configure their own OAuth client in Google Cloud; credentials and refresh tokens should not be committed to source control.

Install Node.js 22 or later, then install the package globally:

```bash
npm install -g gogcli-mcp
```

Add the executable to an MCP client configuration. Claude Desktop uses a command entry with `gogcli-mcp` and an environment value such as `GOG_ACCOUNT`. Claude Code can register it with:

```bash
claude mcp add gogcli -- gogcli-mcp
```

Replace the package name with `gogcli-mcp-sheets` or `gogcli-mcp-docs` when the extended package is more suitable.

## Tools and capabilities

The base package provides access to:

- Google Sheets reading and writing
- Google Docs operations
- Gmail search and message workflows
- Calendar event management
- Drive file operations
- Google Tasks and Contacts
- Authentication management

The extended Sheets package includes 35 tools, while the extended Docs package includes 26. The Maps package provides 12 tools for Places lookups and preparing map data for Google My Maps through files stored in Drive. File-aware Gmail, Drive, Docs, Slides, and related operations can use local paths subject to the configured file roots, inline bytes, or hosted upload slots.

## Limitations and notes

The server is intended for personal, single-user automation against the account holder's own Workspace data. It is not intended for bulk extraction from an organization, multi-tenant SaaS use, or access to accounts the user does not control. Shared content still requires the authenticated account to have permission.

Google API quotas, OAuth restrictions, token revocation, and Workspace administrator policies apply. Corporate users should check whether their administrator permits the OAuth application. The project is not affiliated with Google, and the user is responsible for reviewing tool permissions and the effects of each operation, especially actions that send messages, grant access, run code, incur charges, or permanently delete data.

_Full upstream README: https://allmcps.com/mcp/gogcli-mcp/readme_

