1. Conduid
  2. Data
  3. freema/mcp-gsheets
MCP server · Data

freema/mcp-gsheets

MCP server for Google Sheets - Read, write and manipulate spreadsheets through Claude Desktop

79Good

Scored 8 hours ago · breakdown

About freema/mcp-gsheets

freema/mcp-gsheets is an MCP server published by freema in the Data category: mCP server for Google Sheets - Read, write and manipulate spreadsheets through Claude Desktop. Conduid read 44 tools from its source: sheets_add_conditional_formatting, sheets_add_table, sheets_append_values, sheets_batch_delete_sheets, sheets_batch_format_cells, sheets_batch_get_values and 38 more. It is published to npm as mcp-gsheets and starts with npx.

The repository has 106 stars and 24 forks, is licensed MIT, and its last commit was on 29 Nov 2026. The latest release is v1.10.3 (19 Sep 2026). It follows v1.10.2 (16 Aug 2026), and the 5 most recent releases go back to v1.9.0 (10 Jul 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools, automation and google-sheets-api.

Install

Install
npx mcp-gsheets
Claude Code
claude mcp add gsheets -- npx -y mcp-gsheets@latest
Run
npx -y mcp-gsheets@latest
From source
git clone https://github.com/freema/mcp-gsheets

Tools (44)

sheets_add_conditional_formattingAdd a conditional formatting rule (gradient or boolean) to a range
sheets_add_tableCreate a native Google Sheets table with typed columns and optional dropdown values
ParameterTypeDescription
columns *arrayColumn definitions for the table
name *stringUnique table name within the spreadsheet
range *stringA1 notation range for the table, e.g. "A1:D20" or "Sheet1!A1:D20"
sheetName *stringName of the sheet (tab) where the table will be created
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_append_valuesAppend rows after the last row of an existing table. Default `insertDataOption` is `OVERWRITE` — set `INSERT_ROWS` to push existing rows down
ParameterTypeDescription
insertDataOptionstringHow the input data should be inserted (default: OVERWRITE)
range *stringThe A1 notation range of the table to append to (e.g., "Sheet1!A:B")
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
valueInputOptionstringHow the input data should be interpreted (default: USER_ENTERED)
values *arrayA 2D array of values to append, where each inner array represents a row
sheets_batch_delete_sheetsDelete multiple sheet tabs in one request
ParameterTypeDescription
sheetIds *arrayArray of sheet IDs to delete (use sheets_get_metadata to find sheet IDs)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_batch_format_cellsApply different formats to multiple ranges in one request
ParameterTypeDescription
formatRequests *arrayArray of format requests, each containing a range and format object
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_batch_get_valuesRead cell values from multiple ranges in one request
ParameterTypeDescription
majorDimensionstringThe major dimension of the values (default: ROWS)
ranges *arrayArray of A1 notation ranges to retrieve (e.g., ["Sheet1!A1:B10", "Sheet2!C1:D5"])
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
valueRenderOptionstringHow values should be represented (default: FORMATTED_VALUE)
sheets_batch_update_valuesWrite values to multiple ranges in one request
ParameterTypeDescription
data *arrayArray of range-value pairs to update
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
valueInputOptionstringHow the input data should be interpreted (default: USER_ENTERED)
sheets_check_accessVerify that the service account can access a spreadsheet
ParameterTypeDescription
spreadsheetId *stringThe ID of the spreadsheet to check access for
sheets_clear_valuesClear all values in a range (preserves formatting)
ParameterTypeDescription
range *stringThe A1 notation range to clear (e.g., "Sheet1!A1:B10")
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_compare_rangesCompare cell formatting between two ranges of identical dimensions. Useful for verifying repeated patterns, e.g. "do all data rows 6–85 have identical formatting?" or "is row 10 formatted identically to the template row 5?". Returns a diff listing only the cells and properties that differ between the two ranges. Cells are compared position-by-position; rangeA and rangeB must have the same number of rows and columns. Use fields to restrict comparison to specific format properties.
ParameterTypeDescription
fieldsarrayOptional list of format property names to compare, e.g. ["backgroundColor", "textFormat"]. All format properties compared if omitted.
rangeA *stringFirst range with sheet prefix, e.g. "Sheet1!A6:Z6"
rangeB *stringSecond range with sheet prefix, e.g. "Sheet1!A7:Z7"
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
useEffectiveFormatbooleanDefault: false. Compare effectiveFormat (true) or userEnteredFormat (false). effectiveFormat includes conditional formatting overlays.
sheets_copy_toCopy a sheet to a different spreadsheet
ParameterTypeDescription
destinationSpreadsheetId *stringThe ID of the destination spreadsheet
sheetId *numberThe ID of the sheet to copy (use sheets_get_metadata to find sheet IDs)
spreadsheetId *stringThe ID of the source spreadsheet (found in the URL after /d/)
sheets_create_chartCreate a bar, line, pie, column or other chart on a sheet
ParameterTypeDescription
altTextstringAlternative text for accessibility
backgroundColorobjectChart background color
chartType *stringType of chart to create
domainAxisobjectDomain (X) axis configuration
domainRangestringOptional domain range in A1 notation (e.g., "A2:A5" or "My Sheet"!A2:A5). If not provided, column A will be used
leftAxisobjectLeft (Y) axis configuration
legendobjectLegend configuration
position *objectChart position settings with overlay position. Use overlayPosition.anchorCell.sheetId to specify the sheet.
rightAxisobjectRight (Y) axis configuration
series *arrayArray of data series for the chart
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
subtitlestringChart subtitle (optional)
titlestringChart title (optional)
sheets_create_spreadsheetCreate a new Google Sheets file
ParameterTypeDescription
sheetsarrayArray of sheets to create in the spreadsheet
title *stringThe title of the new spreadsheet
sheets_delete_chartRemove a chart from a spreadsheet
ParameterTypeDescription
chartId *numberThe ID of the chart to delete (use sheets_get_metadata to find chart IDs)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_delete_columnsDelete one or more columns using a full-column A1 range
ParameterTypeDescription
range *stringFull-column A1 range to delete (e.g., "Sheet1!B:D" or "Sheet1!C:C"). If sheet name is omitted, the first sheet is used
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_delete_rowsDelete one or more rows using a full-row A1 range
ParameterTypeDescription
range *stringFull-row A1 range to delete (e.g., "Sheet1!2:4" or "Sheet1!3:3"). If sheet name is omitted, the first sheet is used
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_delete_sheetRemove a sheet tab by its numeric sheet ID
ParameterTypeDescription
sheetId *numberThe ID of the sheet to delete (use sheets_get_metadata to find sheet IDs)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_delete_tableDelete a native Google Sheets table by table ID
ParameterTypeDescription
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
tableId *stringThe ID of the table to delete
sheets_duplicate_sheetCopy a sheet within the same spreadsheet
ParameterTypeDescription
insertSheetIndexnumberThe index where the new sheet should be inserted (0-based)
newSheetNamestringThe name for the duplicated sheet
sheetId *numberThe ID of the sheet to duplicate (use sheets_get_metadata to find sheet IDs)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_format_cellsApply background colour, font style, alignment and number format to a range
sheets_get_basic_filterRead the Basic Filter (AutoFilter) configuration for a sheet, including filtered range, sort specs, and per-column filter criteria (hidden values, conditions, colour filters)
ParameterTypeDescription
sheetName *stringName of the sheet (tab) to inspect
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_border_mapReturns a visual tabular map of borders for a range. Instead of per-cell JSON with 4 separate border objects, returns compact grids showing which cells have top/bottom/left/right borders and their styles. Solves the ambiguity between "right border of cell N" vs "left border of cell N+1". Output: a horizontal-lines grid and a vertical-lines grid, each as a 2D array of line styles. Set includeStyle:true to include color and width details (larger output).
ParameterTypeDescription
includeStylebooleanDefault: false. When true, each border line includes color and width details. When false, only the style name (SOLID, DASHED, etc.) is shown — more compact.
range *stringRange with sheet prefix, e.g. "Sheet1!A1:F10". Sheet name is required to resolve the range correctly.
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_conditional_formattingRead all conditional formatting rules and banded (alternating-colour) ranges defined on a sheet
ParameterTypeDescription
normalizeFormulasbooleanDefault: true. Normalize formula separators to English locale (semicolons → commas). Each normalized rule includes "_formulaLocaleRaw" with the original formula. Set to false to get formulas exactly as returned by the Google Sheets API.
sheetName *stringName of the sheet (tab) to inspect
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_data_validationRead data validation rules (checkboxes, dropdowns, custom formulas) from a sheet or range. Returns compact run-length-encoded list of unique rules grouped by cell ranges
ParameterTypeDescription
rangestringOptional range WITHOUT sheet prefix, e.g. "A1:Z85". If omitted, the entire sheet is inspected.
sheetName *stringName of the sheet (tab) to inspect
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_formatting_compactRead cell formatting for a range and return it as compact A1Range→format pairs (run-length encoded). Identical adjacent cells are collapsed into rectangular ranges — reduces output by 90 %+ compared to per-cell data
ParameterTypeDescription
fieldsarrayOptional list of format fields to include, e.g. ["backgroundColor", "textFormat", "borders"]. All supported fields returned if omitted.
range *stringRange WITHOUT sheet prefix, e.g. "A1:Z85"
sheetName *stringName of the sheet (tab)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
useEffectiveFormatbooleanUse effectiveFormat (true, includes all inherited defaults) or userEnteredFormat (false, default — only explicit overrides). userEnteredFormat produces much smaller output.
sheets_get_full_sheet_snapshotMaster one-shot tool — returns all structural and formatting metadata (merges, dimensions, conditional formatting, and optionally cell formatting) in a single API call. Supports `fields` filter and `compactMode` to limit response size
ParameterTypeDescription
compactModebooleanDefault: false. Full per-cell formatting is returned unless compactMode:true is set. When true, adjacent cells with identical formatting are collapsed into range descriptors (run-length encoded), reducing output by 90%+ for typical formatted sheets. Only applies when includeFormattingRange is set.
fieldsarrayOptional list of format field names to include, e.g. ["backgroundColor", "textFormat", "borders"]. Reduces response size by excluding unused format properties. All fields returned if omitted.
includeConditionalFormattingbooleanDefault: true. Include conditional formatting rules and banded ranges in the snapshot. CF formulas are normalized to English locale (semicolons → commas). Set to false to reduce output size when CF rules are not needed.
includeFormattingRangestringOptional range WITHOUT sheet prefix (e.g. "A1:Z85") to include cell-level formatting. If omitted, only structural metadata is returned.
sheetName *stringName of the sheet (tab) to snapshot
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
useEffectiveFormatbooleanIf includeFormattingRange is set: use effectiveFormat (true) or userEnteredFormat (false, default).
sheets_get_merged_cellsReturn all merged cell ranges for a sheet, with A1 notation and raw GridRange coordinates
ParameterTypeDescription
sheetName *stringName of the sheet (tab) to inspect
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_metadataGet spreadsheet metadata: title, locale, sheets list with IDs, row/column counts
ParameterTypeDescription
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_sheet_dimensionsReturn column widths, row heights, frozen column/row counts, and hidden flags for every column and row
ParameterTypeDescription
sheetName *stringName of the sheet (tab) to inspect
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_sheet_formattingRead raw cell formatting (background colour, font, borders, alignment, number format) for a range without returning cell values
ParameterTypeDescription
range *stringRange in A1 notation, MUST include sheet name, e.g. "Dyspozycje!A1:Z85"
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
useEffectiveFormatbooleanIf true, returns effectiveFormat (includes inherited/default styles). Default: false (userEnteredFormat only).
sheets_get_sheet_structureLightweight structural metadata only — no per-cell data. Returns dimensions, frozen rows/cols, tab colour, column widths, row heights, hidden columns/rows, and all merges in A1 notation. Single fast API call
ParameterTypeDescription
sheetName *stringName of the sheet (tab) to inspect
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_tablesRead native tables for a spreadsheet or a specific sheet
ParameterTypeDescription
sheetNamestringOptional name of the sheet (tab) to inspect
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
sheets_get_valuesRead cell values from a single range
ParameterTypeDescription
majorDimensionstringThe major dimension of the values (default: ROWS)
range *stringThe A1 notation range to retrieve (e.g., "Sheet1!A1:B10")
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
valueRenderOptionstringHow values should be represented (default: FORMATTED_VALUE)
sheets_insert_dateInsert a date/datetime value formatted correctly into a cell
ParameterTypeDescription
autoDetectbooleanAutomatically detect and parse date format (default: true)
date *stringDate to insert (supports various formats: YYYY-MM-DD, DD.MM.YYYY, MM/DD/YYYY, or relative dates like "today", "tomorrow")
formatstringDate format preference (locale=spreadsheet locale, iso=YYYY-MM-DD, us=MM/DD/YYYY, eu=DD.MM.YYYY)
range *stringThe A1 notation range to insert the date (e.g., "Sheet1!A1")
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
useEUFormatbooleanUse semicolon separator for EU locale sheets (auto-detected from user language/context if not specified)
sheets_insert_linkInsert a hyperlink formula into a cell
ParameterTypeDescription
range *stringThe A1 notation range to insert the link (e.g., "Sheet1!A1" or "A1:B2")
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
textstringCustom display text for the link (optional - if not provided, the URL will be displayed)
url *stringThe URL to link to (must be a valid URL)
useEUFormatbooleanUse semicolon separator for EU locale sheets (auto-detected from user language/context if not specified)
validationbooleanWhether to validate the URL format (default: true)
sheets_insert_rowsInsert blank or pre-filled rows at a specific position
ParameterTypeDescription
inheritFromBeforebooleanWhether to inherit formatting from the row before (default: false)
positionstringPosition relative to the anchor row (default: BEFORE)
range *stringThe A1 notation anchor point where rows will be inserted (e.g., "Sheet1!A5")
rowsnumberNumber of rows to insert (default: 1)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
valueInputOptionstringHow the input data should be interpreted (default: USER_ENTERED)
valuesarrayOptional 2D array of values to fill the newly inserted rows
sheets_insert_sheetAdd a new sheet tab to an existing spreadsheet
ParameterTypeDescription
columnCountnumberNumber of columns in the sheet (default: 26)
indexnumberThe index where the sheet should be inserted (0-based)
rowCountnumberNumber of rows in the sheet (default: 1000)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
title *stringThe title of the new sheet
sheets_merge_cellsMerge a range of cells
sheets_unmerge_cellsUnmerge previously merged cells in a range
sheets_update_bordersSet or remove borders on a range (style, width, colour per side)
sheets_update_chartModify an existing chart's spec or position
ParameterTypeDescription
altTextstringUpdated alternative text for accessibility (optional)
backgroundColorobjectUpdated chart background color (optional)
chartId *numberThe ID of the chart to update (use sheets_get_metadata to find chart IDs)
chartTypestringUpdated chart type (optional)
domainAxisobjectUpdated domain (X) axis configuration (optional)
leftAxisobjectUpdated left (Y) axis configuration (optional)
legendobjectUpdated legend configuration (optional)
positionobjectUpdated chart position settings (optional)
rightAxisobjectUpdated right (Y) axis configuration (optional)
seriesarrayUpdated array of data series for the chart (optional)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
subtitlestringUpdated chart subtitle (optional)
titlestringUpdated chart title (optional)
sheets_update_sheet_propertiesRename a sheet, change tab colour, toggle grid lines, etc.
ParameterTypeDescription
gridPropertiesobjectGrid properties to update
sheetId *numberThe ID of the sheet to update (use sheets_get_metadata to find sheet IDs)
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
tabColorobjectTab color (RGB values from 0.0 to 1.0)
titlestringNew title for the sheet
sheets_update_tableUpdate an existing native Google Sheets table by table ID using an explicit field mask
ParameterTypeDescription
columnsarrayOptional replacement column definitions for the table
fields *stringRequired field mask for the table update, e.g. "name", "range", "columnProperties", or "name,range"
namestringOptional new table name
rangestringOptional new A1 notation range for the table, e.g. "A1:D20"
sheetNamestringName of the target sheet when updating the table range
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
tableId *stringThe ID of the table to update
sheets_update_valuesWrite values to a single range (overwrites existing content)
ParameterTypeDescription
range *stringThe A1 notation range to update. Use "Sheet1!A1:B10" for exact range (must match row count exactly) or "Sheet1!A1" for flexible range that auto-expands based on data. TIP: If updating multiple rows with varying content, use flexible range (e.g., "A42" instead of "A42:E53") to avoid row count mismatch errors.
spreadsheetId *stringThe ID of the spreadsheet (found in the URL after /d/)
valueInputOptionstringHow the input data should be interpreted (default: USER_ENTERED)
values *arrayA 2D array of values to update, where each inner array represents a row

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.2K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 68 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:18
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 68 files: places to read, not proof of what the code does at run time.

Releases

v1.10.3v1.10.3 · 19 Sep 2026What's Changed deps: bump eslint from 10.8.0 to 10.8.1 by @dependabot[bot] in https://github.com/freema/mcp-gsheets/pull/140 deps: bump googleapis from 171.4.0 to 174.0.1 by @dependabot[bot] in…
v1.10.2v1.10.2 · 16 Aug 2026What's Changed fix: publish JSON Schema instead of Zod internals in tool input schemas by @jreinaldo-batfer in https://github.com/freema/mcp-gsheets/pull/139 New Contributors @jreinaldo-batfer made their first contribution in…
v1.10.1v1.10.1 · 10 Aug 2026What's Changed chore: upgrade to eslint 10 by @freema in https://github.com/freema/mcp-gsheets/pull/131 deps: bump zod from 3.25.76 to 4.4.3 by @dependabot[bot] in https://github.com/freema/mcp-gsheets/pull/132 deps: bump…
v1.10.0v1.10.0 · 27 Jul 2026What's Changed fix(ci): actually generate and upload coverage by @freema in https://github.com/freema/mcp-gsheets/pull/129 feat: add GSHEETS_TOOLSETS and GSHEETS_READ_ONLY to cut context cost by @freema in…
v1.9.0v1.9.0 · 10 Jul 2026What's Changed Add Google Sheets native Tables MCP tools by @aldoborrero in https://github.com/freema/mcp-gsheets/pull/128 New Contributors @aldoborrero made their first contribution in https://github.com/freema/mcp-gsheets/pull/128 Full…

README

The repository's README runs to about 3.2K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About freema/mcp-gsheets

How do I install freema/mcp-gsheets?

Run npx mcp-gsheets, then add the server to your MCP client's configuration.

Is freema/mcp-gsheets safe to use with an AI agent?

Its trust score is 79 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 68 source files found that it serves MCP over stdio. Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is freema/mcp-gsheets still maintained?

Yes — the latest release is v1.10.3 (19 Sep 2026), and the last commit was 3 days ago. The repository has 106 stars and 6 open issues.

What tools does freema/mcp-gsheets provide?

Conduid read 44 tools from the source: sheets_add_conditional_formatting, sheets_add_table, sheets_append_values, sheets_batch_delete_sheets, sheets_batch_format_cells, sheets_batch_get_values, sheets_batch_update_values, sheets_check_access and 36 more. 39 of them publish their parameters, listed under Tools above.

What license is freema/mcp-gsheets released under?

The repository declares the MIT license. That applies to the latest release, v1.10.3, as well.