Skip to main content

The Zen of Hanzo MCP: One server to rule them all. The ultimate MCP that orchestrates all others.

Project description

Hanzo AI - The Zen of Model Context Protocol

Documentation PyPI Download DXT License Join our Discord

🥷 One MCP to Rule Them All

Start here. Add other MCPs later. Control everything through one opinionated interface.

Hanzo AI 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

# Or use our one-click Desktop Extension
# Download from releases and double-click to install

Note on Installation: If uvx is not installed, Hanzo will automatically install it for you in your home directory. No manual setup required!

🎯 Why Hanzo AI?

The Problem with Other MCPs

  • 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
  • Missing Quality Control: No built-in code review or quality assurance

The Hanzo Way

  • One Installation: 70+ professional tools out of the box
  • Consistent Philosophy: Unix-inspired principles with modern AI capabilities
  • MCP Orchestration: Install and control other MCP servers through Hanzo
  • Built-in Quality: Critic tool ensures high standards automatically
  • Smart Defaults: Auto-installs dependencies, reads project rules, just works

🚀 Modern AI-Powered Features

🧠 Advanced AI Tools

Multi-Agent Workflows

# Delegate complex tasks to specialized agents
agent(
    prompts=["Find all API endpoints", "Document each endpoint", "Generate OpenAPI spec"],
    parallel=True  # Run agents concurrently
)

# Get consensus from multiple LLMs
consensus(
    prompt="Review this architecture decision",
    providers=["openai", "anthropic", "google"],
    threshold=0.8  # Require 80% agreement
)

Built-in Code Critic

# Force high-quality standards with the critic tool
critic(
    analysis="Review authentication implementation for security issues"
)
# The critic will:
# - Find potential bugs and edge cases
# - Ensure proper error handling
# - Verify test coverage
# - Check security implications
# - Suggest improvements
# - Enforce best practices

📝 Project Intelligence

Automatic Rules Discovery

# Reads your project preferences automatically
rules()  # Finds .cursorrules, .claude/code.md, etc.
# Understands your:
# - Coding standards
# - Project conventions  
# - AI assistant preferences
# - Team guidelines

Unified Todo Management

# Single tool for all task management
todo("Add authentication to API")
todo --action update --id abc123 --status in_progress
todo --action list --filter pending

🔍 Next-Gen Search

Unified Search Engine

# One search to rule them all - automatically runs:
# - Grep for patterns
# - AST analysis for code structure
# - Vector search for semantic meaning
# - Git history search
# - Symbol search for definitions
search("authentication flow")

AST-Powered Code Navigation

# Find code with structural understanding
symbols --action grep_ast --pattern "TODO" --path ./src
# Shows TODO comments with full code context:
# - What function they're in
# - What class they belong to
# - Related code structure

🎨 Palette System - Opinions Are Just Configurations

# Don't like our defaults? Switch instantly
palette --action activate python      # Python development focused
palette --action activate javascript  # Node.js/React optimized
palette --action activate devops     # Infrastructure tools
palette --action activate academic   # Research & documentation

# Create your own workflow
palette_create(
    name="my-workflow",
    tools=["read", "write", "edit", "search", "critic", "agent"],
    env_vars={"EDITOR": "nvim", "SEARCH": "ripgrep"}
)

🔌 MCP Server Orchestration

# Add any MCP server dynamically
mcp --action add --url "github.com/someone/their-mcp" --alias "their"

# Use their tools seamlessly
their_tool(action="whatever", params=...)

# Remove when done
mcp --action remove --alias "their"

🛠️ Complete Tool Suite

Core Development (Always Available)

  • read/write/edit/multi_edit - Intelligent file operations
  • search - Multi-modal parallel search
  • symbols - AST-aware code navigation with grep_ast
  • tree - Visual directory structures
  • grep - Fast pattern matching
  • rules - Read project preferences

AI & Automation

  • agent - Delegate complex multi-step tasks
  • consensus - Multi-LLM agreement
  • think - Structured reasoning
  • critic - Code review and quality enforcement
  • batch - Parallel tool execution

Process & System

  • bash - Secure command execution
  • npx/uvx - Package runners with auto-install
  • process - Background process management
  • watch - File monitoring
  • diff - Visual comparisons

Data & Analytics

  • vector_index/vector_search - Semantic search
  • sql_query/sql_search - Database operations
  • graph_add/graph_query - Graph database
  • jupyter - Notebook integration
  • stats - Performance analytics

