0.1.0npm · @shmaxi/excel-mcp-server · current release
Observed 2026-08-22T22:05:49.796Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
apply_formulaApply a formula to a cellInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
},
"cell": {
"type": "string",
"description": "Cell reference (e.g., \"A1\")"
},
"formula": {
"type": "string",
"description": "Excel formula (e.g., \"=SUM(A1:A10)\")"
}
},
"required": [
"file_path",
"sheet_name",
"cell",
"formula"
]
} | — | — · — | — |
copy_rangeCopy a range of cells to another locationInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"source_sheet": {
"type": "string",
"description": "Source worksheet name"
},
"source_range": {
"type": "string",
"description": "Source range (e.g., \"A1:C10\")"
},
"target_sheet": {
"type": "string",
"description": "Target worksheet name"
},
"target_cell": {
"type": "string",
"description": "Target starting cell (e.g., \"E1\")"
}
},
"required": [
"file_path",
"source_sheet",
"source_range",
"target_sheet",
"target_cell"
]
} | — | — · — | — |
copy_worksheetCopy a worksheet within the same workbookInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"source_sheet": {
"type": "string",
"description": "Name of the worksheet to copy"
},
"target_sheet": {
"type": "string",
"description": "Name for the copied worksheet"
}
},
"required": [
"file_path",
"source_sheet",
"target_sheet"
]
} | — | — · — | — |
create_chartCreate a chart in the worksheetInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
},
"chart_type": {
"type": "string",
"description": "Type of chart (column, bar, line, pie, area, scatter)",
"enum": [
"column",
"bar",
"line",
"pie",
"area",
"scatter"
]
},
"data_range": {
"type": "string",
"description": "Data range for the chart (e.g., \"A1:B10\")"
},
"position": {
"type": "object",
"description": "Chart position",
"properties": {
"cell": {
"type": "string",
"description": "Top-left cell for the chart"
},
"width": {
"type": "number",
"description": "Chart width in pixels",
"default": 600
},
"height": {
"type": "number",
"description": "Chart height in pixels",
"default": 400
}
},
"required": [
"cell"
]
},
"options": {
"type": "object",
"description": "Additional chart options",
"properties": {
"title": {
"type": "string"
},
"xAxis": {
"type": "object",
"properties": {
"title": {
"type": "string"
}
}
},
"yAxis": {
"type": "object",
"properties": {
"title": {
"type": "string"
}
}
},
"legend": {
"type": "object",
"properties": {
"position": {
"type": "string",
"enum": [
"top",
"bottom",
"left",
"right"
]
}
}
}
}
}
},
"required": [
"file_path",
"sheet_name",
"chart_type",
"data_range",
"position"
]
} | — | — · — | — |
create_pivot_tableCreate a pivot tableInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"source_sheet": {
"type": "string",
"description": "Source worksheet name"
},
"source_range": {
"type": "string",
"description": "Source data range"
},
"target_sheet": {
"type": "string",
"description": "Target worksheet for pivot table"
},
"target_cell": {
"type": "string",
"description": "Target cell for pivot table",
"default": "A1"
},
"rows": {
"type": "array",
"description": "Fields for rows",
"items": {
"type": "string"
}
},
"columns": {
"type": "array",
"description": "Fields for columns",
"items": {
"type": "string"
}
},
"values": {
"type": "array",
"description": "Fields for values",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"function": {
"type": "string",
"enum": [
"sum",
"count",
"average",
"min",
"max"
]
}
}
}
}
},
"required": [
"file_path",
"source_sheet",
"source_range",
"target_sheet"
]
} | — | — · — | — |
create_workbookCreate a new Excel workbookInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path where the workbook will be saved"
},
"sheet_name": {
"type": "string",
"description": "Name of the initial worksheet",
"default": "Sheet1"
}
},
"required": [
"file_path"
]
} | — | — · — | — |
create_worksheetCreate a new worksheet in an existing workbookInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name for the new worksheet"
}
},
"required": [
"file_path",
"sheet_name"
]
} | — | — · — | — |
delete_rangeDelete a range of cellsInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Worksheet name"
},
"range": {
"type": "string",
"description": "Range to delete (e.g., \"A1:C10\")"
},
"shift": {
"type": "string",
"description": "Shift direction after deletion",
"enum": [
"up",
"left",
"none"
],
"default": "none"
}
},
"required": [
"file_path",
"sheet_name",
"range"
]
} | — | — · — | — |
delete_worksheetDelete a worksheet from a workbookInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet to delete"
}
},
"required": [
"file_path",
"sheet_name"
]
} | — | — · — | — |
format_rangeApply formatting to a range of cellsInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
},
"range": {
"type": "string",
"description": "Cell range to format (e.g., \"A1:D10\")"
},
"format": {
"type": "object",
"description": "Formatting options",
"properties": {
"font": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"size": {
"type": "number"
},
"bold": {
"type": "boolean"
},
"italic": {
"type": "boolean"
},
"underline": {
"type": "boolean"
},
"color": {
"type": "string"
}
}
},
"fill": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"pattern": {
"type": "string"
},
"color": {
"type": "string"
},
"bgColor": {
"type": "string"
}
}
},
"alignment": {
"type": "object",
"properties": {
"horizontal": {
"type": "string"
},
"vertical": {
"type": "string"
},
"wrapText": {
"type": "boolean"
}
}
},
"border": {
"type": "object"
},
"numFmt": {
"type": "string"
}
}
}
},
"required": [
"file_path",
"sheet_name",
"range",
"format"
]
} | — | — · — | — |
get_workbook_metadataGet metadata about an Excel workbookInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
}
},
"required": [
"file_path"
]
} | — | — · — | — |
merge_cellsMerge a range of cellsInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
},
"range": {
"type": "string",
"description": "Cell range to merge (e.g., \"A1:D1\")"
}
},
"required": [
"file_path",
"sheet_name",
"range"
]
} | — | — · — | — |
read_data_from_excelRead data from an Excel worksheetInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
},
"range": {
"type": "string",
"description": "Cell range to read (e.g., \"A1:D10\")"
}
},
"required": [
"file_path",
"sheet_name"
]
} | — | — · — | — |
rename_worksheetRename a worksheetInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"old_name": {
"type": "string",
"description": "Current name of the worksheet"
},
"new_name": {
"type": "string",
"description": "New name for the worksheet"
}
},
"required": [
"file_path",
"old_name",
"new_name"
]
} | — | — · — | — |
unmerge_cellsUnmerge previously merged cellsInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
},
"range": {
"type": "string",
"description": "Cell range to unmerge (e.g., \"A1:D1\")"
}
},
"required": [
"file_path",
"sheet_name",
"range"
]
} | — | — · — | — |
validate_excel_rangeValidate if a range reference is validInput schema{
"type": "object",
"properties": {
"range": {
"type": "string",
"description": "Excel range to validate (e.g., \"A1:C10\")"
}
},
"required": [
"range"
]
} | — | — · — | — |
validate_formula_syntaxValidate Excel formula syntaxInput schema{
"type": "object",
"properties": {
"formula": {
"type": "string",
"description": "Excel formula to validate"
}
},
"required": [
"formula"
]
} | — | — · — | — |
write_data_to_excelWrite data to an Excel worksheetInput schema{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "Path to the Excel file"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
},
"data": {
"type": "array",
"description": "Array of arrays representing rows of data",
"items": {
"type": "array"
}
},
"start_cell": {
"type": "string",
"description": "Starting cell (e.g., \"A1\")",
"default": "A1"
}
},
"required": [
"file_path",
"sheet_name",
"data"
]
} | — | — · — | — |