@amcharts/amcharts5-mcp 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +86 -26
  2. package/package.json +8 -2
package/README.md CHANGED
@@ -1,24 +1,47 @@
1
1
  # amCharts 5 MCP Server
2
2
 
3
- An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that gives AI assistants on-demand access to amCharts 5 documentation, examples, and API reference.
3
+ An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that gives AI assistants on-demand access to the complete amCharts 5 knowledge base: **141 documentation pages**, **283 code examples**, and **1,098 class API references**.
4
4
 
5
- Works with **Claude Code**, **Claude Desktop**, **Cursor**, and any other MCP-compatible AI tool.
5
+ Works with **Claude Code**, **Claude Desktop**, **Cursor**, **Windsurf**, **VS Code + GitHub Copilot**, and any other MCP-compatible AI tool.
6
6
 
7
7
  ## Why?
8
8
 
9
- Instead of loading the entire amCharts reference into the AI's context window, the MCP server lets the AI **query exactly what it needs** — a specific chart type reference, a search for "tooltip formatting", or a quick-start template. This means better answers with less context waste.
9
+ Instead of loading the entire amCharts reference into the AI's context window, the MCP server lets the AI **query exactly what it needs** — a specific chart type reference, a code example, or an API lookup. This means better answers with less context waste.
10
10
 
11
11
  ## Quick Start
12
12
 
13
13
  ### Claude Code
14
14
 
15
+ For **all projects** (global, recommended):
16
+
17
+ ```bash
18
+ claude mcp add -s user amcharts5 -- npx -y @amcharts/amcharts5-mcp
19
+ ```
20
+
21
+ For **current project only**:
22
+
15
23
  ```bash
16
24
  claude mcp add amcharts5 -- npx -y @amcharts/amcharts5-mcp
17
25
  ```
18
26
 
19
- ### Claude Desktop / Cursor
27
+ ### Claude Desktop
28
+
29
+ Add to your `claude_desktop_config.json`:
30
+
31
+ ```json
32
+ {
33
+ "mcpServers": {
34
+ "amcharts5": {
35
+ "command": "npx",
36
+ "args": ["-y", "@amcharts/amcharts5-mcp"]
37
+ }
38
+ }
39
+ }
40
+ ```
41
+
42
+ ### Cursor
20
43
 
21
- Add to your MCP config (`claude_desktop_config.json` or Cursor settings):
44
+ Create or edit `.cursor/mcp.json` in your project root (or `~/.cursor/mcp.json` for global):
22
45
 
23
46
  ```json
24
47
  {
@@ -31,6 +54,45 @@ Add to your MCP config (`claude_desktop_config.json` or Cursor settings):
31
54
  }
32
55
  ```
33
56
 
57
+ ### Windsurf
58
+
59
+ Edit `~/.codeium/windsurf/mcp_config.json`:
60
+
61
+ ```json
62
+ {
63
+ "mcpServers": {
64
+ "amcharts5": {
65
+ "command": "npx",
66
+ "args": ["-y", "@amcharts/amcharts5-mcp"]
67
+ }
68
+ }
69
+ }
70
+ ```
71
+
72
+ ### VS Code + GitHub Copilot
73
+
74
+ Create or edit `.vscode/mcp.json` in your workspace:
75
+
76
+ ```json
77
+ {
78
+ "servers": {
79
+ "amcharts5": {
80
+ "type": "stdio",
81
+ "command": "npx",
82
+ "args": ["-y", "@amcharts/amcharts5-mcp"]
83
+ }
84
+ }
85
+ }
86
+ ```
87
+
88
+ ### Other MCP-compatible tools
89
+
90
+ For any other tool that supports MCP (Cline, Continue, Amazon Q, Zed, etc.), configure it to run:
91
+
92
+ ```bash
93
+ npx -y @amcharts/amcharts5-mcp
94
+ ```
95
+
34
96
  ### Run locally (for development)
35
97
 
