# Google Docs API + MCP (slim)

> REST API from Google for creating, reading and editing Google Docs, covering text, styles, tables, tabs, comments and suggestions. Access is by OAuth 2.0, and a two-tool MCP server is in Developer Preview.

- Full: https://www.anchorterminal.com/tools/google-docs-api.md (~8,950 tokens) · this version ~1,430 tokens · JSON https://www.anchorterminal.com/tools/google-docs-api.json · canonical https://www.anchorterminal.com/tools/google-docs-api
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-23 · pricing https://www.anchorterminal.com/tools/google-docs-api#pricing · reviews https://www.anchorterminal.com/tools/google-docs-api#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**BB · 72.7/100 · rank #225 of 1654 · #1 in Work & productivity · agent-ready · confidence medium**


Assessment: documents.batchUpdate applies 53 request kinds atomically, writeControl can reject a write against a stale revision, and edits can be made as suggestions. The MCP server is Developer Preview, its update_doc tool alone is 42 KB, and a person must set up OAuth in a Cloud project first.

## Facts

- Kind: HTTP API · vendor: Google · category: Work & productivity · legal entity: Google LLC · provenance 95/100
- Endpoint: `https://docs.googleapis.com/v1` (HTTP, Streamable HTTP)
- Auth: OAuth · pricing: Free · x402: no · licence: Proprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0
- Benchmark probes: not run yet, so Performance is pending
- Live, from our pollers (not part of the score): up at 2026-11-23 16:30 UTC · uptime 30 days 100.0% (7 probes) · p50 167 ms · p95 286 ms over 24 hours
- Price: No charge for standard use. Charges for exceeding quota are planned for later in 2026, unpriced
- Quota: 3,000 reads and 600 writes a minute per project, 300 reads and 60 writes a minute per user per project
- Interface: REST at https://docs.googleapis.com/v1 with documents.create, documents.get and documents.batchUpdate. batchUpdate takes 53 request kinds for text, styles, tables, tabs, headers, comments and suggestions
- Safe writes: A batch applies atomically. writeControl.requiredRevisionId rejects a write against a stale revision, and writeMode SUGGEST writes suggestions instead of edits
- Scopes: documents and documents.readonly, drive.file (per file), drive and drive.readonly
- MCP server: Official, hosted at https://docsmcp.googleapis.com/mcp/v1, Developer Preview, two tools (read_doc, update_doc), OAuth with your own agent-marked client and Developer Preview Programme membership
- Related listings: Files, folders and sharing are in google-drive-api, spreadsheets in google-sheets-api
- Client libraries: Google API client libraries, Apache-2.0. @googleapis/docs 14.1.1 (14 October 2026, Node 22 or later)

- Scores: Reliability 92, Performance not tested, Schema & documentation 81, Agent ergonomics 67, Security & auth 63, Payments & pricing 53, Task success not tested, Maintenance & community 75, Transparency & trust 69
- Why: Reliability, Graded on the REST API, the generally available surface. · Schema & documentation, A public discovery document, not OpenAPI, at revision 20261118 with three methods and 202 schemas (25). · Agent ergonomics, The MCP server has two tools, but its tools/list response measured 43,010 bytes on 23 November, 42,027 of them update_doc. · Security & auth, OAuth 2.0 with five scopes, short-lived revocable tokens and the per-file drive.file scope (30), less 10 because the discovery document list… · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, @googleapis/docs 14.1.1 on 14 October 2026, 40 days before the check, and a release note on 12 October (20). · Transparency & trust, Closed service under the Google APIs Terms of Service, with Apache-2.0 client libraries (15 of 30).
- Sources: 11, open questions: 4, both in the full twin
- Capabilities: work.docs
- JSON: https://www.anchorterminal.com/api/v1/tools/google-docs-api.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/google-docs-api.card.md
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: https://developers.google.com/workspace/support; more in the full twin

## Before you call it

1. Pass writeControl.requiredRevisionId from the last read so a retried or late batchUpdate fails instead of applying twice
2. Set writeMode to SUGGEST when a person should review the change before it lands
3. Indexes are UTF-16 code units and the body starts with a section break at 0, so insert at index 1 or later and apply edits from the end of the document backwards
4. Use a fields mask on documents.get for long documents, and set commentsIncluded on read_doc only when comments are needed
5. There is no create tool in the MCP server. Call documents.create over REST, or use the Drive tools, to make a new document

## Connect

```bash
npm install @googleapis/docs
```

```bash
curl "https://docs.googleapis.com/v1/documents/$DOCUMENT_ID?fields=title,revisionId" \
  -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN"
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/google-docs-api

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Google Drive API + MCP | BB | 77.8 | work.docs | https://www.anchorterminal.com/tools/google-drive-api.min.md |
| monday.com | BB | 72.6 | work.docs | https://www.anchorterminal.com/tools/monday.min.md |
| Coda (Superhuman Docs) | BB | 71.6 | work.docs | https://www.anchorterminal.com/tools/coda.min.md |
| Profound API and MCP | B | 68.3 | work.docs | https://www.anchorterminal.com/tools/profound.min.md |
| Box API + MCP | B | 68.1 | work.docs | https://www.anchorterminal.com/tools/box-api.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

