Google Drive MCP server with local search of Docs
Copy the Google Drive folders you choose to your computer, so your AI agent searches your Docs, Sheets and PDFs offline and quotes the source.
Ask your AI agent where a decision was written down, and get the exact passage with a link to the Google document. Your proposals, budgets and meeting notes from the Google Drive folders you choose are kept as text on your computer, so the agent searches them even without the internet. Each sync brings in newer edits.
The agent quotes the passage and gives the document's title and Google link. It lists the files it could not read. When you allow it, it can also change a Doc or a Sheet.
drive is the command-line tool that copies those folders. It keeps them in the local store, the one SQLite database file on
your computer that every WireCat tool shares, so wcat finds a document together with the chat about it.
You need a Google account with access to the folders. Each connected account gets a short name, its profile, such as
personal, and every account command starts with it.
On this page:
- What you get
- Connect and copy a folder
- What the copy contains
- What it reads
- Find a guide for your task
What you get
- Search without the internet. Find a passage by its words, or by meaning once the copy is indexed for it. Each result keeps its title and its original Google link.
- Only the folders you choose. Signing in copies nothing. You pick the folders, and the tool copies them with their subfolders.
- Your own context beside the source. Add tags, notes and memories to a document or a folder. They stay on your computer and survive renames and ordinary updates.
- Live reading when you need it. Browse a folder, or look at a file's permissions, comments and revisions on Google, without copying anything.
- Changes only when you allow them. Read access is the default. Creating and editing Docs, filling in Sheets, editing an uploaded Word, Excel or text file in place, copying or moving files need a separate write grant.
- Your agent connected. Install the tool's skill for a terminal agent such as Claude Code, or serve the tool over MCP to an app that connects to MCP servers.
Connect and copy a folder
- Install
drivefrom npm. - Sign in.
personalis the profile name the examples use; choose your own. A browser opens, and you approve read access to your Google Drive.
drive personal session startGoogle may refuse the sign-in through WireCat's app or stop it with a warning. Then use your own Google app: it takes a few minutes and costs nothing.
- Choose a folder. Open it in Google Drive and copy its address from the browser. The address here is an example: use yours.
drive personal folders add https://drive.google.com/drive/folders/1a2B3c4D5e6F7g8H9i0JkLmNoPqRsTuVw- Copy the folder and search it.
drive personal sync
drive personal search 'budget' --exactOne sync reads up to 10,000 entries. drive personal status shows the work still pending: run the sync again until
none is left, and later to bring in what changed.
- Connect your agent. A terminal agent gets the skill:
drive skill installAn app on your computer that connects to MCP servers runs drive personal mcp serve; the
commands show how to add it. ChatGPT, Codex or Claude in the browser connect as described in
browser apps.
Or ask your agent once drive is installed and signed in:
Use drive CLI with profile personal. Import the Google folder I choose and its subfolders.
Find the budget decision, show its exact passage and original Google link, and list skipped files.
Do not change Google files.What the copy contains
| Saved information | What you can do without Google |
|---|---|
| Text from Docs (all tabs, tables and footnotes), Sheets and supported files | Search passages, read a source and prepare an answer with its evidence |
| Google ID, title, type, original link, parent folders and dates | Identify the source and see its details from the last sync |
| Owners and last editor that Google shows | See who worked on a document |
| Folders and their tree | Browse the folder tree, list a folder, tag a folder and add notes to it |
| Your tags, notes, links to people or projects, and memories | Keep context across repeated work |
| Earlier versions of each document and a log of what changed | See what a document said before, and what was added, changed or deleted since a day |
You can browse the copied folders offline. Files whose content
cannot be read stay in the copy by name and type. catalog search finds them by name, type and owner. Permissions,
comments, Google's own revision history and activity are read live from Google and are not kept.
What it reads
The tool indexes Google Docs and Sheets, and uploaded Markdown and plain text, PDF, Word, Excel, PowerPoint, OpenDocument, RTF, HTML, EPUB, CSV and TSV files. It reads the text of scanned PDFs and of JPEG, PNG and WebP pictures by OCR, on your computer by default. Slides, audio and shortcuts have no indexed text. Images are also found by what they show when you turn on picture search. In Docs, images, headers, footers, comments and suggested edits are not indexed.
Find a guide for your task
| Task | Guide |
|---|---|
| Install, sign in and import a first folder | Install and connect |
| Import, read and organize the local copy | Use it |
| Find a passage, a file or a picture | Search |
| Give your agent a whole task | Recipes |
| Edit a Doc or a Sheet | Recipes |
| Edit an uploaded Word, Excel or text file | Use it |
| Keep local Markdown files in step with Google | Mirrors |
| Find a command or an option | Commands |
| Change a setting or a permission | Settings |
| Fix an error | Troubleshooting |
| Learn what the tool keeps and sends | Security |