Start here. Add other MCPs later. Control everything through one opinionated interface.
Hanzo MCP isn't just another Model Context Protocol serverโit's THE MCP server. While others give you fragments, we give you the complete toolkit. One server that orchestrates all others, with the power to add, remove, and control any MCP server dynamically.
# Install and rule your development world
uvx hanzo-mcp
Note on Deprecation Warnings: If you see Pydantic deprecation warnings, clear your uvx cache with
rm -rf ~/.cache/uv/
and run again. This is due to litellm using old Pydantic v1 config style in cached environments.
- Fragmented Experience: Install 10 different MCPs for 10 different tasks
- Inconsistent Interfaces: Each MCP has its own conventions and quirks
- Limited Scope: Most MCPs do one thing, leaving you to juggle multiple servers
- No Orchestration: No way to coordinate between different MCP servers
- One Installation: 65+ professional tools out of the box
- Unified Philosophy: Consistent, opinionated interface following Unix principles
- MCP Orchestration: Install and control other MCP servers through Hanzo
- Swappable Opinions: Don't like our way? Load a different palette and change everything
# Don't like our shell tools? Swap the palette
palette_load(palette="minimal") # Just the essentials
palette_load(palette="pentesting") # Security focused tools
palette_load(palette="data-science") # Jupyter, pandas, numpy focused
palette_load(palette="your-custom") # Your tools, your way
# Add any MCP server dynamically
mcp_add(url="github.com/someone/their-mcp", alias="their")
# Use their tools through our unified interface
their_tool(action="whatever", params=...)
# Remove when done
mcp_remove(alias="their")
- search: Combines grep, AST analysis, vector embeddings, and git history
- symbols: Find any code symbol across languages instantly
- git_search: Search through git history, branches, and commits
- agent: Delegate complex tasks to specialized AI agents
- llm: Query multiple LLM providers with consensus
- jupyter: Full Jupyter notebook support
- neovim: Integrated Neovim for power users
- edit/multi_edit: Intelligent pattern-based editing
- read/write: Automatic encoding detection
- tree: Visual directory structures
- watch: Monitor file changes in real-time
- run_command: Secure command execution with timeout
- processes: Monitor and manage system processes
- npx/uvx: Package runners with background support
- Database tools (SQL, Graph)
- Vector search and indexing
- Todo management
- Configuration management
- MCP server management
- Statistical analysis
- Batch operations
- One Tool, One Purpose - Each tool does one thing exceptionally well
- Actions Over Tools - Complex tools support multiple actions, not multiple interfaces
- Parallel by Default - Run multiple operations concurrently
- Smart Fallbacks - Automatically choose the best available backend
- Secure by Design - Fine-grained permissions and audit trails
- Opinionated but Flexible - Strong defaults with palette customization
# Install globally with uvx (recommended)
uvx hanzo-mcp
# Or install with pip
pip install hanzo-mcp
# Or install from source for development
git clone https://github.com/hanzoai/mcp
cd mcp
make install
# Automatic installation
make install-desktop
# Or manual configuration
cat >> ~/Library/Application\ Support/Claude/claude_desktop_config.json << 'EOF'
{
"mcpServers": {
"hanzo": {
"command": "uvx",
"args": ["hanzo-mcp"]
}
}
}
EOF
- Open Claude Desktop
- Start with
search
to explore any codebase - Use
tree
to understand structure - Edit files with
edit
ormulti_edit
- Run commands with
run_command
- Add other MCP servers with
mcp_add
Palettes let you completely transform Hanzo MCP's behavior:
# List available palettes
palette_list()
# Load a different personality
palette_load(palette="minimal") # Just core tools
palette_load(palette="academic") # Research and writing focused
palette_load(palette="devops") # Infrastructure and deployment
# Create your own
palette_create(
name="my-workflow",
tools=["read", "write", "edit", "search", "my-custom-tool"],
config={"editor": "vim", "search_backend": "ripgrep"}
)
Hanzo MCP can manage other MCP servers:
# Add any MCP server
mcp_add(url="github.com/modelcontextprotocol/servers/tree/main/postgres")
# List installed servers
mcp_stats()
# Use tools from other servers seamlessly
postgres_query(query="SELECT * FROM users")
# Remove when done
mcp_remove(alias="postgres")
# Multi-modal search across your codebase
results = search(
query="authentication",
include_git=True, # Search git history
include_vector=True, # Semantic search
include_ast=True, # AST symbol search
parallel=True # Search all modes concurrently
)
# Delegate complex tasks to specialized agents
agent(
task="Refactor this codebase to use async/await",
files=["src/**/*.py"],
instructions="Maintain backwards compatibility"
)
# Query multiple LLMs and get consensus
llm(
action="consensus",
prompt="Is this code secure?",
providers=["openai", "anthropic", "google"],
threshold=0.8
)
Built on modern Python with:
- FastMCP: High-performance MCP framework
- UV: Lightning-fast Python package management
- Parallel Execution: Concurrent operations by default
- Smart Backends: Automatic selection of best available tools
- Type Safety: Full type hints and validation
We welcome contributions! The codebase is designed for extensibility:
- Add a Tool: Drop a file in
hanzo_mcp/tools/
- Create a Palette: Define tool collections and configurations
- Improve Existing Tools: Each tool is independently testable
See CONTRIBUTING.md for guidelines.
- Quick Start Guide - Get running in 5 minutes
- Tool Reference - Detailed documentation for all 65+ tools
- Palette System - Customize your experience
- MCP Orchestration - Control other MCP servers
- Best Practices - Tips from power users
"I replaced 12 different MCP servers with just Hanzo. The palette system means I can switch contexts instantlyโfrom web dev to data science to DevOps." - Power User
"The agent orchestration is incredible. I can delegate entire refactoring tasks and it just works." - Sr. Engineer
"Finally, an MCP that thinks like a developer. Smart defaults, great errors, and everything is parallel." - Tech Lead
- 65+ Professional Tools
- 10x Faster than installing multiple MCPs
- 1 Unified interface to rule them all
- โ Possibilities with the palette system
MIT - Use it, extend it, make it yours.
The Zen of Hanzo MCP
One server. All tools. Your way.
uvx hanzo-mcp