Google Sheets MCP Server — Hosted Web Search Integration
MCP Server language Hosted language PublicRead, write, and format Google Sheets data — use your spreadsheets as a live AI-accessible data source.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"google-sheets": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-google-sheets",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify google sheets credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-google-sheets — Google Sheets MCP Server
Read, write, search, and format Google Sheets spreadsheets — give AI agents a live data layer backed by the world's most popular spreadsheet tool.
Google Sheets is used by millions of teams as a lightweight database, reporting tool, and operational hub. This MCP server gives your agents full access to the Sheets API v4: reading and writing cell ranges, appending rows, searching data, managing sheet tabs, applying formatting, and creating new spreadsheets — making Sheets a fully programmable data store for AI-driven workflows.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-google-sheets
What You Can Do
- Use a Google Sheet as a live operational database — read rows, append records, and update cells from AI agents
- Automate reporting by writing analysis results, summaries, or extracted data directly into spreadsheets
- Search across sheet data with substring matching to find specific records without exporting
- Manage spreadsheet structure — add, rename, copy, or delete sheet tabs programmatically
Available Tools
| Tool | Description |
|---|---|
| get_spreadsheet | Get spreadsheet metadata — title, sheet names, grid dimensions, named ranges |
| create_spreadsheet | Create a new spreadsheet with a title and optional initial sheet tabs |
| list_sheets | List all sheet tabs in a spreadsheet with IDs and indexes |
| read_range | Read cell values from a specific A1 notation range |
| read_multiple_ranges | Batch-read multiple ranges in a single API call |
| get_all_values | Read all values from an entire sheet tab |
| find_row | Search for rows where any cell contains a substring (case-insensitive) |
| write_range | Write a 2D array of values to a range, overwriting existing cells |
| append_rows | Append new rows after the last row with data |
| clear_range | Clear all values from a range without affecting formatting |
| update_cell | Update a single cell value or formula |
| batch_update_values | Update multiple ranges in one API call |
| add_sheet | Add a new sheet tab to an existing spreadsheet |
| delete_sheet | Permanently delete a sheet tab and all its data |
| rename_sheet | Rename a sheet tab |
| copy_sheet | Copy a sheet tab to another (or the same) spreadsheet |
| format_range | Apply bold text or background color to a cell range |
| auto_resize_columns | Auto-resize columns to fit their content |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
| GOOGLE_SHEETS_ACCESS_TOKEN | Yes | OAuth 2.0 access token with spreadsheets scope |
Google Cloud Console → APIs → Sheets API → OAuth 2.0 credentials |
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Google Sheets" and click Add to Workspace
- Add your
GOOGLE_SHEETS_ACCESS_TOKENunder Project → Secrets
Once added, every AI agent in your workspace can read and write Google Sheets automatically — no per-user setup needed.
Example Prompts
"Append a new row to the Sales Pipeline sheet with today's date, Acme Corp, and $50,000 deal value"
"Search the Customers sheet for any row containing 'enterprise' and return the results"
"Create a new spreadsheet called 'Q1 Report' with tabs for Revenue, Expenses, and Summary"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-google-sheets \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-GOOGLE-SHEETS-ACCESS-TOKEN: your-token' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"read_range","arguments":{"spreadsheet_id":"1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms","range":"Sheet1!A1:D10"}}}'
License
MIT
terminal Tools (19)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
_ping #1 Verify Google Sheets credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.
get_spreadsheet #2 Get metadata for a spreadsheet — title, locale, sheet names, sheet IDs, grid properties, and named ranges. Does not return cell data.
create_spreadsheet #3 Create a new Google Sheets spreadsheet with a title and optional initial sheets. Returns the spreadsheetId and URL.
list_sheets #4 List all sheet tabs in a spreadsheet — returns sheet ID, title, and tab index for each sheet.
read_range #5 Read cell values from a specific range. Range can be a full A1 notation like "Sheet1!A1:D10" or just column span like "A:D" (reads all rows).
read_multiple_ranges #6 Read multiple ranges in a single API call (batch read). More efficient than calling read_range multiple times.
get_all_values #7 Read all cell values from an entire sheet tab. Returns every row and column in the sheet.
find_row #8 Search for rows where any cell contains the given search term (case-insensitive substring match). Reads the range then filters rows in code.
write_range #9 Write values to a range (overwrites existing cell values). Uses USER_ENTERED mode so formulas and dates are parsed correctly.
append_rows #10 Append rows after the last row with data in a range. Inserts new rows so existing data is never overwritten.
clear_range #11 Clear all values from a range (cells become empty). Does not delete the cells or affect formatting.
update_cell #12 Update a single cell value. Simpler than write_range when only one cell needs to be updated.
batch_update_values #13 Update multiple ranges in a single API call. More efficient than calling write_range multiple times.
add_sheet #14 Add a new sheet tab to an existing spreadsheet. Returns the new sheet ID and index.
delete_sheet #15 Delete a sheet tab by its numeric sheet ID. WARNING: this permanently deletes the sheet and all its data.
rename_sheet #16 Rename a sheet tab to a new title.
copy_sheet #17 Copy a sheet tab to another (or the same) spreadsheet. Returns the new sheet ID in the destination spreadsheet.
format_range #18 Apply formatting to a range of cells — bold text, background color. Uses repeatCell batchUpdate request.
auto_resize_columns #19 Auto-resize columns to fit their content in a sheet. Resizes a range of columns or all columns.
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-google-sheets
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
Tags
More in Web Search
Browse Web Search MCPs →Elasticsearch
by @aerostack
Search, index, and manage documents in your Elasticsearch cluster — AI-native full-text search and analytics.
Firecrawl
by @aerostack
Scrape web pages, crawl entire sites, extract structured data, and search the web — AI-native web data extraction for RAG pipelines.
Google Ads
by @aerostack
Manage Google Ads campaigns, ad groups, keywords, and budgets — automate your PPC advertising with AI.
Webflow
by @aerostack
Manage CMS collections, publish content, and control site deployments in Webflow — AI-powered web publishing.
Google Docs
by @aerostack
Create, read, edit, and format Google Docs — paragraph styling, tables, images, comments, and real-time collaboration via Google Docs API.
Google Meet
by @aerostack
Create and manage Google Meet spaces, schedule meetings via Google Calendar, list participants, access recordings and transcripts.
Frequently asked questions
What is the Google Sheets MCP server and what can it do? +
The Google Sheets MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `get_spreadsheet`, `create_spreadsheet`, `list_sheets`, `read_range`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Google Sheets MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Google Sheets MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Google Sheets MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Google Sheets MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-google-sheets": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-google-sheets"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Google Sheets MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-google-sheets", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-google-sheets"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Google Sheets MCP require authentication? +
Yes. Google Sheets requires authentication. Check the MCP's documentation for the required credentials.