Skip to content
freema avatar

Mcp Gsheets

freema/mcp-gsheets

Read, write, and format Google Sheets through a service account: ranges, tabs, tables, and charts.

CCM score
80 of 100
GitHub stars
106
tools
42
auth
Secret needed
transport
STDIO
env vars
5
last updated
Nov 23, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads with sheets_get_values, sheets_batch_get_values, and sheets_get_metadata; structure and formatting via sheets_get_merged_cells and sheets_get_full_sheet_snapshot
  • Writes with sheets_update_values, sheets_append_values, and sheets_insert_rows; deletions include sheets_delete_rows, sheets_delete_sheet, and sheets_delete_chart
  • Requires a Google Cloud service account JSON key or private key, with the sheet shared to that account as Editor, and runs locally over stdio
  • Designed for data pipelines, report generation, and bulk spreadsheet edits from an MCP client

Tools

42 tools

Public tool metadata for what this MCP can expose to an agent.

sheets_get_valuesRead cell values from a single range

Read cell values from a single range

No parameter schema in public metadata yet.

sheets_batch_get_valuesRead cell values from multiple ranges in one request

Read cell values from multiple ranges in one request

No parameter schema in public metadata yet.

sheets_get_metadataGet spreadsheet metadata: title, locale, sheets list with IDs, row/column counts

Get spreadsheet metadata: title, locale, sheets list with IDs, row/column counts

No parameter schema in public metadata yet.

sheets_check_accessVerify that the service account can access a spreadsheet

Verify that the service account can access a spreadsheet

No parameter schema in public metadata yet.

sheets_update_valuesWrite values to a single range (overwrites existing content)

Write values to a single range (overwrites existing content)

No parameter schema in public metadata yet.

sheets_batch_update_valuesWrite values to multiple ranges in one request

Write values to multiple ranges in one request

No parameter schema in public metadata yet.

sheets_append_valuesAppend rows after the last row of an existing table

Append rows after the last row of an existing table

No parameter schema in public metadata yet.

sheets_clear_valuesClear all values in a range (preserves formatting)

Clear all values in a range (preserves formatting)

No parameter schema in public metadata yet.

sheets_insert_rowsInsert blank or pre-filled rows at a specific position

Insert blank or pre-filled rows at a specific position

No parameter schema in public metadata yet.

sheets_delete_columnsDelete one or more columns using a full-column A1 range

Delete one or more columns using a full-column A1 range

No parameter schema in public metadata yet.

sheets_delete_rowsDelete one or more rows using a full-row A1 range

Delete one or more rows using a full-row A1 range

No parameter schema in public metadata yet.

sheets_insert_linkInsert a hyperlink formula into a cell

Insert a hyperlink formula into a cell

No parameter schema in public metadata yet.

sheets_insert_dateInsert a date/datetime value formatted correctly into a cell

Insert a date/datetime value formatted correctly into a cell

No parameter schema in public metadata yet.

sheets_create_spreadsheetCreate a new Google Sheets file

Create a new Google Sheets file

No parameter schema in public metadata yet.

sheets_insert_sheetAdd a new sheet tab to an existing spreadsheet

Add a new sheet tab to an existing spreadsheet

No parameter schema in public metadata yet.

sheets_delete_sheetRemove a sheet tab by its numeric sheet ID

Remove a sheet tab by its numeric sheet ID

No parameter schema in public metadata yet.

sheets_duplicate_sheetCopy a sheet within the same spreadsheet

Copy a sheet within the same spreadsheet

No parameter schema in public metadata yet.

sheets_copy_toCopy a sheet to a different spreadsheet

Copy a sheet to a different spreadsheet

No parameter schema in public metadata yet.

sheets_update_sheet_propertiesRename a sheet, change tab colour, toggle grid lines, etc.

Rename a sheet, change tab colour, toggle grid lines, etc.

No parameter schema in public metadata yet.

sheets_batch_delete_sheetsDelete multiple sheet tabs in one request

Delete multiple sheet tabs in one request

No parameter schema in public metadata yet.

sheets_format_cellsApply background colour, font style, alignment and number format to a range

Apply background colour, font style, alignment and number format to a range

No parameter schema in public metadata yet.

sheets_batch_format_cellsApply different formats to multiple ranges in one request

Apply different formats to multiple ranges in one request

No parameter schema in public metadata yet.

sheets_update_bordersSet or remove borders on a range

Set or remove borders on a range

