Get Google Drive File Info with AI on Mac

Ask your AI assistant for Google Drive file metadata — size, dates, type — straight from your synced Mac folder. No API keys, runs 100% locally with LMCP.

L
LMCP··5 min read

The gdrive_file_info tool returns the metadata for a single file or folder inside your synced Google Drive on the Mac: its size, creation and modification dates, and type. It reads the local Google Drive folder directly, so it's far cheaper and faster than listing an entire directory just to learn about one item. A natural prompt looks like: "How big is the Q3-budget.xlsx file in my Google Drive, and when was it last modified?" — and the AI answers with the exact byte size and timestamps, no browser tab or Drive web UI needed.

Because it's a read-only tool, it never changes anything. It's the metadata equivalent of a quick "get info" right-click — perfect when you only need to confirm a file exists, check if it's stale, or verify a download finished before acting on it.

Which AI agents work?

LMCP exposes gdrive_file_info to every MCP-capable assistant. Desktop clients auto-configure over local stdio the moment LMCP is installed:

  • Claude Desktop
  • Cursor
  • VS Code (GitHub Copilot)
  • Windsurf
  • Zed

Web-based AIs connect through the LMCP Cloud Relay connector, which securely bridges them to your Mac:

  • ChatGPT
  • Claude.ai (web)
  • Grok
  • Perplexity

Whichever you use, the file metadata is read locally on your machine and handed back to the model in plain language.

Automation

Metadata lookups are the glue between bigger workflows. Chain gdrive_file_info with related LMCP tools across 150+ available: list a folder to find a candidate file, call gdrive_file_info to confirm its size and modified date, then read or attach it to an email with the Mail tools. Or have the AI poll a file's modification date before triggering a downstream step — "if report.pdf was updated today, summarize it and send it to my team." The cheap metadata call keeps these multi-step routines fast and avoids re-scanning whole directories.

Context

The AI isn't guessing about some generic cloud file — it's working with your real, synced Google Drive on your actual Mac. That means correct sizes, accurate timestamps, and the true file type as it sits on disk right now. The assistant can reason about your genuine documents: "Is the contract folder bigger than usual?" or "Which of these two exports is newer?" answered from live local data, not a stale cache.

Productivity

Checking a file's size or last-modified date normally means opening Finder or the Drive web app, navigating folders, and right-clicking for Get Info. With gdrive_file_info you just ask. Over a busy day of verifying uploads, confirming the right version, or spotting stale files, that's dozens of context switches saved. The AI returns precise numbers in a single turn, and because it's cheaper than listing a directory, big shared folders respond instantly.

Privacy & GDPR

Everything runs locally on your Mac. gdrive_file_info reads the metadata from the Google Drive folder already synced to your disk — nothing is uploaded, copied to a server, or stored in the cloud by LMCP. There are no API keys and no third-party data processor. This is privacy by architecture: your files never leave your machine. Read more about GDPR-compliant by architecture.

Ready to try it? Download LMCP, a free native macOS MCP server with 150+ tools.

Ready to try it?

Works with Claude, Cursor, VS Code, ChatGPT and any MCP client

Download LMCP (.dmg)
FreemacOS 12+ · Apple Silicon & Intel

✦ llms.txt