Google Docs — Claude Code MCP server: features and setup
Google Docs is an MCP server for Claude Code that searches Google Drive, reads and edits Docs, and handles comments. Connect it to assign these tasks to an agent.
no license 1,024 installs updated 2025-11-19
claude mcp add --transport http googledocs https://googledocs.run.toolsWhat Google Docs does
The server searches Google Drive and can return document content or metadata. Its tools create Docs from text, edit existing files, append text, and retrieve document structure in DocMD format. You can also list comments or add one to a document.
Other tools report connected apps and user profile details, or create a file-picker link for sharing selected Drive files. Search skips items in the trash, so those documents won’t appear in results.
To connect it to Claude Code, run the command below. The server is also listed for Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.
What it helps with
- find a document in Google Drive
- retrieve document text and metadata
- create a Google Doc from text
- edit an existing document
- review document comments
Example prompts for the agent
- Find Google Drive documents about the release plan and show their contents.
- Create a Google Doc titled “Release plan” using the text in my message.
- Add a comment to this document and list its current comments.
How to install Google Docs
Platform CLI: remote server
claude mcp add --transport http googledocs https://googledocs.run.toolsPlatform CLI: remote server
codex mcp add googledocs-google-docs --url https://googledocs.run.toolsConfig file
{
"mcpServers": {
"googledocs-google-docs": {
"url": "https://googledocs.run.tools"
}
}
}Config file
{
"servers": {
"googledocs-google-docs": {
"type": "http",
"url": "https://googledocs.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http googledocs-google-docs https://googledocs.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Google Docs
How do I install Google Docs in Claude Code?
Run claude mcp add --transport http googledocs https://googledocs.run.tools to add the MCP server.
What does Google Docs do?
It searches Drive, retrieves Docs content and metadata, creates and edits documents, and handles comments.
Does Google Docs search include files in the trash?
No. Search results exclude documents in the trash.