Mcp Dashboards

io.github.KyuRish由 GitHub 账号 KyuRish 发布v2.4.0更新于 Oct 24, 2026

45+ interactive charts, dashboards, flowcharts, and KPIs inside any AI conversation

已验证STDIO仅桌面数据与分析媒体与设计

概览

AI 生成的概览

在 AI 对话中直接渲染交互式图表、仪表板、KPI 组件和流程图,提供 32 个图表工具、21 种主题以及 PNG/PPT/A4 导出。

可以做什么
  • 渲染图表与数据视图:饼图、柱状图、折线图、散点图、K 线图、雷达图、矩形树图、桑基图、漏斗图、热力图、地理图与气泡地图、表格等
  • 构建组合仪表板和 KPI 主视觉组件,或从原始 JSON 自动选择图表
  • 绘制可编辑的流程图,用于管线与架构,支持拖拽、缩放和分步播放
  • 浏览图表类型、主题、KPI 变体和特效的可视化目录
  • 从 URL 获取 JSON,或按定时器轮询 HTTP 端点以生成实时更新的图表
  • 列出和删除生成的图表文件,并导出为 PNG、PPT、A4 或 CSV
适用场景
适合在与助手讨论数据、报告或策略时,希望结果以图表或仪表板形式直接呈现在对话中,而不必把数字复制到表格里自行作图。也适合对某个 API 数值做实时监控,以及绘制工作流或智能体管线图。
运行要求
通过 npx 运行的本地进程,需要 Node.js 18 或更高版本;桌面客户端以 stdio 方式启动,ChatGPT 和 claude.ai 则需要远程托管的 Streamable HTTP 端点。可选环境变量用于配置保留天数、预览开关、绑定主机、CORS 来源、URL 白名单、出站限流,以及带认证头的轮询预设。
安装前请注意
只应安装官方 npm 包,同名的其他包曾被报告为恶意软件。轮询预设会把 API 凭据以环境变量形式保存在本机。render_from_url 和 poll_http 会向你提供的 URL 发起外部请求,而 URL 白名单会绕过针对私有和内部地址的内置防护。图表 HTML 文件会写入系统临时目录,若重新配置,可选的 HTTP 传输可能暴露到 localhost 之外。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Dashboards,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MCP Dashboards

Your AI can talk about data. Now it can show it.

[npm] [Glama Quality] [Glama Security] [License: FSL-1.1-MIT] [Buy Me A Coffee] [GitHub Sponsors] [LinkedIn]

[MCP Dashboards demo]
[Infrastructure Command Center dashboard]  [Chart Catalog - 32 chart tools]  [Theme Catalog - 21 themes]
Click any thumbnail to see full size

The problem

We use AI for everything - analysis, reports, strategy. But when it comes to actually seeing the story in your data, you're stuck copying numbers into a spreadsheet and building charts yourself. The conversation has the insight. The visualization is somewhere else.

The solution

MCP Dashboards renders interactive charts, dashboards, and KPI widgets directly inside your AI conversation. 32 chart tools covering 45+ chart subtypes (bar has stacked/drilldown, hero has 11 variants, flowchart has 6 node kinds + 5 edge styles, etc.), 21 themes, 4 visual discovery catalogs, live polling, PNG/PPT/A4 export - all from a single MCP server. No browser tabs, no copy-paste, no context switching.

Works in

ClientInteractive in-chat renderingHow
Claude DesktopYes (MCP Apps)stdio config below
claude.ai (web)Yes (MCP Apps)remote connector
ChatGPTYes (MCP Apps)remote server via Developer mode (Settings → Apps → Advanced)
VS Code GitHub CopilotYes (MCP Apps)stdio config
Goose / Postman / MCPJamYes (MCP Apps)stdio or remote
Claude Code (CLI)Tools + browser preview fallbackclaude mcp add below; charts open in a local browser tab

ChatGPT and claude.ai need a remotely hosted endpoint (Streamable HTTP mode below); the desktop clients spawn the server locally.

[!IMPORTANT] The only official npm package is mcp-dashboards, published from this repository. Similarly named packages are not ours: mcp-dashboards-shared was malware (see OSSF advisory MAL-2026-4296, removed by npm security in May 2026). Install only mcp-dashboards.

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
json
{  "mcpServers": {    "dashboard": {      "command": "npx",      "args": ["-y", "mcp-dashboards", "--stdio"]    }  }}

