Excel MCP Server

export_chart

Generate charts from Excel data by specifying x and y columns, chart type (line, bar, scatter, hist), and sheet name, returning the output as an image.

Instructions

Create a chart from Excel data and return as an image. Args: file_path: Path to the Excel file x_column: Column to use for x-axis y_column: Column to use for y-axis chart_type: Type of chart ('line', 'bar', 'scatter', 'hist') sheet_name: Name of the sheet to chart (for Excel files) Returns: Chart as image

Input Schema

NameRequiredDescriptionDefault
chart_typeNoline
file_pathYes
sheet_nameNo
x_columnYes
y_columnYes

Input Schema (JSON Schema)

{ "properties": { "chart_type": { "default": "line", "title": "Chart Type", "type": "string" }, "file_path": { "title": "File Path", "type": "string" }, "sheet_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Sheet Name" }, "x_column": { "title": "X Column", "type": "string" }, "y_column": { "title": "Y Column", "type": "string" } }, "required": [ "file_path", "x_column", "y_column" ], "title": "export_chartArguments", "type": "object" }

You must be authenticated.

Other Tools from Excel MCP Server

Related Tools

ID: vda5rccucp