Google Sheets Mcp Server
Pricing
Pay per usage
Go to Apify Store
Under maintenance
Google Sheets Mcp Server
MCP server for Google Sheets. AI agents can read, write, and manage spreadsheets. 14 tools: cell/range CRUD, formulas, batch operations, JSON export, and sheet tab management. Service account or API key auth.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
CQ
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 hours ago
Last modified
Categories
Share
MCP server enabling AI assistants to read, write, and manage Google Sheets. 14 tools with full CRUD operations, batch processing, and formula support. Uses Google Sheets API v4.
Features
- Read/Write cells and ranges — single cells, ranges, or batch operations
- Append rows — add data after existing content
- Sheet management — create, delete, and list sheet tabs
- Formula support — get and set formulas in cells
- JSON export — export sheet data with automatic header detection
- Batch operations — read/write multiple ranges in one API call
- Flexible auth — service account (full access) or API key (read-only)
- URL parsing — accepts spreadsheet URL or ID
Input
{"credentialsJson": "{ ... service account JSON ... }","spreadsheetId": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms","toolCall": {"name": "sheets_read_range","arguments": {"range": "Sheet1!A1:D10","include_headers": true}}}
Authentication Options
| Parameter | Access Level | Description |
|---|---|---|
credentialsJson | Full read/write | Google service account JSON (raw or base64) |
apiKey | Read-only | Google API key |
Spreadsheet Selection
Provide either:
spreadsheetId: The spreadsheet ID (from the URL)spreadsheetUrl: Full Google Sheets URL (ID extracted automatically)
Tools (14)
| Tool | Description |
|---|---|
sheets_read_cell | Read a single cell value |
sheets_read_range | Read a range with optional headers |
sheets_write_cell | Write to a single cell |
sheets_write_range | Write a 2D array to a range |
sheets_append_rows | Append rows after existing data |
sheets_list_sheets | List all sheet tabs |
sheets_create_sheet | Create a new sheet tab |
sheets_delete_sheet | Delete a sheet tab |
sheets_clear_range | Clear values from a range |
sheets_get_formula | Get formula from a cell |
sheets_set_formula | Set formula in a cell |
sheets_to_json | Export sheet as JSON (headers = first row) |
sheets_info | Get spreadsheet metadata and stats |
sheets_batch_update | Read/write multiple ranges in one call |
Setup
- Create a Google Cloud project
- Enable the Google Sheets API
- Create a service account and download the JSON key
- Share your spreadsheet with the service account email
- Pass the JSON key as
credentialsJsonin the actor input
Output
Each tool call returns a result with success: true/false and relevant data.