MCP Catalogs
Home

mcp-server-chart vs context-mode

Side-by-side comparison to help you pick between these two MCP servers.

mcp-server-chart
by antvis
context-mode
by mksglu
Stars★ 4,068★ 14,865
30d uses10,239
Score8462
Official
Categories
AI / LLM ToolsDeveloper ToolsProductivity
AI / LLM ToolsDeveloper ToolsProductivity
LanguageTypeScriptTypeScript
Last committhis monththis month

mcp-server-chart · Summary

A TypeScript MCP server for generating 26+ visualization charts using AntV, supporting multiple chart types and deployment options.

context-mode · Summary

MCP server that optimizes context windows for AI agents by sandboxing tool output with 98% reduction.

mcp-server-chart · Use cases

  • Data analysts creating visual reports from datasets
  • AI assistants generating custom charts based on user requests
  • Web applications embedding visualization capabilities via HTTP API

context-mode · Use cases

  • Optimize context usage when working with large files or multiple documents
  • Maintain session continuity across AI coding sessions without losing track of edits
  • Reduce token consumption by executing code instead of reading file contents
  • Improve AI agent performance by minimizing context overflow

mcp-server-chart · Install

Installation

Install globally:

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

For Desktop Apps (e.g., Claude Desktop, VSCode):

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

For Windows:

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

context-mode · Install

Installation

Claude Code

/plugin marketplace add mksglu/context-mode
/plugin install context-mode@context-mode

Gemini CLI

npm install -g context-mode

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "context-mode": {
      "command": "context-mode"
    }
  },
  "hooks": {
    "BeforeTool": [{
      "matcher": "run_shell_command|read_file|read_many_files|grep_search|search_file_content|web_fetch|activate_skill",
      "hooks": [{ "type": "command", "command": "context-mode hook gemini-cli beforetool" }]
    }],
    "AfterTool": [{
      "matcher": "",
      "hooks": [{ "type": "command", "command": "context-mode hook gemini-cli aftertool" }]
    }],
    "PreCompress": [{
      "matcher": "",
      "hooks": [{ "type": "command", "command": "context-mode hook gemini-cli precompress" }]
    }],
    "SessionStart": [{
      "matcher": "",
      "hooks": [{ "type": "command", "command": "context-mode hook gemini-cli sessionstart" }]
    }]
  }
}

Manual MCP (for Claude Desktop)

{
  "mcpServers": {
    "context-mode": {
      "command": "npx",
      "args": ["-y", "context-mode"]
    }
  }
}
Comparison generated from public README + GitHub signals. Last updated automatically.