Skip to main content
Connect Google Drive to browse and query your files as a local folder.

Connect

airstore connect gdrive
OAuth in your browser. Grant read access to your Google Drive.

What appears

~/airstore/sources/gdrive/
├── My Drive/
│   ├── Documents/
│   ├── Projects/
│   └── ...
├── Shared with me/
└── [your smart folders]
Files retain their original format (PDF, DOCX, etc.). Google Docs/Sheets/Slides are exported as their Microsoft Office equivalents.

Example queries

# PDFs from a specific year
airstore create sources/gdrive/contracts-2024 \
  --query "PDF files from 2024"

# Documents by name
airstore create sources/gdrive/proposals \
  --query "files with 'proposal' in the name"

# Recent spreadsheets
airstore create sources/gdrive/recent-sheets \
  --query "spreadsheets modified in the last week"

# Files from a specific folder
airstore create sources/gdrive/project-docs \
  --query "files in the 'Project Alpha' folder"

# Shared files
airstore create sources/gdrive/shared-contracts \
  --query "PDF files shared with me containing 'contract'"

File formats

Google formatExported as
Google Docs.docx
Google Sheets.xlsx
Google Slides.pptx
Native filesOriginal format

Supported query filters

FilterExample
File type”PDF files”, “spreadsheets”, “documents”
Name”files with ‘invoice’ in the name”
Date”files from the last 30 days”
Modified”files modified this week”
Folder”files in the ‘Contracts’ folder”
Owner”files owned by [email protected]
Shared”files shared with me”

Limitations

  • Read-only: Drive source is read-only. Use the Drive tool to upload or modify files.
  • File size: Files larger than 100MB may be truncated.
  • Google formats: Exported to Office formats; some formatting may differ.

Example workflow

Analyze contracts:
# Create a smart folder
airstore create sources/gdrive/contracts \
  --query "PDF contracts from 2024"

# Mount and use with Claude
airstore mount ~/airstore
cd ~/airstore/sources/gdrive/contracts
claude "Review these contracts and summarize key terms and dates"

Next steps