Excel MCP Server

pivot_table

Transform Excel data using a pivot table by specifying index, columns, values, and aggregation function. Analyze and summarize spreadsheet information efficiently with the MCP server.

Instructions

Create a pivot table from Excel data. Args: file_path: Path to the Excel file index: Column to use as the pivot table index columns: Optional column to use as the pivot table columns values: Column to use as the pivot table values aggfunc: Aggregation function ('mean', 'sum', 'count', etc.) sheet_name: Name of the sheet to pivot (for Excel files) Returns: Pivot table as string

Input Schema

NameRequiredDescriptionDefault
aggfuncNomean
columnsNo
file_pathYes
indexYes
sheet_nameNo
valuesNo

Input Schema (JSON Schema)

{ "properties": { "aggfunc": { "default": "mean", "title": "Aggfunc", "type": "string" }, "columns": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Columns" }, "file_path": { "title": "File Path", "type": "string" }, "index": { "title": "Index", "type": "string" }, "sheet_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Sheet Name" }, "values": { "default": null, "title": "Values", "type": "string" } }, "required": [ "file_path", "index" ], "title": "pivot_tableArguments", "type": "object" }

You must be authenticated.

Other Tools from Excel MCP Server

Related Tools

ID: vda5rccucp