Skip to main content
Glama
README.md
# mcp-google-multi

The most complete **local Google Workspace MCP server**: Gmail, Drive, Calendar, Sheets, Docs, Slides, Forms, Contacts, Tasks, Chat, Meet, Analytics (GA4), Search Console, Classroom, Vault, Admin and more โ€” **every OAuth-reachable API method** as a tool, across **multiple Google accounts** at once, from Claude Code or any MCP client.

[![npm](https://img.shields.io/npm/v/mcp-google-multi?label=npm&color=cb3837)](https://www.npmjs.com/package/mcp-google-multi)

- ๐Ÿงฐ **Exhaustive** โ€” 940 tools across 29 services, now including Google Analytics (GA4), + an escape hatch for anything else โ†’ [COVERAGE.md](./COVERAGE.md)
- ๐Ÿ”‘ **Multi-account** โ€” drive any number of Google accounts by alias, or fan one call out across all of them
- ๐Ÿ”’ **Private by design** โ€” your own OAuth app, tokens encrypted at rest (AES-256-GCM), writes deny-by-default, no telemetry, no metering โ€” it talks only to Google
- ๐ŸŒ **Local or remote** โ€” runs locally over stdio, or self-hosted over HTTP with its own built-in OAuth 2.1 server (Claude Code's `/mcp` login and the claude.ai connector, zero custom UI). Pull-and-up Docker Compose with optional automatic HTTPS โ†’ [remote setup](./docs/http-setup.md)
- โœ‰๏ธ **Built for real work** โ€” send and read email in Markdown with attachments and one-call replies, an interactive setup wizard with a `doctor` self-check, and per-account scope profiles โ†’ [features tour](./docs/features.md)

## Quick setup

New to all this? It's written for someone who just installed Claude Code and has never made an API key. Copy-paste each step; it says what you'll see. (Already technical? The [Configuration reference](./docs/configuration.md) is the terse version.)

1. **Install it.** Get [Node.js](https://nodejs.org) (the green "LTS" button, version 22 or newer), then run:

   ```bash
   npm install -g mcp-google-multi
   ```

   Claude Desktop user? You can skip npm entirely: download the `mcp-google-multi.mcpb` bundle from the [latest release](https://github.com/bakissation/mcp-google-multi/releases/latest), double-click it (or drag it into Claude Desktop โ†’ Settings โ†’ Extensions), and fill in the values from step 2 when prompted.

2. **Make your Google key** (the one manual part, a few minutes, because Google has no way to script it). Follow the step-by-step [Google Cloud setup](./docs/google-cloud-setup.md), or just ask Claude Code: *"walk me through creating a Google OAuth Desktop client for mcp-google-multi."* You finish with two values, a **Client ID** and a **Client Secret**. It's free and private to you.

3. **Put them in a file.** In the folder you'll run from, make a file named `.env` and paste this, filling in your values:

   ```bash
   GOOGLE_CLIENT_ID=paste-your-client-id
   GOOGLE_CLIENT_SECRET=paste-your-client-secret
   # any short nickname, then your Gmail address:
   GOOGLE_ACCOUNTS=me:you@gmail.com
   ```

   No encryption key to make: the server generates and stores one for you.

4. **Sign in.** A browser opens; pick your account and click Allow:

   ```bash
   mcp-google-multi auth --account me
   ```

5. **Add it to Claude Code, then restart Claude Code:**

   ```bash
   claude mcp add google-multi -s user -- npx -y mcp-google-multi
   ```

**Stuck at any point? Run `mcp-google-multi doctor`.** It inspects every part and prints the exact fix for anything wrong (a missing sign-in, a Google API you still need to switch on, and so on). Once it reads all-green, just talk to Claude: *"summarize my unread email."*

*Got more than one Google account?* Add them together, like `GOOGLE_ACCOUNTS=me:you@gmail.com,work:you@company.com`, and run step 4 once per nickname.

*On a server or from claude.ai?* Advanced path: [Remote / HTTP setup](./docs/http-setup.md). *Coming from v5?* [v6 migration guide](./MIGRATION-v6.md).

**Go deeper:** [Configuration reference](./docs/configuration.md) ยท [What's covered](./COVERAGE.md) ยท [Features tour](./docs/features.md) ยท [Remote / HTTP setup](./docs/http-setup.md) ยท [Secrets in a vault](./docs/secrets.md) ยท [Local usage metrics](./docs/usage-metrics.md) ยท [Migrating to v6](./MIGRATION-v6.md) ยท [Security policy](./SECURITY.md) ยท [Roadmap](https://github.com/bakissation/mcp-google-multi/milestones)

## Maintainer & credits

Built and maintained by **Abdelbaki Berkati** โ€” [berkati.xyz](https://berkati.xyz) ยท [@bakissation](https://github.com/bakissation). [Read the case study โ†’](https://berkati.xyz/case-studies/mcp-google-multi/)

Development is **funded by [IdeaCrafters](https://ideacrafters.com)** ([@IdeaCraftersHQ](https://github.com/IdeaCraftersHQ)) โ€” the studio that pays for this OSS to exist.

Thanks to contributors [@obatried](https://github.com/obatried), [@trevor-commits](https://github.com/trevor-commits), and [@mjreddy](https://github.com/mjreddy). The project is maintainer-led (roadmap on [Milestones](https://github.com/bakissation/mcp-google-multi/milestones); bug reports welcome, feature PRs by prior agreement โ€” see [CONTRIBUTING.md](./CONTRIBUTING.md)). **Feedback shapes the roadmap: [open an issue](https://github.com/bakissation/mcp-google-multi/issues/new/choose) with bugs, pain points, or what you wish it did.** Security reports go to [SECURITY.md](./SECURITY.md), never a public issue.

## License

[MIT](./LICENSE)

TDQS

A3.8/5.0

Scored across 19 tools

Disambiguation4/5

Each discover tool targets a distinct Google service, and the search/call/account tools have clearly separate roles. There is minor overlap between account_list and diagnose, which both surface token-health information, but their overall scopes differ enough for an agent to select correctly.

Naming Consistency4/5

The tool names are consistently snake_case and use recognizable prefixes for accounts and raw API access. The discovery naming is slightly uneven: per-service tools use service_discover while the aggregate helpers use discover_all and discover_reset, but the pattern remains readable.

Tool Count3/5

With 19 visible tools, the surface falls into the heavy range even though each service discover tool has a clear purpose. A multi-service Google server can justify some breadth, but the count is above the typical 3-15 sweet spot and could be reduced with more generic discovery.

Completeness4/5

The server covers major Google Workspace services and provides an escape hatch for any missing REST method, plus account add/list/reauth/config and diagnostics. Minor gaps exist around account removal or disablement, but most lifecycle and API-access needs are addressed.

Maintenance

ActivityActive
ResponsivenessResponsive