# gogcli (gog): one MIT command line for Gmail, Calendar, Sheets, GA4 and Search Console

> Updated 2026-10-29 · type: tool · category: integration-orchestration · status: active · rev 1

gogcli gives an AI agent scoped command-line access to your own Gmail, Sheets, Calendar and GA4, with read-only and no-send switches enforced at the CLI.

- Open source: yes (MIT)
- Self-hostable: yes
- Pricing: Free (MIT), no paid tier or hosted service. You supply a Google Cloud project and OAuth client; usage counts against your own Google API quotas.
- Best for: Operators and GTM engineers who want an agent to triage an inbox, read calendars and pull Sheets, GA4 or Search Console data from Google accounts they already own, under explicit permission limits.
- Not for: Non-technical users who cannot create a Google Cloud OAuth client, and teams that need Admin, Groups or Keep without a managed Workspace domain.
- Last verified: 2026-10-29

- **Canonical:** https://gtmstacker.com/registry/tool/gogcli/
- **Source:** [Holy f*ck, OpenAI hired the guy who built these 7 repos, and all of them are free](https://x.com/kaijucode/status/2115437027491717256) — @kaijucode
- **Tags:** integration-orchestration, mcp-agents, email-outbound, google-workspace, gmail, google-sheets, ga4, search-console, cli, agent-safety, self-hosted, open-source
- **Repository:** https://github.com/openclaw/gogcli

## Is gogcli (gog): one MIT command line for Gmail, Calendar, Sheets, GA4 and Search Console open source?

Yes, gogcli (gog): one MIT command line for Gmail, Calendar, Sheets, GA4 and Search Console is open source under the MIT license.

## How much does gogcli (gog): one MIT command line for Gmail, Calendar, Sheets, GA4 and Search Console cost?

Free (MIT), no paid tier or hosted service. You supply a Google Cloud project and OAuth client; usage counts against your own Google API quotas. (free).

## Can I self-host gogcli (gog): one MIT command line for Gmail, Calendar, Sheets, GA4 and Search Console?

Yes, gogcli (gog): one MIT command line for Gmail, Calendar, Sheets, GA4 and Search Console can be self-hosted (the source is available under the MIT license).

## Alternatives & related

- [Google Workspace CLI](https://gtmstacker.com/registry/tool/google-workspace-cli/)
- [gmailctl](https://gtmstacker.com/registry/tool/gmailctl/)
- [Google Analytics MCP Server](https://gtmstacker.com/registry/tool/google-analytics-mcp/)


---

**gogcli** (command `gog`, repo `openclaw/gogcli`) is an **MIT-licensed** command-line tool written in Go by **Peter Steinberger**, the OpenClaw creator who joined OpenAI in February 2026. One binary covers Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Contacts, Tasks, Meet, Chat, Google Analytics (GA4) and Search Console, with a Discovery API fallback for anything else. Admin, Groups and Keep need a managed Workspace domain. It runs on your own Google Cloud OAuth client and stores tokens in the system keyring, or in an encrypted file when headless.

It is built for agents. The README lists `--readonly`, `--gmail-no-send`, exact command allowlists (`--enable-commands-exact`), `--wrap-untrusted` content wrapping, dry-run plans and stable `--json` output. `gog mcp` runs a typed stdio MCP server that is read-only by default and has no generic shell bridge.

## Provenance

- SPDX **MIT**, confirmed by the GitHub license API and the LICENSE file ("Copyright (c) 2026 Peter Steinberger").
- Identity: canonical repo `github.com/openclaw/gogcli`, homepage gogcli.sh. It moved from `steipete/gogcli`; the README tells install scripts to switch module paths. The X post's link resolves to the canonical repo, not a lookalike.
- Activity as of 2026-10-29 (GitHub API): **8,542 stars, 721 forks**, last push 2026-10-27, not archived. Latest release v0.47.1 (2026-10-27), 61 commits since 2026-09-29, 17 open issues.
- Self-hosting: yes. It is a local CLI installed with `brew install openclaw/tap/gogcli`, `go install` or prebuilt binaries. There is no hosted service.
- Pricing: free. Costs are your own Google Cloud project and API quotas.
- Background (not a product claim): Bloomberg, Engadget and TechCrunch reported that Steinberger joined OpenAI on 2026-02-15.
- Surfaced via @kaijucode's X post listing seven MIT repos by Steinberger (the post returned HTTP 402 and was used for discovery only). Curated and verified in run `2026-10-29-registry-update-01` (step-3 verification, 2026-10-29).

## Why it matters for a GTM stack

Most lean GTM teams run on Google: the inbox, the calendar, the pipeline sheet, GA4 and Search Console. Letting an agent work across those usually means a hosted connector holding broad OAuth scopes. gogcli keeps the access local and on your own OAuth client, and sets limits at the command line: an agent can read and draft but not send, or only run an allowlisted set of commands. The tradeoff is setup. Someone has to create the Google Cloud client and decide which scopes the agent gets.
