Google Sheets MCP: how to let an AI work with a Google Sheet
There's no single best Google Sheets MCP option, pick by what you need. This page is for people who want Claude or another AI app to work with a Google Sheet: use Google's own Sheets MCP server to read and edit a live sheet, a community server if you'd like to run it yourself, or export the sheet when you only need answers from a copy.
The short answer
There are three routes and they suit different situations. Google's official server works on the live sheet and can change it. Community servers do much the same from your own computer. And exporting gives the AI a frozen copy, which is less clever but takes about a minute and needs no Google Cloud setup.
I'll say this early so nobody wastes time: Fileshape does not connect to Google Sheets. There is no sync and no Google sign-in. Where it fits is the third route, and I'll get to that after the two real Sheets servers. If your data is in Excel files instead, Excel MCP server is the page you want.
Google's own Sheets MCP server
Google publishes a remote MCP server for Sheets at https://sheetsmcp.googleapis.com/mcp/v1. It works with your Google permissions, so the AI can reach the spreadsheets you can reach, and its tools both read and write: get_values and get_spreadsheet for reading, and update_values, update_formulas, append_values, insert_dimension and a few others for changing things.
The setup, from Google's guide, is more involved than pasting a URL:
- 1. Create or pick a Google Cloud project and enable the Google Sheets API and the Sheets MCP API in it.
- 2. Set up the OAuth consent screen with the Sheets and Drive scopes the guide lists.
- 3. Create an OAuth client of type Web application. For Claude, add the redirect URI https://claude.ai/api/mcp/auth_callback.
- 4. In Claude, add a custom connector with the server URL, and enter your OAuth client ID and secret under the advanced settings.
- 5. Sign in with Google when asked.
What to know before you pick it
Google's guide says Claude needs a Pro, Max, Team or Enterprise plan for this. It also carries a warning I'd take seriously. Because the AI can read, change and delete data in your Google account, a spreadsheet from an untrusted source could contain text that hijacks the session, so Google tells you to review what the agent does and to keep it away from sheets you don't trust.
If you need the AI to update a shared sheet that people edit all day, this is the route that actually does it.
Community servers
Before Google shipped its own, people wrote open-source Sheets servers, and plenty are still around on GitHub and PyPI. They generally run on your computer, talk to the Sheets API with credentials you create, and work in desktop apps and coding tools like Claude Desktop, Claude Code and Cursor.
The upside is control, since you can read the code and nothing sits between you and Google. The cost is that you're creating Google credentials and keeping a local process running, and each project differs in what it supports. I haven't tested them one by one, so read the README of whichever you choose and check when it was last updated.
Export the sheet instead
A lot of the time the question is a one-off, something like "what were sales by region last quarter?", and nobody needs the AI editing the sheet. Then a copy is enough. In Google Sheets, File → Download gives you a CSV of the current tab or an Excel file of the whole workbook.
You can attach that to a chat directly if it's small. If it's big, or the layout is messy, or you want the same file in more than one AI app, you can add it to Fileshape on your files page. It finds the header row, types the columns and gives Claude, ChatGPT or Cursor tools to filter and total every row. You can also hide or mask columns before the file is stored, which the live Sheets servers can't do for you, since they see whatever your Google account sees. Connecting it to Claude is covered in Claude MCP, and every other app is in the docs.
The catch with exporting
It's a snapshot. If the sheet changes tomorrow, Fileshape still has yesterday's rows, and you'd import it again. The AI also can't write anything back. For a monthly report that's fine and arguably safer. For a tracker that changes hourly it's the wrong tool, and you should use Google's server.
Which one should you use?
One constraint each:
- You need the AI to edit a live sheet: Google's Sheets MCP server.
- You want it local, free and under your control: a community server, in a desktop app or coding tool.
- You only need answers, and the sheet has personal data you'd like to mask first: export and add the file to Fileshape, or mask it and attach it to the chat.
- It's a small sheet and a quick question: download the CSV and attach it. No server needed. If it has personal columns, hide or mask them first.
Ask AI about this file
Ask ChatGPT, Claude or Cursor about your file. Fileshape cleans it, masks personal columns and gives your AI one link, so totals come from every row.
FAQ
Questions
Is there an official Google Sheets MCP server?
Yes. Google documents a remote Sheets MCP server at sheetsmcp.googleapis.com. You connect it with an OAuth client from your own Google Cloud project.
What is the best Google Sheets MCP server?
There isn't one best. Google's server is the one for reading and editing live sheets. A community server suits people who want to run it locally. Exporting a copy is enough when you only need answers.
Can Claude edit my Google Sheet through MCP?
With Google's Sheets MCP server, yes. It has tools that update values and formulas and append rows. Google's guide says Claude needs a paid plan for it.
Does Fileshape sync with Google Sheets?
No. Fileshape has no Google Sheets connection. You download the sheet as a CSV or Excel file and add that, which gives you a snapshot. When the sheet changes, you add it again.
More from the blog
Keep reading
- Claude MCP: how to add connectors in claude.ai, Claude Desktop and Claude CodeThe three ways to add an MCP server to Claude: custom connectors in claude.ai, the Claude Desktop config file and claude mcp add in Claude Code.
- ChatGPT MCP: how to add an MCP server (what used to be a custom connector)Which ChatGPT plans can add a custom MCP server, the steps on the Plugins page, sign-in options and limits, with a spreadsheet server as the example.
- Filesystem MCP server: what it is, how to set it up, and where it stopsWhat the official Filesystem MCP server does, the Claude Desktop config for it, its tools and limits, and what to use in claude.ai or ChatGPT instead.
- The best MCP servers for files, by what you need them to doAn honest list of MCP servers for files, picked by job: local folders, CSV and Excel, Google Sheets, PDFs, databases and cloud drives.
Updated 2026-12-06