MCP Catalogs
首页

mcp-server-chart vs mcp-python-executor

并排对比,帮你在这两个 MCP server 之间做选择。

mcp-server-chart
by antvis
mcp-python-executor
by bsmi021
Stars★ 4,068★ 3
30天用量10,239
综合分8430
官方
分类
AI / LLM 工具开发者工具效率工具
开发者工具AI / LLM 工具效率工具
实现语言TypeScriptJavaScript
最近提交本月15 个月前

mcp-server-chart · 概述

使用 AntV 生成 26+ 种图表的 TypeScript MCP 服务器,支持多种图表类型和部署方式。

mcp-python-executor · 概述

一个执行Python代码和管理软件包的MCP服务器,具有安全限制功能。

mcp-server-chart · 使用场景

  • 数据分析师从数据集中创建可视化报告
  • AI 助手根据用户请求生成自定义图表
  • Web 应用通过 HTTP API 嵌入可视化功能

mcp-python-executor · 使用场景

  • 在AI助手中使用pandas和numpy等Python库进行数据分析工作流
  • 在有安全限制的教育环境中教授Python编程
  • 在受限制的执行环境中原型化机器学习模型

mcp-server-chart · 安装

安装

全局安装:

npm install -g @antv/mcp-server-chart

对于桌面应用(如 Claude Desktop、VSCode):

{
  "mcpServers": {
    "mcp-server-chart": {
      "command": "npx",
      "args": ["-y", "@antv/mcp-server-chart"]
    }
  }
}

Windows 系统:

{
  "mcpServers": {
    "mcp-server-chart": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@antv/mcp-server-chart"]
    }
  }
}

mcp-python-executor · 安装

安装

  1. 克隆仓库:
git clone https://github.com/bsmi021/mcp-python-executor.git
cd mcp-python-executor
  1. 安装依赖:
npm install
  1. 构建项目:
npm run build
  1. 在Claude Desktop中配置:

将以下内容添加到您的claude_desktop_config.json

{
  "mcpServers": {
    "mcp-python-executor": {
      "command": "node",
      "args": ["path/to/python-executor/build/index.js"],
      "env": {
        "PREINSTALLED_PACKAGES": "numpy pandas matplotlib scikit-learn",
        "MAX_MEMORY_MB": "512",
        "EXECUTION_TIMEOUT_MS": "30000",
        "MAX_CONCURRENT_EXECUTIONS": "5",
        "LOG_LEVEL": "info",
        "LOG_FORMAT": "json"
      }
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。