🚀 MCP Server Chart - 完全离线版本

by liukeyu800

8 stars
371 downloads
Not rated
GitHub

About

# 🚀 MCP Server Chart - 完全离线版本 [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Node.js](https://img.shields.io/badge/Node.js-18+-green.svg)](https://nodejs.org/)…

Details

Author
liukeyu800
GitHub stars
8
Downloads
371
Categories
Other

- 🌐 完全离线,无需网络连接
- 📊 支持 15 种图表类型(基础、统计、高级、关系)
- ⚡ 平均生成时间 < 1ms
- 🪶 纯 SVG 生成,无外部依赖
- 🔌 兼容 Model Context Protocol(MCP)
- 🛡️ 数据本地处理,不上传云端
- 🎨 输出 Base64 编码的 SVG data URL

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name 🚀 MCP Server Chart - 完全离线版本
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

安装依赖 npm install 并构建 npm run build,然后以 MCP 服务器模式启动:node build/index.js(默认 stdio 模式)或 --transport sse --port 1122 等。也可运行演示服务器 node demo-server.js。MCP 客户端需在配置中添加 mcpServers 字段指定命令和路径。

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "\ud83d\ude80 mcp server chart - \u5b8c\u5168\u79bb\u7ebf\u7248\u672c": {
            "mcp-server-chart-offline": {
                "command": "node",
                "args": [
                    "build/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-server-chart-offline": {
        "command": "node",
        "args": [
            "build/index.js"
        ]
    }
}

🚀 MCP Server Chart - 完全离线版本

License: MIT
Node.js
TypeScript

一个完全离线的 Model Context Protocol (MCP) 图表生成服务器,支持 15 种图表类型,无需网络连接即可生成高质量的 SVG 图表。

✨ 主要特性

- 🌐 完全离线 - 无需任何网络连接
- 📊 15种图表类型 - 涵盖基础图表、统计图表、高级图表和关系图表
- ⚡ 即时响应 - 平均生成时间 < 1ms
- 🪶 轻量级 - 纯 SVG 生成,无外部依赖
- 🔌 MCP 兼容 - 完全兼容 Model Context Protocol
- 🛡️ 数据安全 - 所有数据本地处理,不上传云端
- 🎨 高质量输出 - Base64 编码的 SVG data URL

📊 支持的图表类型

基础图表

- 📈 折线图 (line) - 显示数据趋势和变化 - 📊 柱状图 (bar/column) - 比较不同类别的数据 - 🥧 饼图 (pie) - 显示数据占比和分布 - 📈 面积图 (area) - 显示数据变化趋势和累积效果

统计图表

- 📊 直方图 (histogram) - 显示数据分布频率 - ⚪ 散点图 (scatter) - 显示两个变量之间的关系

高级图表

- ☁️ 词云图 (word-cloud) - 可视化文本数据的重要性 - 🎯 雷达图 (radar) - 多维数据对比分析 - 🗂️ 树状图 (treemap) - 层次化数据的面积展示 - 📊 双轴图 (dual-axes) - 同时展示两个不同量级的数据系列

关系图表

- 🧠 思维导图 (mind-map) - 展示概念之间的层次关系 - 🕸️ 网络图 (network-graph) - 显示节点和连接关系 - 🔄 流程图 (flow-diagram) - 展示步骤和流程 - 🐟 鱼骨图 (fishbone-diagram) - 因果关系分析图

🚀 快速开始

安装依赖

npm install

构建项目

npm run build

运行方式

1. MCP 服务器模式

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.