npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gpt-vis-mcp

v1.0.0

Published

GPT-Vis 可视化图表生成 MCP 服务

Readme

GPT-Vis MCP Server

一个基于 MCP (Model Context Protocol) 的智能数据可视化工具,当用户提出数据分析需求时,自动判断并生成相应的图表。

安装

使用 npx (推荐)

npx gpt-vis-mcp

使用 npm

npm install -g gpt-vis-mcp

使用 Docker

docker run -p 3000:3000 boyyangzai/gpt-vis-mcp

配置

Claude Desktop

claude_desktop_config.json 中添加:

{
  "mcpServers": {
    "gpt-vis": {
      "command": "npx",
      "args": ["gpt-vis-mcp"]
    }
  }
}

Cursor

在 MCP 设置中添加:

{
  "mcpServers": {
    "gpt-vis": {
      "command": "npx",
      "args": ["gpt-vis-mcp"]
    }
  }
}

功能

智能判断工具

  • 自动识别用户问题是否需要数据可视化
  • 基于关键词和语义分析,推荐合适的图表类型
  • 触发词汇:统计、分析、对比、趋势、分布、占比等

图表生成工具

  • 基于用户数据创建可视化图表
  • 支持多种图表类型:柱状图、折线图、饼图、散点图等
  • 输出标准的 vis-chart 格式

示例

用户输入:

"帮我统计淮安平均月收入"

系统自动:

  1. 判断需要可视化
  2. 推荐柱状图
  3. 生成模拟数据
  4. 输出图表配置

输出格式:

{
  "type": "column",
  "data": [
    {"category": "教育行业", "value": 6500},
    {"category": "IT行业", "value": 8200}
  ],
  "title": "淮安市各行业平均月收入统计",
  "xField": "category",
  "yField": "value"
}

开发

# 克隆项目
git clone https://github.com/BoyYangzai/gpt-vis-mcp.git
cd gpt-vis-mcp

# 安装依赖
npm install

# 构建
npm run build

# 测试
npm test

License

MIT