charts-mcp

v0.11.40
@funnest/charts-mcp Checked 2 hours ago Published 18 hours ago

MCP server for Funnest Charts: chart list, JSON schemas, spec validation, PNG/SVG rendering with React code, chart suggestions, Datafeed templates

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_charts List charts

List Funnest Charts chart types (line, area, bar, candlestick, donut, treemap, percentage-bar, sparkline) with what each is for and the React component it maps to. For a full trading chart (candles, indicators, drawing tools) use <FnChart /> with a Datafeed — see get_datafeed_template.

ParameterTypeDescription
localestringMessage language (default: the machine's, English unless it's Korean)

get_chart_schema Get chart schema

JSON Schema and an example spec for one chart type. Read this before writing a spec.

ParameterTypeDescription
type *string
localestringMessage language (default: the machine's, English unless it's Korean)

validate_spec Validate spec

Check a chart spec. Returns problems with "did you mean" hints for misspelled fields and missing data columns.

ParameterTypeDescription
spec *objectChart spec object
localestringMessage language (default: the machine's, English unless it's Korean)

render_chart Render chart

Render a chart spec. Returns a PNG image (to look at), the SVG markup, and React code using @funnest/charts-react that draws the same chart in an app. Pass data inline.

ParameterTypeDescription
spec *objectChart spec object (validate_spec first if unsure)
localestringMessage language (default: the machine's, English unless it's Korean)
themestring

suggest_chart Suggest chart

Given data rows, propose fitting charts (ready-to-render specs with reasons).

ParameterTypeDescription
data *arrayData rows
localestringMessage language (default: the machine's, English unless it's Korean)

get_datafeed_template Datafeed template

TypeScript starter for a Datafeed — the interface <FnChart /> (the full trading chart) reads candles and realtime updates from. Use it to connect an exchange/broker API in the app. The library itself contains no exchange connections.

ParameterTypeDescription
kindstringrest-websocket (default), polling, or static data