mcp-server-chart vs lean-ctx
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-server-chart by antvis | lean-ctx by yvgude | |
|---|---|---|
| Stars | ★ 4,068 | ★ 1,676 |
| 30天用量 | 10,239 | — |
| 综合分 | 84 | 57 |
| 官方 | — | — |
| 分类 | AI / LLM 工具开发者工具效率工具 | 开发者工具AI / LLM 工具效率工具 |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 本月 |
mcp-server-chart · 概述
使用 AntV 生成 26+ 种图表的 TypeScript MCP 服务器,支持多种图表类型和部署方式。
lean-ctx · 概述
lean-ctx 是一个 MCP server,通过智能上下文压缩和缓存,在 AI 编码工具中减少 60-95% 的 token 消耗。
mcp-server-chart · 使用场景
- 数据分析师从数据集中创建可视化报告
- AI 助手根据用户请求生成自定义图表
- Web 应用通过 HTTP API 嵌入可视化功能
lean-ctx · 使用场景
- 在 AI 编码助手减少 token 使用同时保持完整上下文感知
- 优化大型代码库和 monorepo 的上下文管理
- 创建可共享的上下文包供团队协作使用
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"]
}
}
}lean-ctx · 安装
使用以下方法之一安装 lean-ctx:
# 通用安装程序(不需要 Rust)
curl -fsSL https://leanctx.com/install.sh | sh
# macOS / Linux 通过 Homebrew
brew tap yvgude/lean-ctx && brew install lean-ctx
# Node.js
npm install -g lean-ctx-bin
# Rust
cargo install lean-ctx
# Pi 编码代理
pi install npm:pi-lean-ctx安装后,设置:
lean-ctx setup然后重启您的 shell 和 AI 工具。对于 Claude Desktop,添加到 config.json:
{
"mcpServers": {
"lean-ctx": {
"command": "lean-ctx",
"args": ["mcp"]
}
}
}