mcp_plot_comparison_chart
Visualize and compare financial metrics or tickers over time by plotting a chart with customizable dates, series, and titles. Export results as an image for analysis.
Instructions
Plots a comparison chart for multiple tickers or financial metrics over time.
Args:
dates: List of date strings.
series: Dict where keys are labels and values are lists of values for each date.
title: Chart title.
filename: Optional filename to save the plot.
Returns:
Dict with 'file_path' and 'base64' of the image.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | ||
| filename | No | ||
| series | Yes | ||
| title | No | Comparison Chart |