amCharts 5

io.github.amcharts由 GitHub 帳號 amcharts 發布v1.9.4更新於 Oct 26, 2026

On-demand access to amCharts 5 docs, code examples, and API reference

已驗證Streamable HTTP可網頁執行知識與記憶開發者工具資料與分析

概覽

AI 產生的概覽

讓助理按需取得 amCharts 5 文件、程式範例與 API 參考,用來撰寫與除錯圖表程式碼。

可以做什麼
  • 列出圖表類型,取得某類圖表的參考文件或核心指南(初始化、主題、事件、常見陷阱)
  • 搜尋精選技能文件,或搜尋全部內容(完整文件、API 參考、範例)
  • 取得完整文件頁、依標題取得單一章節,或取得某個類別的 API 參考與設定預設值
  • 取得某類圖表的最小可用快速入門範本
  • 瀏覽並取得 290 多個範例的完整程式碼
  • 列出地圖 geodata 檔案及其 CDN 路徑、指令碼全域名稱與 ES 模組匯入方式
適用情境
適合在建置或除錯 amCharts 5 圖表時使用,讓助理直接取用對應的圖表參考、範例或 API 設定,而不是憑猜測回答。也適用於框架整合問題與尋找合適的地圖資料檔。
執行需求
可使用託管的 Streamable HTTP 端點(免安裝、免帳號),或在本機透過 stdio 執行 npm 套件 @amcharts/amcharts5-mcp,需要 Node.js 與 npx。僅支援 stdio 的用戶端可用 mcp-remote 橋接至託管網址。不需要 API 金鑰或環境變數。
安裝前請注意
工具皆為唯讀,託管端點依設計不設身分驗證。託管伺服器執行於 Cloudflare Workers,Cloudflare 會處理每個請求(包含 IP 位址);MCP 初始化訊息會保存在工作階段儲存中,直到工作階段結束或 24 小時後刪除,錯誤日誌最多保留 7 天。本機 npm 套件不會發出任何網路請求。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 amCharts 5,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.amcharts%2Famcharts5/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "amcharts-5": {
      "type": "http",
      "url": "https://mcp.amcharts.com/mcp"
    }
  }
}

README

amCharts 5 MCP Server

An MCP (Model Context Protocol) server that gives AI assistants on-demand access to the complete amCharts 5 knowledge base: 160+ documentation pages, 290+ code examples, and 1,300+ API reference pages.

Works with Claude Code, Claude Desktop, Cursor, Windsurf, VS Code + GitHub Copilot, and any other MCP-compatible AI tool.

Why?

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.

Quick Start

The easiest way is the hosted server — no install, just add one URL. Prefer to run it yourself? See Local install below.

Hosted (no install) — recommended

Point your AI client at:

https://mcp.amcharts.com/mcp

Claude Code

bash
claude mcp add --transport http amcharts5 https://mcp.amcharts.com/mcp

Claude Desktop / claude.ai — Settings → Connectors → Add custom connector, then paste https://mcp.amcharts.com/mcp.

Cursor — .cursor/mcp.json:

json
{  "mcpServers": {    "amcharts5": {      "url": "https://mcp.amcharts.com/mcp"    }  }}

VS Code + GitHub Copilot — .vscode/mcp.json:

json
{  "servers": {    "amcharts5": {      "type": "http",      "url": "https://mcp.amcharts.com/mcp"    }  }}

Windsurf — ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "amcharts5": {      "serverUrl": "https://mcp.amcharts.com/mcp"    }  }}

ChatGPT (Plus/Pro/Enterprise with connectors/developer mode enabled) — Settings → Connectors → Add custom connector, then paste https://mcp.amcharts.com/mcp.

Cline (VS Code extension) — open the MCP Servers panel → Remote Servers, paste https://mcp.amcharts.com/mcp, or add to its MCP settings JSON:

json
{  "mcpServers": {    "amcharts5": {      "type": "streamableHttp",      "url": "https://mcp.amcharts.com/mcp"    }  }}