Collaboration

  • todo - Unified task management
  • palette - Tool configuration sets
  • mcp - Server orchestration
  • git_search - Repository mining

🚀 Quick Start

Installation Methods

1. Via pip/uv (Recommended)

# Installs globally
uvx hanzo-mcp

# Don't have uv? No problem - we'll install it for you!
curl -LsSf https://pypi.org/simple/hanzo-mcp | python3

2. Desktop Extension (One-Click)

  1. Download hanzo-mcp.dxt from latest release
  2. Double-click to install in Claude Desktop
  3. Restart Claude Desktop

3. Manual Configuration

// Add to Claude Desktop config
{
  "mcpServers": {
    "hanzo": {
      "command": "uvx",
      "args": ["hanzo-mcp"],
      "env": {
        "HANZO_ALLOWED_PATHS": "/Users/you/projects"
      }
    }
  }
}

🏆 Why Developers Love Hanzo

Smart Defaults

  • Auto-installs missing dependencies (uvx, uv, etc.)
  • Discovers project rules and preferences automatically
  • Parallel operations by default
  • Intelligent fallbacks when tools aren't available

Quality First

  • Built-in critic for code review
  • Test enforcement in workflows
  • Security scanning in operations
  • Best practices baked in

Extensible

  • Palette system for instant context switching
  • MCP orchestration to add any capability
  • Plugin architecture for custom tools
  • API-first design

📊 Performance

  • 65-70 tools available instantly
  • Parallel execution reduces wait times by 80%
  • Smart caching for repeated operations
  • Minimal dependencies for fast startup

🤝 Contributing

We welcome contributions! The codebase is designed for extensibility:

  1. Add a Tool: Drop a file in hanzo_mcp/tools/
  2. Create a Palette: Define tool collections
  3. Share Workflows: Contribute your configurations

See CONTRIBUTING.md for guidelines.

📚 Documentation

🌟 Testimonials

"The critic tool alone is worth it. My code quality improved overnight." - Sr. Engineer at Fortune 500

"Finally, search that actually works. It knows what I mean, not just what I type." - AI Researcher

"I threw away 15 different tools and just use Hanzo now. The palette system means I can switch from Python to DevOps to writing in seconds." - Tech Lead

📈 Project Status

  • Version: 0.6.x (Stable)
  • Tools: 70+ and growing
  • Palettes: 10 built-in, unlimited custom
  • Community: Active and helpful
  • Updates: Weekly improvements

🛡️ Security

  • Sandboxed execution for all operations
  • Permission system for file access
  • Audit trails for compliance
  • No telemetry without consent

🎯 The Zen of Hanzo

  1. One Tool, One Purpose - Each tool masters one thing
  2. Quality Over Quantity - Better to do it right
  3. Parallel When Possible - Time is precious
  4. Smart Defaults - It should just work
  5. Extensible Always - Your workflow, your way

Built with ❤️ by developers, for developers. Because life's too short for bad tools.

Get Started Now →

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hanzo_mcp-0.6.13.tar.gz (298.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hanzo_mcp-0.6.13-py3-none-any.whl (367.8 kB view details)

Uploaded Python 3

File details

Details for the file hanzo_mcp-0.6.13.tar.gz.

File metadata

  • Download URL: hanzo_mcp-0.6.13.tar.gz
  • Upload date:
  • Size: 298.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hanzo_mcp-0.6.13.tar.gz
Algorithm Hash digest
SHA256 b7fbc87d8efb19f0030e2fd3ea757d536ba890601facec4218a82abbb08968f5
MD5 4ae2296e015285cf71dafe60db4671f0
BLAKE2b-256 c80fab9ff341d8b2076f91bf016281e08907960080d638cb3b9b3cc011ad8d62

See more details on using hashes here.

File details

Details for the file hanzo_mcp-0.6.13-py3-none-any.whl.

File metadata

  • Download URL: hanzo_mcp-0.6.13-py3-none-any.whl
  • Upload date:
  • Size: 367.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hanzo_mcp-0.6.13-py3-none-any.whl
Algorithm Hash digest
SHA256 e317c17e02f78144446c9b8a20474213acb694c174ba0e03aa82eb2cfd2d9924
MD5 3a296cf5a3f2367ca177869aa6e33258
BLAKE2b-256 f2503503ed225285b0ef3f3479c7c8faa4e5f20de85b32d510d8d6251fe7279e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page