mcp-server-chart vs swiftlens
Side-by-side comparison to help you pick between these two MCP servers.
mcp-server-chart by antvis | swiftlens by swiftlens | |
|---|---|---|
| Stars | ★ 4,068 | ★ 124 |
| 30d uses | 10,239 | — |
| Score | 84 | 44 |
| Official | — | — |
| Categories | AI / LLM ToolsDeveloper ToolsProductivity | Developer ToolsAI / LLM ToolsOther |
| Language | TypeScript | Python |
| Last commit | this month | 10 mo ago |
mcp-server-chart · Summary
A TypeScript MCP server for generating 26+ visualization charts using AntV, supporting multiple chart types and deployment options.
swiftlens · Summary
SwiftLens MCP server enables AI models to understand Swift codebases with compiler-grade accuracy via SourceKit-LSP integration.
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
swiftlens · Use cases
- AI-assisted code refactoring and modernization of Swift applications
- Deep code analysis and documentation generation for Swift projects
- Cross-referencing and impact analysis during code changes
mcp-server-chart · Install
Installation
Install globally:
npm install -g @antv/mcp-server-chartFor 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"]
}
}
}swiftlens · Install
Installation
Prerequisites
- macOS (required for SourceKit-LSP)
- Python 3.10+
- Xcode (full installation from App Store)
Quick Start
Configure for Claude Code / Gemini CLI
Add to your JSON configuration file mcpServers section:
{
"mcpServers": {
"swiftlens": {
"command": "uvx",
"args": ["swiftlens"]
}
}
}Build SourceKit LSP Index
SwiftLens requires an index store for cross-file analysis. Build it with:
# Navigate to your Swift project
cd /path/to/your/swift/project
# Build with index store
swift build -Xswiftc -index-store-path -Xswiftc .build/index/store**Important**: Rebuild the index when you add new Swift files, change public interfaces, or notice missing symbol references.