Clients that only support local (stdio) servers (e.g. Zed, Continue, Amazon Q Developer) — bridge to the hosted URL with mcp-remote. Use this as the server's run command in the client's config:

bash
npx mcp-remote https://mcp.amcharts.com/mcp

For example, in a command/args style config:

json
{  "mcpServers": {    "amcharts5": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://mcp.amcharts.com/mcp"]    }  }}

Any other MCP client that accepts a remote server URL works too — use the /mcp endpoint (Streamable HTTP) or /sse (legacy SSE). For URL-only clients that still expect a command, use the mcp-remote bridge shown above.

Local install (npx)

Prefer running it yourself? The server is also published to npm and runs over stdio.

Claude Code

For all projects (global, recommended):

bash
claude mcp add -s user amcharts5 -- npx -y @amcharts/amcharts5-mcp

For current project only:

bash
claude mcp add amcharts5 -- npx -y @amcharts/amcharts5-mcp

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "amcharts5": {      "command": "npx",      "args": ["-y", "@amcharts/amcharts5-mcp"]    }  }}

Cursor

Create or edit .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global):

json
{  "mcpServers": {    "amcharts5": {      "command": "npx",      "args": ["-y", "@amcharts/amcharts5-mcp"]    }  }}

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "amcharts5": {      "command": "npx",      "args": ["-y", "@amcharts/amcharts5-mcp"]    }  }}

VS Code + GitHub Copilot

Create or edit .vscode/mcp.json in your workspace:

