Skip to content

Connect Claude Code to Google Sheets

Connect Claude Code to Google Sheets: 1. Connect Google Sheets in ApexGenius. 2. Add the ApexGenius MCP server. 3. Start using Google Sheets in Claude Code.

1,000 free credits · No card required

How to connect Google Sheets to Claude Code

  1. 1Sign in to ApexGenius and connect Google Sheets
  2. 2Add the ApexGenius MCP server to Claude Code
  3. 3Start using Google Sheets in Claude Code
  1. 1ApexGenius

    Connect Google Sheets to ApexGenius

    Google Sheets connected

    Google Sheets shows as connected in ApexGenius, with what your AI can reach.

  2. 2ApexGenius

    Connect ApexGenius to Claude Code

    Copy the MCP address

    On Start, pick API key, open Manual setup, and copy the MCP address.

  3. 3ApexGenius

     

    Approve access

    ApexGenius opens its approval page. Review the access, then approve.

Add the ApexGenius MCP server to Claude Code

Claude Code stores MCP servers in ~/.claude.json. With --scope user the server is available in every project. Without it, only in the project where you ran the command.

  1. Run the command. Claude Code prints an Added line.
  2. Start Claude Code, run /mcp, choose apexgenius and follow the sign-in in your browser. From a shell, claude mcp login apexgenius does the same.
  3. Approve access on the ApexGenius page.
Run in your terminal
claude mcp add --transport http --scope user apexgenius https://server.autom8.pro/mcp

Check it. Run claude mcp list. Each server shows a status, such as Connected or Needs authentication. claude mcp get apexgenius shows the detail.

Steps follow Claude Code documentation, Connect Claude Code to tools via MCP (opens in a new tab), read November 12, 2026.

Then ask Claude Code

Find the available Google Sheets read tools. Do not open or change a spreadsheet.

Start free
Written setup, step by stepShow

Before you start

  • An account with permission to use the Google Sheets resources you intend to connect.

1. Connect Google Sheets to ApexGenius

  1. Open Google Sheets in Connections. Choose Connect, or Add connection when offered. Give the connection a name if prompted. If Gateway setup pending appears, contact ApexGenius support before continuing.
  2. Choose the account and review access. Sign in to the Google account that has access to the intended resources. Review the permissions Google requests, then return to ApexGenius.
  3. Review the connected account and resources. Find Allowed resources on the connection page or its Tools tab. Choose Refresh and enable only the connected Sheets account. Resource selection does not add permissions to the Google account.
  4. Check the connection. Use Test connection or Check again and read the reported status. Add an AI agent from the AI agents page, choose Read only for the first test, and try the question below.
    The Google Sheets page in ApexGenius after you connect: the status control reads Connected, one account row shows when it was added and last checked, and the Tools, Agents and Skill rows follow.
    The Google Sheets page after you connect. The status control reads Connected and the account row shows when it was last checked. Open the status control for Check again.Open full-size image (opens in a new tab)
Connect Google Sheets →

2. Connect ApexGenius to Claude Code

Use this server address when adding the connection:

https://server.autom8.pro/mcp

The steps are above, under Add the ApexGenius MCP server to Claude Code. These notes apply to Claude Code only.

  • Over SSH or without a browser. claude mcp login apexgenius prints the authorization URL when it finds no local browser. Open it on your own machine, then paste the full redirect URL from the address bar back at the prompt. Add --no-browser to force that.
  • Headless runs. A claude -p run has no /mcp panel and cannot run the sign-in. Sign in once from an interactive session, or with claude mcp login, first.
  • Signing out. Clear authentication in the /mcp menu, or claude mcp logout apexgenius, removes the stored sign-in.
  • Access. When ApexGenius asks what Claude Code may use, choose Read only for the first test, or Custom to limit it to the tools you need.
A generated anonymous terminal illustration showing a setup command, ApexGenius added, browser authorization, and ready to use.
Generated terminal example. Use the exact copy button on this page; the image only shows what kind of screen to expect.Open full-size image (opens in a new tab)

3. Try your first question

Find the available Google Sheets read tools. Do not open or change a spreadsheet.

Find the available Google Sheets read tools. Do not open or change a spreadsheet.

Check that the answer matches what you see in Google Sheets.

