Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Claude Swarm MCP ServerCreate a finance team for 'TechVest Capital'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Claude Swarm MCP Server
A Model Context Protocol (MCP) server that enables multi-agent orchestration using Claude AI through Claude Desktop. Create, manage, and coordinate specialized AI agents for complex workflows like financial analysis, customer service, and research.
π Features
π€ Persistent Agents: Create specialized Claude agents that survive restarts
π Agent Coordination: Intelligent handoffs between agents based on expertise
πΎ Local Storage: All agents and conversations saved locally
π Pre-built Templates: Ready-to-use financial analysis and customer service teams
π― Specialized Functions: Custom tools and capabilities per agent
π§ Easy Integration: Works seamlessly with Claude Desktop
π Quick Start
Prerequisites
Python 3.10+
Claude Desktop installed
Anthropic API key with billing enabled
Installation
Clone the repository
Install dependencies
Configure Claude Desktop
Edit
~/Library/Application Support/Claude/claude_desktop_config.json:
Start the server
Restart Claude Desktop and test with:
π― Usage Examples
Create a Financial Analysis Team
This creates 4 specialized agents:
Risk Analyst - VaR calculations, stress testing
Portfolio Manager - Asset allocation, optimization
Data Analyst - Market data, performance metrics
Research Analyst - Investment research, market analysis
Chat with Specialists
Create Custom Agents
List All Agents
Portfolio Analysis Workflow
Agents will coordinate automatically to provide comprehensive analysis
π§ Available Tools
Tool | Description |
| Create a new specialized agent |
| View all saved agents |
| Interact with specific agents |
| Remove an agent permanently |
| Generate complete financial analysis team |
| View chat history and agent transfers |
| Clear conversation history |
π Project Structure
ποΈ Architecture
Core Components
Claude Swarm Framework (
claude_swarm.py)Multi-agent orchestration
Automatic handoffs between agents
Shared conversation context
Function calling integration
MCP Server (
claude_swarm_mcp_server.py)Model Context Protocol implementation
Persistent agent storage
Tool registration and handling
Claude Desktop integration
Agent Storage (
data/)JSON-based agent persistence
Conversation history
Context variables
Backup and restore capabilities
Data Flow
π¨ Use Cases
Financial Services
Portfolio Risk Analysis: VaR calculations, stress testing
Investment Research: Market analysis, stock recommendations
Compliance Monitoring: Regulatory requirements, position limits
Client Advisory: Personalized investment advice
Customer Support
Intelligent Triage: Route customers to appropriate specialists
Multi-language Support: Automatic language detection and routing
Escalation Management: Seamless handoffs to senior agents
Knowledge Base Integration: Context-aware information retrieval
Research & Development
Literature Review: Coordinate research across multiple domains
Data Analysis: Statistical analysis, visualization, reporting
Project Management: Task coordination, milestone tracking
Technical Documentation: Automated documentation generation
π Security & Privacy
Local Storage: All data stored locally on your machine
API Key Security: Secure API key handling through environment variables
No External Dependencies: No third-party services for agent storage
Audit Trail: Complete conversation history and agent interactions
π οΈ Configuration
Environment Variables
Storage Configuration
π Performance
Agent Creation: < 2 seconds
Chat Response: 3-8 seconds (depending on complexity)
Agent Handoffs: < 1 second
Storage Operations: < 500ms
Memory Usage: ~50-100MB (depending on conversation history)
π Troubleshooting
Common Issues
1. API Authentication Errors
2. MCP Connection Issues
Restart Claude Desktop
Check server logs for errors
Verify config file path and syntax
3. Agent Not Responding
Check billing status in Anthropic Console
Verify agent instructions are clear
Test with simple messages first
4. Storage Permission Errors
Debug Mode
π€ Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Development Setup
Running Tests
π Roadmap
Advanced Agent Coordination: Complex multi-step workflows
Custom Function Registry: User-defined agent capabilities
Web UI: Browser-based agent management interface
Integration Templates: Pre-built integrations for popular services
Performance Optimization: Faster response times and memory usage
Multi-Model Support: Support for other LLM providers
Cloud Deployment: Docker containers and cloud hosting options
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Anthropic for Claude AI and excellent API
OpenAI for the original Swarm framework inspiration
Model Context Protocol team for the MCP specification
Claude Desktop team for seamless integration
π Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Documentation: docs/
β Star this repository if you find it useful!
Built with β€οΈ for the Claude AI community# Claude Swarm MCP Server
A Model Context Protocol (MCP) server that enables multi-agent orchestration using Claude AI through Claude Desktop. Create, manage, and coordinate specialized AI agents for complex workflows like financial analysis, customer service, and research.
π Features
π€ Persistent Agents: Create specialized Claude agents that survive restarts
π Agent Coordination: Intelligent handoffs between agents based on expertise
πΎ Local Storage: All agents and conversations saved locally
π Pre-built Templates: Ready-to-use financial analysis and customer service teams
π― Specialized Functions: Custom tools and capabilities per agent
π§ Easy Integration: Works seamlessly with Claude Desktop
π Quick Start
Prerequisites
Python 3.10+
Claude Desktop installed
Anthropic API key with billing enabled
Installation
Clone the repository
Install dependencies
**Configure# Claude Swarm MCP Server
A Model Context Protocol (MCP) server that enables multi-agent orchestration using Claude AI through Claude Desktop. Create, manage, and coordinate specialized AI agents for complex workflows like financial analysis, customer service, and research.
π Features
π€ Persistent Agents: Create specialized Claude agents that survive restarts
π Agent Coordination: Intelligent handoffs between agents based on expertise
πΎ Local Storage: All agents and conversations saved locally
π Pre-built Templates: Ready-to-use financial analysis and customer service teams
π― Specialized Functions: Custom tools and capabilities per agent
π§ Easy Integration: Works seamlessly with Claude Desktop