36
98
  ```bash
@@ -44,38 +106,36 @@ npm start
44
106
 
45
107
  | Tool | Description |
46
108
  |------|-------------|
47
- | `list_chart_types` | List all available chart types and their keywords |
48
- | `get_chart_reference` | Get full reference docs for a chart type (e.g. "pie", "sankey", "xy") |
49
109
  | `get_core_reference` | Get core amCharts 5 docs — setup, themes, colors, events, common pitfalls |
50
- | `search_docs` | Search across all docs by keyword or topic |
51
- | `get_section` | Get a specific section by heading name from any reference file |
52
- | `get_quick_start` | Get a minimal working example for a chart type (HTML or ESM format) |
110
+ | `get_chart_reference` | Get full reference for a chart type (e.g. "pie", "sankey", "xy") |
111
+ | `list_chart_types` | List all available chart types and their keywords |
112
+ | `search_docs` | Search the skill reference docs by keyword |
113
+ | `search_all` | Search across **everything** — skill docs, full documentation, and code examples |
114
+ | `get_doc` | Get a full documentation page (e.g. "charts/xy-chart/axes", "concepts/events") |
115
+ | `get_section` | Get a specific section from a reference file by heading |
116
+ | `get_quick_start` | Get a minimal working template for any chart type |
117
+ | `list_examples` | Browse all 283 examples, optionally filtered by category |
118
+ | `get_example` | Get the full code for a specific example |
53
119
 
54
120
  ## Example Usage
55
121
 
56
122
  Once connected, your AI assistant can:
57
123
 
58
124
  - **"Build me a pie chart"** → AI calls `get_quick_start("pie")` and adapts the template
59
- - **"How do I format axis labels?"** → AI calls `search_docs("axis label format")`
60
- - **"Show me the full radar chart API"** → AI calls `get_chart_reference("radar")`
125
+ - **"How do I format date axis labels?"** → AI calls `search_all("date axis label format")`
126
+ - **"Show me the Sankey diagram example"** → AI calls `get_example("examples/flow/sankey-diagram")`
127
+ - **"What settings does XYChart support?"** → AI calls `get_doc("reference/xychart")`
128
+ - **"How do I integrate with React?"** → AI calls `get_doc("getting-started/integrations/react")`
61
129
  - **"What chart types are available?"** → AI calls `list_chart_types()`
62
130
 
63
131
  ## Content
64
132
 
65
- The server indexes the [amCharts 5 AI Skill](https://github.com/amcharts/amcharts5-skill) documentation covering:
66
-
67
- - **Core**: setup, themes, colors, legends, tooltips, events, data, adapters, disposal
68
- - **XY charts**: line, area, bar, column, candlestick, scatter, stacked
69
- - **Pie & Sliced**: pie, donut, funnel, pyramid
70
- - **Maps**: world, country, choropleth, bubble map, point map
71
- - **Hierarchy**: treemap, sunburst, force-directed, pack, partition
72
- - **Flow**: Sankey, chord, arc diagram
73
- - **Radar**: radar, spider, polar, gauge
74
- - **Stock**: financial/trading charts
75
- - **Timeline**: serpentine, spiral, curve
76
- - **Gantt**: project timelines
77
- - **Word Cloud & Venn**
78
- - **UI Elements**: buttons, sliders, steppers, color pickers
133
+ The server includes **1,500+ documents**:
134
+
135
+ - **141 documentation pages** — getting started, chart guides, concepts (themes, events, adapters, data binding, animations, accessibility, etc.), and framework integration guides (React, Angular, Vue, Next.js, Svelte, and more)
136
+ - **283 code examples** — working demos across 16 categories including column/bar, line/area, pie/donut, maps, hierarchy, flow, radar/polar, stock, gauges, Gantt, timeline, and more
137
+ - **1,098 class API references** — every class in the amCharts 5 library with its settings, properties, methods, events, and inheritance chain
138
+ - **Curated skill reference** — quick-start templates and chart-specific guides from the [amCharts 5 AI Skill](https://github.com/amcharts/amcharts5-skill)
79
139
 
80
140
  ## License
81
141
 
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@amcharts/amcharts5-mcp",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
+ "mcpName": "io.github.amcharts/amcharts5",
4
5
  "description": "MCP server for amCharts 5 — gives AI assistants on-demand access to amCharts docs, examples, and API reference",
5
6
  "type": "module",
6
7
  "main": "src/index.js",
@@ -33,7 +34,12 @@
33
34
  "model-context-protocol",
34
35
  "ai",
35
36
  "charts",
36
- "data-visualization"
37
+ "data-visualization",
38
+ "claude",
39
+ "cursor",
40
+ "windsurf",
41
+ "copilot",
42
+ "vscode"
37
43
  ],
38
44
  "author": "amCharts",
39
45
  "license": "MIT",