No parameter schema in public metadata yet.

sheets_merge_cellsMerge a range of cells

Merge a range of cells

No parameter schema in public metadata yet.

sheets_unmerge_cellsUnmerge previously merged cells in a range

Unmerge previously merged cells in a range

No parameter schema in public metadata yet.

sheets_add_conditional_formattingAdd a conditional formatting rule (gradient or boolean) to a range

Add a conditional formatting rule (gradient or boolean) to a range

No parameter schema in public metadata yet.

sheets_add_tableCreate a native Google Sheets table with typed columns and optional dropdown values

Create a native Google Sheets table with typed columns and optional dropdown values

No parameter schema in public metadata yet.

sheets_update_tableUpdate an existing native Google Sheets table by table ID using an explicit field mask

Update an existing native Google Sheets table by table ID using an explicit field mask

No parameter schema in public metadata yet.

sheets_delete_tableDelete a native Google Sheets table by table ID

Delete a native Google Sheets table by table ID

No parameter schema in public metadata yet.

sheets_get_tablesRead native tables for a spreadsheet or a specific sheet

Read native tables for a spreadsheet or a specific sheet

No parameter schema in public metadata yet.

sheets_create_chartCreate a bar, line, pie, column or other chart on a sheet

Create a bar, line, pie, column or other chart on a sheet

No parameter schema in public metadata yet.

sheets_update_chartModify an existing chart's spec or position

Modify an existing chart's spec or position

No parameter schema in public metadata yet.

sheets_delete_chartRemove a chart from a spreadsheet

Remove a chart from a spreadsheet

No parameter schema in public metadata yet.

sheets_get_merged_cellsReturn all merged cell ranges for a sheet, with A1 notation and raw GridRange coordinates

Return all merged cell ranges for a sheet, with A1 notation and raw GridRange coordinates

No parameter schema in public metadata yet.

sheets_get_sheet_dimensionsReturn column widths, row heights, frozen column/row counts, and hidden flags for every column and row

Return column widths, row heights, frozen column/row counts, and hidden flags for every column and row

No parameter schema in public metadata yet.

sheets_get_sheet_formattingRead raw cell formatting for a range without returning cell values

Read raw cell formatting for a range without returning cell values

No parameter schema in public metadata yet.

sheets_get_conditional_formattingRead all conditional formatting rules and banded ranges defined on a sheet

Read all conditional formatting rules and banded ranges defined on a sheet

No parameter schema in public metadata yet.

sheets_get_sheet_structureLightweight structural metadata only, no per-cell data

Lightweight structural metadata only, no per-cell data

No parameter schema in public metadata yet.

sheets_get_formatting_compactRead cell formatting for a range and return it as compact A1Range to format pairs (run-length encoded)

Read cell formatting for a range and return it as compact A1Range to format pairs (run-length encoded)

No parameter schema in public metadata yet.

sheets_get_full_sheet_snapshotReturns all structural and formatting metadata in a single API call

Returns all structural and formatting metadata in a single API call

No parameter schema in public metadata yet.

sheets_get_basic_filterRead the Basic Filter (AutoFilter) configuration for a sheet

Read the Basic Filter (AutoFilter) configuration for a sheet

No parameter schema in public metadata yet.

sheets_get_data_validationRead data validation rules from a sheet or range

Read data validation rules from a sheet or range

No parameter schema in public metadata yet.

Configuration

GOOGLE_PROJECT_ID*

Google Cloud project ID

GOOGLE_APPLICATION_CREDENTIALS

Path to service account key JSON file (auth method 1)

GOOGLE_SERVICE_ACCOUNT_KEYsecret

Service account key as JSON string (auth method 2)

GOOGLE_PRIVATE_KEYsecret

Service account private key in PEM format (auth method 3)

GOOGLE_CLIENT_EMAIL

Service account email (auth method 3)

Readme

MCP Google Sheets Server

badge

npm version CI Coverage License: MIT TypeScript Node code style: prettier

A Model Context Protocol (MCP) server for Google Sheets API integration. Enables reading, writing, and managing Google Sheets documents directly from your MCP client (e.g., Claude Code, Claude Desktop, Cursor, etc.).

Key Features


View the full README on GitHub

Details

Repository
github.com/freema/mcp-gsheets
Categories
Productivity & Notes, Data & Analytics
Package
mcp-gsheets
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from freema

All 2

Similar to Mcp Gsheets

More Productivity & Notes