Claude Code / VS Code

bash
claude mcp add dashboard -- npx -y mcp-dashboards --stdio

Remote (Streamable HTTP)

bash
npx mcp-dashboards# Server starts on http://127.0.0.1:3001/mcp

Bound to localhost by default. See Configuration if you need to expose it on your network or allow browser access from a non-localhost origin.

Supported clients

Works in any MCP Apps-compatible client: Claude Desktop, Claude Web, VS Code (GitHub Copilot), Goose, Postman, MCPJam. ChatGPT support is rolling out.

Just ask

No API to learn. Describe what you want in plain English:

  • "Compare Q1 vs Q2 revenue by region as a bar chart"
  • "Show my portfolio allocation as a donut chart with the boardroom theme"
  • "Build a dashboard with monthly sales KPIs and a trend line"
  • "Visualize website traffic by country on a world map"
  • "Track Bitcoin price live, updating every 30 seconds"
  • "Show the conversion funnel from signup to purchase"
  • "Rank the team by performance using a radar chart"
  • "Diagram my multi-agent pipeline as a flowchart and let me step through it"

The AI picks the right tool, formats your data, and renders the chart inline. Click any data point to ask follow-up questions.

Don't know where to start? Ask "show me the catalog" - opens a master dashboard with one live visual tile per customization dimension (a real bar chart for charts, a pie for themes, a progress ring for hero variants, a neon-glowing card for effects). Click any tile, hit Ask, and you'll drill into that sub-catalog.

Interactive charts, not images

Every chart is interactive HTML rendered directly in your conversation:

  • Explore in-chat - hover tooltips, click-to-select (feeds back to the AI), drill-down with breadcrumbs, scroll-zoom up to 12x on maps and heatmaps
  • Editable flowcharts - drag nodes, multi-select, rename via right-click, minimap + node list to navigate, step-through playback of the flow, then sync your layout back to the AI to save it
  • Live polling - real-time charts that auto-update from any API on a timer
  • Export anywhere - PPT (16:9 slides), A4 (paginated with smart page breaks), PNG, CSV
All Tools
ToolTypeBest For
render_pie_chartPie/DonutComposition - "what makes up the whole?"
render_bar_chartBarComparison - vertical, horizontal, stacked, drill-down
render_line_chartLine/AreaTrends - smooth curves, gradient fills, time series
render_scatter_chartScatterRelationships - per-point labels, annotations, quadrants
render_candlestick_chartCandlestickFinance - OHLC data with volume bars
render_radar_chartRadarMulti-axis comparison - skills, scores, product attributes
render_treemap_chartTreemapHierarchy - nested rectangles sized by value
render_sankey_chartSankeyFlow - money, users, or resources between stages
render_wordcloud_chartWord CloudFrequency - sized words from text analysis
render_boxplot_chartBoxplot/ViolinDistribution - quartiles, outliers, density shapes
render_live_chartLiveReal-time - auto-polls any MCP tool on a timer
poll_httpData proxyFetch JSON from any HTTP endpoint - secure presets or public URLs
render_bullet_chartBulletKPI vs target - 2-8 zone bands with labels
render_lollipop_chartLollipopRanking - clean dots with optional target markers
render_dumbbell_chartDumbbellGaps - before/after with scale labels and zone bands
render_variance_chartVarianceBudget - actual vs budget, color-coded over/under
render_funnel_chartFunnelConversion - staged drop-off with percentages
render_slope_chartSlopeChange - ranking shifts between two periods
render_waffle_chartWaffleProportion - 10x10 grid showing composition
render_sparkline_chartSparklineCompact trends - mini cards with change indicators
render_radial_clusterRadialHealth check - multi-metric ring gauges with status
render_waterfall_chartWaterfallCumulative - cascading bars showing impact
render_heatmap_chartHeatmapIntensity - 2D grid with color mapping
render_geo_chartGeo/MapGeography - color-coded countries by value (choropleth)
render_bubble_mapBubble MapPin map - sized circles at lat/lng coordinates
render_timeline_chartTimelineProgress - milestone tracker with status indicators
render_flowchartFlowchartWorkflows, pipelines, architectures, agent flows - rich card-based DAG with status states, drag, zoom, live polling
render_hero_metricHeroKPI widgets - 11 variants (progress ring, gem, orb, NPS, etc.)
render_dashboardDashboardEverything - KPI cards + multiple charts in responsive grid
render_tableTableData - sortable columns, striped rows, CSV export
render_from_jsonAuto-detectAny JSON data - picks the best chart automatically
render_from_urlURL fetchFetches JSON from a URL and auto-visualizes

