How to connect Google Sheets to Claude: 5 ways compared (free plan included)
There are five ways to connect Google Sheets to Claude: upload or paste the sheet, turn on Anthropic’s Google Sheets connector (or its Claude for Google Workspace add-on), set up Google’s own Sheets MCP server, run an open-source Sheets MCP server, or add a hosted query server such as datatomcp as a custom connector. If one person wants Claude to edit one sheet, Anthropic’s connector is the right pick. If you want exact totals on large tabs, answers across several sheets, or the same answer for a whole team and every agent it uses (Claude, ChatGPT, Cursor, n8n), use a query server. This page compares all five and then sets up the last one step by step.
Can Claude access Google Sheets? Yes. Since 6 October 2026 Claude can read and edit a Google Sheet directly on paid plans (Anthropic’s announcement), and on any plan through a custom connector.
On the free Claude plan? Anthropic’s Sheets connector and add-on are for paid plans only, but a free account can add one custom connector (Anthropic’s help article). So on free, you either upload the sheet (way 1) or connect an MCP server (ways 3–5; a remote one such as datatomcp takes your one custom connector).
The five ways at a glance
| Setup | Claude plan | Edits the sheet | Large tabs (50,000+ rows) | Other agents and teammates | |
|---|---|---|---|---|---|
| 1. Upload or paste | none | any | no | the chat’s context limit applies | no, one chat |
| 2. Anthropic’s Sheets connector / add-on | turn it on in Claude | paid plans, beta | yes | Claude works on the open sheet | Claude only |
| 3. Google’s Sheets MCP server | Google Cloud project, OAuth client, Developer Preview | any client with MCP | yes | returns cell values | any MCP client you configure |
| 4. Open-source Sheets MCP server | install and run it, Google credentials | any client with MCP | yes, most of them | returns cell values | one person’s setup |
| 5. Hosted query server (datatomcp) | import the sheet, paste one URL | any plan with custom connectors | no, read-only | totals computed by a database | Claude, ChatGPT, Cursor, n8n; shared by the team |
1. Upload or paste the sheet
Download the tab as CSV or Excel and attach it, or copy the cells into the chat. Nothing to set up, and on a small, clean sheet it works well: in our test Claude ran code on a 5,000-row upload and got the exact answer (31 orders, €5,754.50, the same as the hand count).
The limit is size. Pasting our 50,000-row test sheet (about 4 MB) into Claude’s free plan was refused before any answer:
The upload is also a copy: when the sheet changes, you upload again. What pasting a sheet costs per question and how big a file the chats take.
Right pick when: the sheet is small and you need one answer today.
2. Anthropic’s Google Sheets connector and the Claude for Google Workspace add-on
Anthropic released both on 6 October 2026, in beta on all paid Claude plans (announcement):
- The add-on opens Claude in a sidebar inside Google Sheets. Install it from the Google Workspace Marketplace, then Extensions → Claude → Open Claude. Claude reads the sheet you have open, writes formulas, builds pivot tables and native charts, adds tabs, and can pull a range into Python for joins or cleaning.
- The Sheets connector works from the Claude chat: paste a sheet’s link or ask for a new sheet, and Claude creates and edits it. Its access matches your existing Google sharing permissions. On Team and Enterprise plans an owner turns the connectors on first.
By default each edit waits for your approval (“Ask before edits”); an “Accept all edits” mode applies them without stopping.
Right pick when: you’re on a paid plan and want Claude to build or change a sheet with you. It is Claude only, so ChatGPT, Cursor or an n8n flow asking about the same sheet need their own setup.
3. Google’s Sheets MCP server
Google offers a first-party Sheets MCP server in its Workspace Developer Preview, with tools that read and update cell values (Google’s setup guide). You enrol in the preview, create a Google Cloud project and an OAuth client, then add the server to your MCP client. Finding a file by name needs Google’s separate Drive MCP server.
Right pick when: you are a developer who wants raw, first-party cell access from your own agent and can manage a Cloud project. Its six tools and setup, side by side with datatomcp: Google’s Sheets MCP server vs datatomcp.
4. An open-source Sheets MCP server
Projects such as xing5/mcp-google-sheets and freema/mcp-gsheets run on your machine with your Google credentials (a service account or OAuth) and give your agent read and write tools. They are free and flexible. Two costs are worth knowing, and both are stated in their own READMEs: the tool list itself takes context before you ask anything (xing5: “all 19 tools, consuming ~13,000 tokens”; freema: 44 tools, about 9,900 tokens), and reading a large tab sends its cells into the chat. The setup lives on one person’s computer.
Right pick when: you want write access and full control, for yourself, and you’re comfortable running a local process.
5. A hosted query server: datatomcp
datatomcp imports the sheet into a database and gives Claude tools to filter, group and total it. Claude sends a question as a query and gets back only the answer, so a 100,000-row tab costs the same as a 100-row one, and the total is counted by DuckDB rather than read from text. It is read-only for agents, works with private sheets, and the same connection works in Claude.ai, Claude Desktop, Claude Code, ChatGPT, Cursor and n8n. A team shares one workspace: linked sheets (orders and customers on customer_id, say), approved definitions so every agent uses the same meaning of “revenue” (a semantic layer for AI agents), and an audit of which agent asked what.
Right pick when: the tab is big, the question spans several sheets, or several people and agents need the same answer. Try it first without an account in the live demo.
Set up datatomcp in Claude
Three steps, about two minutes. You need a Google Sheet (up to 100,000 rows per tab on the free plan), a datatomcp account (signing in with Google is simplest, because the same account later picks the sheet) and a Claude plan that allows custom connectors (free plans can add one).
1. Import the sheet
- Sign in at app.datatomcp.com and open Add data → Google Sheet.
- Click Choose a Google Sheet. Google’s own file picker opens. Choose the spreadsheet; datatomcp gets access to that file only, not the rest of your Drive (Google’s
drive.filepermission). - datatomcp reads the first tab with unformatted values, so
€1,200.50arrives as the number1200.5, and builds the dataset.
You land on the import report: every column with its detected type, example values and warnings such as “number stored as text” or “mixed date formats”. Nothing is converted silently; fixes are one click and create a new version.
A public sheet works too: paste its share link under Paste a link instead.
2. Add the connector to Claude
- In Claude, open Customize → Connectors, click + Add, then Add custom connector. (Free plans can add one custom connector.)
- Name it
datatomcpand paste the URLhttps://app.datatomcp.com/mcp. - Click Connect. A datatomcp sign-in opens, then a consent screen listing what Claude may do (read and query your datasets). Allow it.
There is no API key to copy. Claude holds a token that you can revoke from datatomcp at any time.
Claude Code takes one command:
claude mcp add --transport http datatomcp https://app.datatomcp.com/mcp
Then run /mcp inside Claude Code, pick datatomcp and authenticate. For scopes, team setup and other clients, see Claude Code MCP, Claude MCP connectors and adding a remote MCP server to any AI client.
3. Ask a question
Start a chat and ask something your sheet can answer. With our 50,000-row test orders sheet:
How many orders came from France in September 2026, and what was the revenue?
Claude calls describe_dataset to learn the columns, then one aggregate call:
{
"where": [
{ "column": "country", "op": "eq", "value": "France" },
{ "column": "order_date", "op": "between", "value": ["2026-09-01", "2026-09-30"] }
],
"metrics": [
{ "fn": "count", "as": "orders" },
{ "fn": "sum", "column": "total", "as": "revenue" }
]
}
and answers 277 orders, €50,279.50. The tool result is 32 bytes. Pasting the same sheet would have sent about 4 MB of text.
What changes compared with the other ways
- Exact numbers. Counts and sums are computed by a database (DuckDB), not estimated by the model.
- Big tabs work. Claude only receives the rows or totals it asks for, so 100,000 rows cost the same as 100. See what pasting the same tab would cost.
- Real filter values. Claude can call
distinct_valuesfirst, so it filters on"United States"rather than guessing"USA". - Every answer is traceable. Each result says which version of the dataset it came from and when it was refreshed.
Keeping it in sync
When the sheet changes, click Refresh now on the dataset page. On Pro, datatomcp checks the sheet every 5 minutes and only publishes a new version when something changed. If a refresh fails (the sheet was deleted, access was removed), agents keep getting the last good version and you get one email.
Troubleshooting
- “datatomcp can’t open this sheet” right after picking it: Google can take a few seconds to grant access. Try once more.
- Claude doesn’t use the tools: mention the data explicitly (“use datatomcp to…”) the first time, or check the connector is enabled for the chat.
- Wrong column type (a code like
00123read as a number): change the type on the dataset page; the dataset is rebuilt as a new version.
FAQ
Can Claude access Google Sheets? Yes. On paid plans, Anthropic’s Google Sheets connector (beta) lets Claude read and edit sheets you can access. On any plan with custom connectors, a connector such as datatomcp lets Claude query a sheet read-only.
How do I connect Google Sheets to Claude on the free plan? Upload the tab as a file, or add one custom connector (the free plan allows one): with datatomcp, import the sheet, then paste https://app.datatomcp.com/mcp under Customize → Connectors → Add custom connector. Anthropic’s own Sheets connector needs a paid plan.
What is Claude for Sheets? An older Google Sheets add-on from Anthropic that adds a =CLAUDE() formula, so a cell sends a prompt to the Claude API and shows the reply. It needs your own Anthropic API key, and each call is billed at API prices (Anthropic’s docs, Marketplace listing). It runs a prompt per cell; it doesn’t let Claude chat about or total the whole sheet, which is what the five ways above do.
Does it work with a private sheet? Yes, with every way except a public share link. With datatomcp you pick the file in Google’s file picker, and datatomcp can read that file only. The sheet doesn’t need to be shared or public.
Which way is free? Uploading works on every plan. Google’s and the open-source MCP servers are free to run. Anthropic’s Sheets connector needs a paid Claude plan. datatomcp’s free plan covers 3 datasets of up to 100,000 rows and 1,000 queries a day; Pro ($12 or €12 a month) adds sync within minutes and higher limits.
Can I use more than one? Yes. A common setup is Anthropic’s add-on for editing a sheet and a query server for the questions the whole team and its other agents ask.
Can Claude change my sheet through datatomcp? No. The connector is read-only: Claude can filter, group and total the data, but it can’t edit cells or run SQL.
How do I disconnect Claude? Remove the connector in Claude, or revoke its access in datatomcp. Either one stops Claude from reading your data.