json
{  "servers": {    "amcharts5": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@amcharts/amcharts5-mcp"]    }  }}

Other MCP-compatible tools

For any other tool that supports MCP (Cline, Continue, Amazon Q, Zed, etc.), configure it to run:

bash
npx -y @amcharts/amcharts5-mcp

Run locally (for development)

bash
git clone https://github.com/amcharts/amcharts5-mcp.gitcd amcharts5-mcpnpm installnpm start

Available Tools

ToolDescription
get_core_referenceGet core amCharts 5 docs — setup, themes, colors, events, common pitfalls
get_chart_referenceGet full reference for a chart type (e.g. "pie", "sankey", "xy")
list_chart_typesList all available chart types and their keywords
search_docsSearch the skill reference docs by keyword (scope: "all" adds the full docs, API reference and examples)
search_allSearch across everything — skill docs, full documentation, and code examples
get_docGet a full documentation page (e.g. "charts/xy-chart/axes", "concepts/events")
get_sectionGet a specific section from a reference file by heading
get_quick_startGet a minimal working template for any chart type
list_examplesBrowse all 290+ examples, optionally filtered by category
get_exampleGet the full code for a specific example
get_api_referenceGet the API reference for a class, interface or function — settings with their defaults, events, inheritance and the import line
list_geodataFind map (geodata) files — world, continents, countries, regional packs and the per-Congress US congressional district packs — with each file's CDN path, script global and ES import

Example Usage

Once connected, your AI assistant can:

  • "Build me a pie chart" → AI calls get_quick_start("pie") and adapts the template
  • "How do I format date axis labels?" → AI calls search_all("date axis label format")
  • "Show me the Sankey diagram example" → AI calls get_example("examples/flow/sankey-diagram")
  • "What settings does XYChart support?" → AI calls get_doc("reference/xychart")
  • "How do I integrate with React?" → AI calls get_doc("getting-started/integrations/react"), which covers the @amcharts/amcharts5-react package
  • "What chart types are available?" → AI calls list_chart_types()
  • "Map the current US congressional districts" → AI calls list_geodata("congressional whole country")

Content

The server includes 1,800+ documents:

  • 160+ documentation pages — getting started, chart guides, concepts (themes, events, adapters, data binding, animations, accessibility, etc.), and framework integration guides for amCharts' React, Vue, Angular, Svelte and React Native packages (with Next.js, Nuxt, SvelteKit, React Router and Remix 3)
  • 290+ 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
  • 1,300+ API reference pages — every class, interface and function in the amCharts 5 library, generated from the release's typings: settings with their real defaults (theme rules included), events, properties, data item fields, the inheritance chain and the import line
  • 670+ geodata entries — every map in @amcharts/amcharts5-geodata, for list_geodata
  • Curated skill reference — quick-start templates and chart-specific guides from the amCharts 5 AI Skill

Security

  • Read-only tools. Every tool reads the bundled amCharts documentation and returns text. No tool writes files, runs commands or fetches URLs.
  • The hosted endpoint has no authentication, by design. https://mcp.amcharts.com/mcp serves the same public documentation as amcharts.com. There are no accounts, API keys, user data or write operations behind it.
    • It runs on Cloudflare Workers.
    • MCP session state is kept in a Durable Object, as the MCP agents framework requires. It is deleted when the session ends, or 24 hours after its last request.
    • Per-request logs (Workers invocation logs) are off. Only error messages are logged, and they hold no tool arguments. See "Privacy" below.
  • Local install. The npm package runs over stdio on your machine and reads only the content bundled in it; it makes no network requests. Its only runtime dependencies are @modelcontextprotocol/sdk and zod.
  • Maintainer scripts. The scripts in scripts/ (the demo and docs scrapers, the API reference generator) are not part of the npm package and never run in the server.
  • Reporting a vulnerability: https://www.amcharts.com/report-vulnerability/

Privacy

Neither the hosted server nor the npm package needs an account or asks for personal data.

  • Hosted server (https://mcp.amcharts.com/mcp):
    • What your AI app sends: a search phrase, a chart type, a doc path. These are used only to build the answer, and are not logged or stored. A response is kept in the session's storage only until it has been delivered (so a dropped stream can resume), then deleted.
    • Session record: when an AI app connects, the server keeps its MCP initialize message in the session's storage. That message holds what the app says about itself (its name and version, and whatever else it puts there), the protocol version and the app's MCP capabilities. All of the session's storage is deleted when the app ends the session, or 24 hours after its last request.
    • Logs: the server keeps no request logs (Workers invocation logs are off). It runs on Cloudflare Workers, and Cloudflare processes each request, including its IP address, to deliver it. Error and warning messages are logged and kept for up to 7 days; they hold no request contents or tool arguments.
  • npm package: it runs on your computer over stdio and sends nothing to amCharts or anyone else.
  • Policy and questions: see the amCharts privacy policy, or write to [email protected].

License

MIT

來源:README.md,提交 697d6ee

工具

12

list_chart_types

List chart types

List all amCharts 5 chart types with their categories and reference file names

無需輸入參數。

get_chart_reference

Get chart reference

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.

輸入參數fullchartType必填

get_core_reference

Get core reference (setup, themes, pitfalls)

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.

輸入參數full

search_docs

Search docs

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.

輸入參數query必填scopemaxResults

get_section

Get doc section

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').

輸入參數file必填heading必填

get_quick_start

Get quick-start template

Get a quick-start template for a specific chart type — a minimal working example ready to customize.

輸入參數formatchartType必填

search_all

Search all content

Search across all amCharts 5 content: skill references, full documentation, and code examples. For broad searches across everything.

輸入參數query必填maxResults

get_doc

Get doc page

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.

輸入參數path必填

get_api_reference

Get API reference

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'.

輸入參數className必填includePrivate

list_examples

List examples

List all available amCharts 5 code examples, optionally filtered by category.

輸入參數category

get_example

Get example

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.

輸入參數path必填

list_geodata

List geodata (map files)

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.

輸入參數filter

版本歷史

9
  1. v1.9.4最新Oct 26, 2026
  2. v1.9.3Oct 25, 2026
  3. v1.9.2Oct 23, 2026
  4. v1.9.0Oct 22, 2026
  5. v1.8.0Oct 18, 2026
  6. v1.7.1Oct 9, 2026
  7. v1.7.0Oct 8, 2026
  8. v1.6.0Sep 29, 2026
  9. v1.1.3Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分