Discovery / Catalogs - visual entry points for browsing what's available:

ToolShowsWhen to use
render_catalogMaster catalog with 4 live preview tilesDon't know where to start. Click any tile, hit Ask, drill in.
render_chart_catalogAll 32 chart types with mini previewsLooking for the right chart for your data
render_theme_catalogAll 21 themes with color/typography/effectsPicking a theme
render_hero_catalogAll 11 hero metric variantsPicking a KPI widget style
render_effects_catalogAll 5 effect presets, each applied to a real cardPicking an animation/glow style

Typography is still configurable on every chart via typography=<name> (8 options listed under Themes) - it just doesn't have its own catalog because all 8 options were visually identical without per-card font loading, which wasn't worth the build for one preview tool.

Which chart should I use?
QuestionBest ChartAlso Works
"What makes up the whole?"Pie/WaffleTreemap, Stacked bar
"How do values compare?"BarLollipop, Bullet, Radar
"What's the trend over time?"LineSparkline, Slope
"Are we hitting targets?"BulletVariance, Radial
"Where's the gap?"DumbbellVariance
"How does X relate to Y?"ScatterHeatmap
"What's the conversion rate?"FunnelWaterfall, Sankey
"What changed between periods?"SlopeDumbbell
"What's the financial picture?"CandlestickLine
"Show me the KPI"Hero metricDashboard
"What's the distribution?"BoxplotViolin (same tool)
"Where does money/traffic flow?"SankeyTreemap
"How do options score across axes?"RadarHeatmap
"What are the top keywords?"Word CloudBar, Treemap
"Where are users/sales/revenue?"Geo mapBubble map, Heatmap
"Monitor this in real-time"Live chart-

Themes

21 built-in themes. Pass theme to any tool.

FamilyThemes
Classicboardroom, corporate, sales-floor, golden-treasury, clinical, startup, ops-control, tokyo-midnight, zen-garden, consultant
Black/AIblack-tron (cyan neon), black-elegance (warm gold), black-matrix (green hacker)
Forestforest-amber (autumn), forest-earth (terracotta)
Skysky-light (airy blue), sky-ocean (deep navy), sky-twilight (sunset)
Officeoffice-red (corporate red, white bg - report-ready)
Gray/MLgray-hf (warm yellow accent), gray-copilot (teal on dark)

Mix-and-match with palette, typography (8 options: system, mono, professional, editorial, bold, techno, cyberpunk, luxury), and effects (5 presets: none, subtle, shimmer, neon, energetic).

Live Polling

Real-time charts that auto-update from any API. The live chart polls data via poll_http, which supports two modes:

Secure presets (authenticated APIs)

Configure presets via env vars. Credentials stay server-side and never appear in the conversation.

json
{  "mcpServers": {    "dashboard": {      "command": "npx",      "args": ["-y", "mcp-dashboards", "--stdio"],      "env": {        "POLL_PRESET_T212_CASH_URL": "https://live.trading212.com/api/v0/equity/account/cash",        "POLL_PRESET_T212_CASH_HEADERS": "{\"Authorization\": \"Bearer YOUR_API_KEY\"}"      }    }  }}

Then ask: "Monitor my portfolio total and P/L live" - the AI uses render_live_chart with pollArgs: { preset: "t212_cash" }.

Naming: POLL_PRESET_<NAME>_URL and POLL_PRESET_<NAME>_HEADERS (JSON object).

Public URLs (no auth needed)

For public APIs, use the URL directly:

"Show me Bitcoin price updating every 30 seconds" - uses pollArgs: { url: "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd" }.

How It Works

Built on MCP Apps. You ask the AI to visualize data, it calls the right tool, and the chart renders inline in your conversation. Self-contained - zero CDN, zero external requests.

