Documents & filesGoogle Drive

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.

Your proposals, budgets and meeting notes live in Google Docs, Sheets and PDF files on Google Drive. The drive command-line tool copies the text of the folders you choose to your computer, so your AI agent can search them and use them as context, even without the internet.

An agent with access to your documents finds the passage where a decision was written down, quotes it, and gives you the document's title and its Google link. It can also read a folder tree, list the files it could not read, and change a Google file when you allow it.

drive keeps the copy in the local store, one SQLite database file on your computer that every WireCat tool shares. Your chats, mail and notes are there too, so Memo can find a document together with the conversation about it. To start, you need a Google account with access to the folders.

On this page:

  1. What you get
  2. Two words to know
  3. Connect and copy a folder
  4. What the copy contains
  5. What it reads
  6. 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, 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.

Two words to know

A profile names one connected Google account, such as personal or work. Every account command names it.

The local copy is the text, the details and your own notes saved on the computer where drive runs. It is separate from the files on Google. Search reads the local copy. A sync brings in newer edits.

Connect and copy a folder

  1. Install drive from npm.
  2. Sign in. personal is the profile name the examples use; choose your own. A browser opens, and you approve read access to your Google Drive.
drive personal session start

Google 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.

  1. 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
  1. Copy the folder and search it.
drive personal sync
drive personal search 'budget' --exact

One 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.

  1. Connect your agent. A terminal agent gets the skill:
drive skill install

An 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:

Request
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 informationWhat you can do without Google
Text from Docs (all tabs, tables and footnotes), Sheets and supported filesSearch passages, read a source and prepare an answer with its evidence
Google ID, title, type, original link, parent folders and datesIdentify the source and see its details from the last sync
Owners and last editor that Google showsSee who worked on a document
Folders and their treeBrowse the folder tree, list a folder, tag a folder and add notes to it
Your tags, notes, links to people or projects, and memoriesKeep context across repeated work

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, 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 with a text layer, Word .docx, Excel .xlsx, CSV and TSV. Scanned PDFs, Slides, audio and shortcuts have no indexed text. Images are found by name, or 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

TaskGuide
Install, sign in and import a first folderInstall and connect
Import, read and organize the local copyUse it
Find a passage, a file or a pictureSearch
Give your agent a whole taskRecipes
Edit a Doc or a SheetRecipes
Keep local Markdown files in step with GoogleMirrors
Find a command or an optionCommands
Change a setting or a permissionSettings
Fix an errorTroubleshooting
Learn what the tool keeps and sendsSecurity