Google Drive MCP Server
Read, search, and export files from Google Drive using your AI assistant
The Google Drive MCP Server lets Claude access your Google Drive files. Search documents, read spreadsheets and Docs, and export them in various formats. Works with Google Docs, Sheets, Slides, PDFs, and any file stored in your Drive.
Installation & Configuration
Add this block to your claude_desktop_config.json (or your agent framework's MCP config file):
{
"mcpServers": {
"gdrive": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-gdrive"],
"env": { "GDRIVE_CREDENTIALS_PATH": "/path/to/credentials.json" }
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Available Tools (2)
gdrive_searchgdrive_read_file
Use Cases
- Document search — find contracts or reports by content
- Spreadsheet analysis — ask Claude to analyze a Google Sheet
- Knowledge base — build an AI over your team's Drive documents
Source & Documentation
GitHub Repository: https://github.com/modelcontextprotocol/servers/tree/main/src/gdrive
Protocol: Model Context Protocol (MCP) — modelcontextprotocol.io