Full guide: the Google Sheets setup guide.

What it looks like in Claude Code

Example workflow
Claude Code
Claude CodeApexGenius MCP route
List the tabs in the spreadsheet I name. Do not change it.
ApexGenius
Working with ApexGenius1 tool search · 1 read
RequestList the tabs
Account scopeAuthorized connections checked
apex_search_toolsGoogle Sheets read · Find Google Sheets toolsComplete
apex_call_write_toolget_spreadsheet · Read the spreadsheetComplete
Claude Code

Four tabs, Leads, Pipeline, Q3 and Notes.

Read-only route
Claude Code

What to ask Claude Code about Google Sheets

  • List the tabs

    List the tabs in the spreadsheet I name. Do not change it.

    Runs get_spreadsheet (read).

  • Sales by region

    What were total sales by region last month in the sales sheet?

    Runs get_spreadsheet (read), then get_values (read).

  • Missing emails

    Which rows in the leads sheet have no email?

    Runs get_values (read).

These 3 questions use 2 of Google Sheets’s 6 operations. The full list is below.

  • Add this week’s numbers as a new row in the tracker sheet. (write)

What Claude Code can do in Google Sheets

6 operations: 2 read, 4 write. Read looks things up and changes nothing. Writes change Google Sheets and run only when you turn them on.

Read

2 read
  • get_spreadsheetread
  • get_valuesread

Edit

4 write
  • update_valueswrite
  • update_formulaswrite
  • insert_dimensionwrite
  • update_spreadsheetwrite

You choose the access. When you approve Claude Code, pick Full access, Read only, or Custom.

The connected Google account decides which spreadsheets can be read and changed.

Bulk updates can delete rows and tabs. Read the range first and ask for the exact change.

Writes run immediately. Blocked hides a tool from agents.

Disconnecting stops future access. It does not undo a change; use the spreadsheet’s version history.

Start free

Questions about connecting Claude Code to Google Sheets

Updated November 12, 2026.

How do I connect Claude Code to Google Sheets?

Connect Claude Code to Google Sheets through ApexGenius in three steps. Sign in to ApexGenius and connect Google Sheets by signing in with the Google account that can open your spreadsheets. In Claude Code, run claude mcp add --transport http --scope user apexgenius https://server.autom8.pro/mcp, then run /mcp and sign in. Then open a task in Claude Code and ask a question about your Google Sheets. Start with a read, so nothing changes.

How do I check that Claude Code can use Google Sheets?

Run claude mcp list in your terminal. apexgenius should show Connected. If it shows Needs authentication, run /mcp inside Claude Code, or claude mcp login apexgenius in your shell, and finish the browser sign-in. Then ask: “Find the available Google Sheets read tools. Do not open or change a spreadsheet.”

Is there a Google Sheets MCP server for Claude Code?

Yes. ApexGenius is an MCP server that Claude Code connects to once. It carries your Google Sheets connection and 6 Google Sheets operations, so Claude Code does not need a separate Google Sheets integration or plugin. You set it up one time and add each agent the same way.

What can Claude Code do in Google Sheets once it is connected?

Claude Code can run 6 Google Sheets operations through ApexGenius: 2 reads that show the tabs of a spreadsheet and the values in a range, and 4 writes that update values, formulas, rows and formatting once you turn writes on, within your Google account’s access.

Can Claude Code read my Google spreadsheets?

Any spreadsheet the connected Google account can open. Give Claude Code the link, or let it find the file with Google Drive. The Google account decides what can be read and changed, and you can turn any tool off to block calls.

Can Claude Code change my Google Sheets?

Not until you allow writes. Choose Read only when you add Claude Code. With writes on, it can update values, formulas, rows and formatting, and bulk updates can delete rows and tabs. Read the range first and ask for the exact change. Version history in the spreadsheet shows what changed.

Can I use the same Google Sheets connection with Claude, ChatGPT, Grok Bot or Muse?

Yes. One Google Sheets connection in ApexGenius works with every compatible agent you add, including Claude, ChatGPT, Grok Bot or Muse. Each agent gets its own access choice and its own short setup, so you can pick read only for one agent and more for another.

Connect Google Sheets to Claude Code today

Start free

1,000 free credits. No card required. Disconnect any time.