MCP Apps supported (inline rendering): Claude Desktop, VS Code Insiders + MCP Apps extension, Goose, Postman.

No MCP Apps support? No problem. Every chart response also includes a clickable link to the same interactive chart in your browser:

  • http://localhost:PORT/chart/{id} - the clickable link in chat. Backed by a tiny same-machine HTTP server bound to 127.0.0.1, lazy-started on the first preview request.
  • file:///.../chart-{id}.html - the persistent shareable artifact. Same HTML bytes, written to disk so you can email, archive, or open it after the server has shut down.

Why both: Claude Code (VS Code) strips file://, vscode://, and command:// URL schemes from chat markdown, so only http:// produces a working clickable link. The file:// path is provided for sharing and offline viewing. Tool annotations (readOnlyHint, idempotentHint, openWorldHint) help clients reason about tool behavior.

Configuration

All optional. Defaults are safe - set these only if you need to override.

Env varDefaultWhat it does
MCP_DASHBOARDS_RETAIN_DAYS7How long to keep chart preview HTML files on disk. 0 disables auto-cleanup.
MCP_DASHBOARDS_DISABLE_PREVIEWunsetKill switch - no HTML files written, no preview server started, no preview links. Inline rendering still works in MCP Apps clients.
MCP_HTTP_BIND_HOST127.0.0.1HTTP-transport bind host. Stays on localhost by default. Set to 0.0.0.0 only if you trust your network.
MCP_CORS_ALLOWED_ORIGINSlocalhost onlyComma-separated origins allowed to call the HTTP endpoint from a browser. Set this to add a non-localhost origin (e.g. https://your-app.com).
MCP_URL_ALLOWLISTemptyComma-separated hostnames that bypass the SSRF guard for render_from_url / poll_http. Use only for internal endpoints you fully trust.
MCP_OUTBOUND_RATE_PER_SEC10Per-host throttle for outbound HTTP calls.
MCP_OUTBOUND_BURST20How many initial requests can fire immediately before the rate kicks in.
POLL_PRESET_<NAME>_URL-Server-side preset URL for live polling. See Live Polling.
POLL_PRESET_<NAME>_HEADERS-Auth headers (JSON object) for the matching preset URL.

What's on disk

Chart HTML files are written to <system temp>/mcp-dashboards/ and auto-deleted after 7 days. The chart's built-in download button (PNG / PPT / A4) is the recommended way to save anything permanently.

Ask your AI to "list chart files" or "delete chart files older than 1 day" anytime - invokes list_chart_files / delete_chart_files.

Requirements: Node.js 18+.

Contributing
bash
git clone https://github.com/KyuRish/mcp-dashboards.gitcd mcp-dashboardsnpm installnpm run buildnpm run serve   # http://localhost:3001npm run dev     # watch mode

Support

If MCP Dashboards is useful to you:

[Buy Me A Coffee] [GitHub Sponsors]

Built by Rishabh Dogra - connect on LinkedIn.

Privacy

All processing happens locally. No data is collected, transmitted, or stored externally.

External calls only happen when you explicitly ask - render_from_url and poll_http need a URL or preset you provide. Both refuse to fetch private, loopback, or link-local addresses (your 192.168.* network, AWS metadata at 169.254.169.254, etc.) so a prompt-injected AI can't quietly reach internal services. They also throttle per hostname so a runaway loop won't get your IP banned from a real API.

Credentials in env var presets never leave your machine. The browser preview server and the optional HTTP transport both bind to 127.0.0.1 by default and are not reachable from other devices. Chart HTML files live in your system temp folder and auto-delete after 7 days. See Configuration to change any of this.

License

FSL-1.1-MIT - Free to use for any purpose except building a competing commercial product. Each version converts to MIT two years after release. For commercial licensing, contact [email protected].

Third-party software

The bundled UI artifact (dist/mcp-app.html) embeds open-source libraries from the Chart.js, html2canvas-pro, Luxon, TopoJSON, and Dagre projects, distributed under MIT or ISC licenses. Full attribution and license texts are reproduced in THIRD_PARTY_LICENSES.md.

来源:README.md,提交 3396c1f

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v2.4.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。