Connect
Google Sheets to
Claude Code
- Do offline sales lag clicks?
https://mcp.lemonado.io/mcpRead and join Google Sheets data in Claude Code, from media plans to offline sales, without the Sheets API. Lemonado connects them in about 1 minute, no API keys needed.
https://mcp.lemonado.io/mcpWhy connect Google Sheets to Claude Code?
Spreadsheets hold the plans and offline numbers, and the Sheets API is a pain to set up for a one-off script. Claude Code reads the sheet through Lemonado, joins it with ad data and writes the result into your project.
All your Google Sheets data
Any tab you connect, as a table, ready to ask about.
Always today's numbers
Targets and forecasts, synced from Google Sheets automatically, so answers use today's numbers.
Connect all your tools
Questions like "Is the forecast holding?" use Google Sheets and GA4, Google Ads at once.
How to connect Google Sheets to Claude Code
Before you start
- A Google Sheets account you can sign in to
- Claude Code installed
- A Lemonado account (the free trial works)
- 1
Connect Google Sheets in Lemonado
In Lemonado, open Connectors, find Google Sheets and sign in. Choose the spreadsheets you want AI to read. Keep column names in the first row of each tab.
- 2
Turn on external access
In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.
texthttps://mcp.lemonado.io/mcp - 3
Add the server
With Claude Code installed, run one of these in your terminal. Most people want the first: it adds Lemonado to every project.
bash# every project (recommended) claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp # this project only claude mcp add --transport http lemonado https://mcp.lemonado.io/mcp - 4
Sign in
Start Claude Code with claude and run /mcp. Choose Lemonado and finish the sign-in in your browser.
bashclaude /mcp - 5
Ask Claude Code about Google Sheets
Ask a question about the accounts your connection can reach. Claude Code can also write the numbers into a file or a script for you. Try "Read the offline sales tab, join it with Google Ads clicks by week and save the result as data/offline_vs_clicks.csv with a lag column." Or ask: "Are the targets up to date?" or "What's in the media plan?"
Good to know
- The command uses Claude Code's default local scope. Use --scope user to share the server across projects.
What can Claude Code do with Google Sheets?
Claude Code queries your Google Sheets data while it works in your repo: it saves data as files, checks tracking against code and runs headless with claude -p.
Read the offline sales tab, join it with Google Ads clicks by week and save the result as data/offline_vs_clicks.csv with a lag column.
Saved 52 weeks to data/offline_vs_clicks.csv. Offline sales follow clicks with a 2-week lag (correlation 0.71 at 2 weeks vs 0.38 in the same week).
Source: Google Sheets + your code
Pull the targets tab and add the numbers to the targets constant in our dashboard code.
Updated TARGETS in lib/targets.ts with 6 values from the sheet. Leads went from 900 to 1,050.
Source: Google Sheets + your code
Read the Q4 media plan sheet and save it as data/media_plan.json with one entry per channel and month.
Saved 18 entries to data/media_plan.json. Two rows had budgets typed as text, so I converted "$12k" to 12000.
Source: Google Sheets + your code
Compare the campaign names in our launch config with the naming rules sheet. Which names break the rules?
5 of 22 break them. Three are missing the market code, two use "FB" instead of "META".
Source: Google Sheets + your code
Check live campaign names against the naming rules sheet. Which ones break them?
17 campaigns break the rules. 11 are missing the market code, 6 use the old "FB_" prefix.
Source: Google Sheets
Turn the targets tab into a scorecard for this week.
4 of 6 targets on track. Leads are 22% behind and blended CAC is $8 above target.
Source: Google Sheets
Connect Google Sheets to another AI app.
Claude
Connect Google Sheets to Claude
ChatGPT
Connect Google Sheets to ChatGPT
Cursor
Connect Google Sheets to Cursor
VS Code (GitHub Copilot)
Connect Google Sheets to VS Code (GitHub Copilot)
Codex
Connect Google Sheets to Codex
Perplexity
Connect Google Sheets to Perplexity
Google Antigravity
Connect Google Sheets to Google Antigravity
Windsurf (Devin Desktop)
Connect Google Sheets to Windsurf (Devin Desktop)
Zed
Connect Google Sheets to Zed
n8n
Connect Google Sheets to n8n
Other integrations for Claude Code
All Claude Code integrations- Google Ads in Claude CodeAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Meta Ads in Claude CodeAsk Claude, ChatGPT or Cursor about your Facebook and Instagram ads, creatives and results.
- Google Analytics in Claude CodeAsk Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Google Search Console in Claude CodeAsk Claude, ChatGPT or Cursor about your search queries, rankings and lost clicks.
- LinkedIn Ads in Claude CodeAsk Claude, ChatGPT or Cursor about LinkedIn campaigns, lead forms and who converts.
- TikTok Ads in Claude CodeAsk Claude, ChatGPT or Cursor which TikTok videos hold attention and which ones sell.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into Claude Code and ask it to connect you, or copy the block.
# Connect Google Sheets to Claude Code (Lemonado MCP) - Server URL: https://mcp.lemonado.io/mcp - Transport: Streamable HTTP - Auth: OAuth; the user signs in to Lemonado in the browser. No API keys. - In Lemonado: connect the spreadsheet. Choose the spreadsheets you want AI to read. Keep column names in the first row of each tab. - In Claude Code: Terminal: claude mcp add ```bash # every project (recommended) claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp # this project only claude mcp add --transport http lemonado https://mcp.lemonado.io/mcp ``` If you are Claude Code, run the setup yourself: Add the Lemonado MCP server for all my projects by running: claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp Then tell me to run /mcp and sign in to Lemonado. Once I've signed in, list the Google Sheets accounts Lemonado can reach. First question to try: "Read the offline sales tab, join it with Google Ads clicks by week and save the result as data/offline_vs_clicks.csv with a lag column." More: https://lemonado.io/integrations/google-sheets · https://lemonado.io/llms.txt
Frequently Asked Questions
Yes. You sign in to Google once in Lemonado, and Claude Code reads the spreadsheets you've connected through the Lemonado server. No service account, credentials.json or Sheets API quota to manage.
Run claude mcp list to see whether lemonado is connected. If it needs authentication, run /mcp inside Claude Code and sign in again. In Lemonado, check that Google Sheets is connected and External tools is on for the company. If a tab is missing, check it's in a spreadsheet you connected and that the Google account you used can open it.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Compare the revenue forecast sheet with actual Stripe revenue so far this quarter."
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free