# gog

> Google Workspace in your terminal

Source: https://talira.ai/catalog/gog-9enswzqh
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, MCP server
- Categories: [developer tools / cli](https://talira.ai/categories/developer-tools/cli), [ai / agents / tool integration](https://talira.ai/categories/ai/agents/tool-integration)
- Platforms: macos, linux, windows, docker[^4][^6]
- Licence: MIT[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^4]
- MCP server: yes[^5]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^5]
- Backed by: [OpenClaw Foundation](https://talira.ai/orgs/openclaw-foundation.md)
- Creator: Peter Steinberger (steipete)
- Funding: non-profit[^7]

gog is a single Go command-line client for Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Contacts, Tasks, Chat, Meet, YouTube, Search Console, Analytics and Workspace administration, built for people, scripts, CI and coding agents. It routes between several Google accounts and OAuth clients, stores tokens in the system keyring, emits stable JSON or TSV, and has safety controls for automation: read-only mode, exact command allowlists, a Gmail no-send policy, dry runs and wrapping of untrusted content. `gog mcp` runs a typed, read-only-by-default MCP server, and the binary generates its own command schema and agent skills. MIT licensed, by Peter Steinberger, in the [OpenClaw](https://talira.ai/catalog/openclaw-ght0hsav.md) [GitHub](https://talira.ai/catalog/github-ppcgj756.md) organization; not affiliated with Google.

## Links

- Website: https://gogcli.sh
- GitHub: https://github.com/openclaw/gogcli

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/gogcli>[^1]

## Problems it solves

- search and read my Gmail from the terminal or a script
- let my AI coding agent read my email and calendar without giving it full account access
- list today's calendar events as JSON for a script
- audit who a Drive folder is shared with from the command line
- read and write Google Sheets ranges from a shell script or CI job
- send email from a script using only a send-only Gmail permission
- switch between my personal and work Google accounts in one command-line tool
- find and merge duplicate Google contacts with a preview before anything changes
- manage Google Workspace users and groups from the command line
- give an agent a fixed set of Google Workspace tools over MCP instead of a shell

## Features

- Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Contacts, Tasks, Chat, Meet, Keep and Classroom
- Analytics, Search Console, AdSense and YouTube commands
- Workspace admin and groups
- Discovery API fallback (`gog api call`)
- multiple accounts, OAuth clients, service accounts and ADC
- tokens in the platform keyring or an encrypted file
- `--json` and `--plain` TSV output
- read-only mode, command allowlists, Gmail no-send, dry runs, untrusted-content wrapping
- typed stdio MCP server (`gog mcp`)
- generated command schema and agent skills
- Docker image on GHCR

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known

## Trust

Overall: 0.83 out of 1.
Signals: maintenance 1.00, adoption 0.79, momentum 0.87, community 0.88, backing 0.75, extensibility 0.40.

- last commit 7 days ago
- 208 commits in the last 90 days
- latest release v0.48.1 8 days ago
- 8.6k GitHub stars
- fast-growing: 8.6k stars in 11 months
- 157 contributors
- accepts sponsorship (Github)
- backed by OpenClaw Foundation
- created by Peter Steinberger (steipete)
- funding: non-profit
- has an MCP server for agents

## Alternatives

- [mcp-gsc](https://talira.ai/catalog/mcp-gsc-g9r71hcd.md): Google Search Console MCP server for SEOs

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://gogcli.sh/ (checked 19 Nov 2026)
[^3]: https://github.com/openclaw/gogcli/blob/main/LICENSE (checked 19 Nov 2026)
[^4]: https://github.com/openclaw/gogcli/blob/main/docs/install.md (checked 19 Nov 2026)
[^5]: https://github.com/openclaw/gogcli/blob/main/docs/mcp.md (checked 19 Nov 2026)
[^6]: https://github.com/openclaw/gogcli/releases/latest (checked 19 Nov 2026)
[^7]: https://openclaw.ai (checked 20 Nov 2026)
