amCharts 5
On-demand access to amCharts 5 docs, code examples, and API reference
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"amcharts5": {
"command": "npx",
"args": [
"@amcharts/amcharts5-mcp"
]
}
}
}실행 가능한 패키지
1.11.1stdio원격 엔드포인트
https://mcp.amcharts.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (12)
🟢list_chart_types
List all amCharts 5 chart types with their categories and reference file names
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_chart_reference(chartType, full)
Get the reference documentation for a specific amCharts 5 chart type. A reference longer than 12,000 characters comes as an overview: its first parts in full and a list of the others, each of which get_section returns. With `full: true` it is the whole file. The chart type keywords are listed by list_chart_types.
입력 스키마
{
"type": "object",
"properties": {
"chartType": {
"type": "string",
"description": "Chart type keyword, e.g. 'pie', 'sankey', 'xy', 'treemap', 'map', 'radar', 'stock', 'gantt', 'venn', 'wordcloud', 'timeline', 'flow', 'hierarchy', 'ui-elements'"
},
"full": {
"default": false,
"description": "true: the whole reference, however long. false (default): an overview when it is long.",
"type": "boolean"
}
},
"required": [
"chartType"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_core_reference(full)
Get the core amCharts 5 reference (SKILL.md) — covers setup, colors, themes, legends, tooltips, events, data, adapters, disposal, and common pitfalls. It is the base for every chart type; the chart-specific references build on it. It comes as an overview: its first sections, up to 12,000 characters, and a list of the others, each of which get_section("SKILL", heading) returns. With `full: true` it is the whole file.
입력 스키마
{
"type": "object",
"properties": {
"full": {
"default": false,
"description": "true: the whole SKILL.md (about 119,000 characters). false (default): the overview.",
"type": "boolean"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_docs(query, maxResults, scope)
Search the curated amCharts 5 skill docs (SKILL.md + chart references) for a keyword or topic, returning matching sections ranked by relevance. By default it searches only the skill layer. With scope 'all' it also searches the extended docs, the per-class API reference and the code examples. Per-setting defaults (e.g. tooltip background cornerRadius, axis tick `visible` default, cursor line strokeDasharray) are in the extended docs and the API reference, which search_all, get_api_reference and get_doc also return.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query, e.g. 'legend', 'axis label rotation', 'tooltip format', 'data processor'"
},
"maxResults": {
"default": 5,
"description": "Maximum number of results to return (default 5, 1 to 50)",
"type": "number"
},
"scope": {
"default": "skill",
"description": "'skill' (default) searches only the curated skill docs; 'all' also searches the extended docs / per-class API reference where settings and defaults live, and the code examples.",
"type": "string",
"enum": [
"skill",
"all"
]
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_section(file, chartType, heading)
Get the full text of one section of a doc by heading, for example a section that a search_docs or search_all result shows truncated. `file` accepts the source label exactly as search results print it ('skill/SKILL.md', 'skill/xy', 'extended/charts/xy-chart/cursor', 'reference/xycursor') as well as a bare skill file name ('SKILL', 'xy', 'map').
입력 스키마
{
"type": "object",
"properties": {
"file": {
"description": "Doc identifier: a skill file ('SKILL', 'xy', 'pie', 'map') or a source label from search results ('skill/SKILL.md', 'extended/concepts/events', 'reference/xycursor'). '.md' and 'skill/' / 'extended/' prefixes are optional.",
"type": "string"
},
"chartType": {
"description": "The same as `file`, for a chart type's reference ('hierarchy', 'xy'), as get_chart_reference takes it.",
"type": "string"
},
"heading": {
"type": "string",
"description": "Section heading to retrieve (case-insensitive substring), e.g. 'Core setup pattern', 'Axis types', 'Common pitfalls', 'Recent API changes'. A ### subsection heading returns just that subsection, and a bold lead (e.g. 'Plain HTML, no bundler') its paragraphs."
}
},
"required": [
"heading"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_quick_start(chartType, format)
Get a working example to start from for a chart type: the reference's example, or the amCharts demo of that name. For a longer request it gives the closest example and says so. For a framework ('react', 'vue', 'angular', 'svelte') it gives how to use amCharts there.
입력 스키마
{
"type": "object",
"properties": {
"chartType": {
"type": "string",
"description": "Chart type, e.g. 'pie', 'line', 'stacked column', 'map', 'sankey', 'treemap', or a framework, e.g. 'react'"
},
"format": {
"default": "html",
"description": "Output format: 'html' for script tags (cdn.amcharts.com, with the npm-CDN equivalent on jsDelivr/unpkg for pages that may load only from npm CDNs), 'esm' for ES module imports",
"type": "string",
"enum": [
"html",
"esm"
]
}
},
"required": [
"chartType"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_all(query, maxResults)
Search across all amCharts 5 content: skill references, full documentation, and code examples. For broad searches across everything.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query, e.g. 'react integration', 'date axis formatting', 'stacked bar example'. An amcharts.com link (a demo or a docs page) is answered with the call that returns it."
},
"maxResults": {
"default": 10,
"description": "Maximum results (default 10, 1 to 50)",
"type": "number"
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_doc(path)
Get a full documentation page — an extended doc by path, or a skill file by 'skill/<name>'. Paths are the source labels that search_docs and search_all print.
입력 스키마
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Doc path, e.g. 'charts/xy-chart/cursor', 'concepts/events', 'getting-started/integrations/react', 'reference/xycursor' (per-class API), or a skill file such as 'skill/SKILL.md' / 'skill/xy'. A docs address works too ('https://docs.amcharts.com/v5/concepts/events/', its '.md', or the older www.amcharts.com/docs/v5/ form); a demo address returns that demo's example. A class's full settings and defaults are in its API reference (get_api_reference)."
}
},
"required": [
"path"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_api_reference(className, name, includePrivate)
Get the per-class API reference for an amCharts 5 class: the class page plus its settings table (with defaults) and, optionally, its private/read-only settings. It is generated from the library's typings, so it has the exact setting names and default values (e.g. tooltip background cornerRadius, axis tick `visible` default). Takes a class name in any casing, e.g. 'XYCursor', 'Tooltip', 'PieSeries', 'AxisRendererX'.
입력 스키마
{
"type": "object",
"properties": {
"className": {
"description": "amCharts 5 class name, e.g. 'XYCursor', 'Tooltip', 'PieSeries', 'ColumnSeries', 'AxisRendererX'. Casing/punctuation are ignored. Its reference address works too: 'https://docs.amcharts.com/v5/reference/xycursor/'.",
"type": "string"
},
"name": {
"description": "The same as `className`.",
"type": "string"
},
"includePrivate": {
"default": false,
"description": "Also include the private (read-only / internal) settings table. Default false.",
"type": "boolean"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_examples(category, type)
List all available amCharts 5 code examples, optionally filtered by category.
입력 스키마
{
"type": "object",
"properties": {
"category": {
"description": "Filter by category, e.g. 'column-bar', 'line-area', 'pie-donut', 'maps', 'flow', 'hierarchy', 'stock', 'gantt', 'gauges', 'radar-polar', 'timeline', 'funnel-pyramid', 'json-configs' (complete JSON configs from the amCharts npm package), or 'docs-demos' (the demos embedded in the docs pages). A word of a category works too ('gauge', 'line', 'pie'). Without it, all categories are listed.",
"type": "string"
},
"type": {
"description": "The same as `category`.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_example(path, name)
Get the full code for a specific amCharts 5 example/demo, by its path or its amcharts.com demo address. Paths are listed by list_examples and printed in search results.
입력 스키마
{
"type": "object",
"properties": {
"path": {
"description": "Example path, e.g. 'examples/flow/sankey-diagram', 'examples/pie-donut/donut-chart', 'examples/maps/drill-down-map', or a demo address such as 'https://www.amcharts.com/demos/sankey-diagram/'",
"type": "string"
},
"name": {
"description": "The same as `path`, or a demo's name, e.g. 'sankey-diagram', 'stacked column'.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_geodata(filter)
List amCharts 5 geodata (map) files with each one's CDN path, script global name and ES module import: world maps, continents, every country map, regional packs (US states and counties, Canada, Mexico) and the US congressional-district packs, which are versioned per Congress (congressional120 = 120th Congress is the newest). Also the data/countries2 and lang/* helper files. It gives the exact file path and global name that map code needs. Where the geodata package has a dist/ folder, the answer also gives its unpkg address, for pages that may load only from npm CDNs.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "Words that must all match (case-insensitive) a map's path, label, group, ISO code or pack, e.g. 'germany', 'FR', 'region/canada', 'usa counties', 'congressional120', 'congressional whole country', 'continents', 'countries2'. A file or global name ('usaCongressionalLow', 'am5geodata_worldLow') works too. Without it, the result is an overview.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거