Chartory
Chart types, props, JSON Schemas and install commands for the Chartory React chart library.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin get_chart_code
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"chartory": {
"url": "https://usechartory.com/mcp"
}
}
}Remote-Endpunkte
https://usechartory.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (4)
🟢search_charts(query, question, freeOnly, limit)
Find the Chartory chart types that fit a question about the user's data, in plain words ("monthly revenue against target", "where users drop off in signup"). Returns each type's slug, what it answers and its install command.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 300,
"description": "What the chart should show, in plain words"
},
"question": {
"description": "Only types that answer this question",
"type": "string",
"enum": [
"Change over time",
"Compare items",
"Part of a whole",
"Distribution",
"Flow between steps",
"Relationship",
"Schedule and status",
"Space and place"
]
},
"freeOnly": {
"description": "Only the free types (no licence key needed)",
"type": "boolean"
},
"limit": {
"description": "How many to return (default 8)",
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_chart_spec(slug)
The component, its props, sizes and the JSON Schema of its data prop, for one chart type by slug (from search_charts). Shape the user's data to the schema.
Eingabe-Schema
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"maxLength": 80,
"description": "The type's slug, e.g. waterfall"
}
},
"required": [
"slug"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_chart_code(slug, with)
The install command and the component file for one chart type, plus an example file with sample data. Paid types need a Code or Complete licence key sent as the Bearer token.
Eingabe-Schema
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"maxLength": 80,
"description": "The type's slug, e.g. waterfall"
},
"with": {
"description": "chart (default), its widget, or the interactive widget",
"type": "string",
"enum": [
"chart",
"widget",
"interactive"
]
}
},
"required": [
"slug"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_tokens(mode, filter)
Chartory's design tokens (CSS custom properties from chartory.css) in one of the four modes, optionally filtered by a name fragment ("data", "surface", "signal"). Light is :root, dark is .dark; data-theme picks a mode for a subtree.
Eingabe-Schema
{
"type": "object",
"properties": {
"mode": {
"description": "The mode (default chartory-light)",
"type": "string",
"enum": [
"chartory-light",
"chartory-dark",
"ember",
"ember-light"
]
},
"filter": {
"description": "Only tokens whose name contains this",
"type": "string",
"maxLength": 40
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis