npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hanzo/mcp

v2.4.25

Published

Hanzo MCP Server - Unified tool surface with AI, cloud control, vector search, and multi-framework UI

Readme

Hanzo MCP

Open in Hanzo Edit with Hanzo Deploy with Hanzo

npm Protocol License Gateway

The official Model Context Protocol (MCP) server for coding agents, autonomous workflows, and tool orchestration.

It exposes 260+ capabilities collapsed into high-efficiency action-routed tools over stdio or HTTP/SSE (hanzo mcp -t sse), plus native integration with the Kai Agent Governance & Decision Engine.


Install

One install, any OS (Windows included):

npm i -g hanzo                      # or, on macOS/Linux: curl -fsSL https://hanzo.sh | sh
hanzo auth login                    # sign in

npm i -g hanzo installs a small launcher. Each native Rust binary is downloaded on first use and its SHA-256 checked:

| Command | What it runs | | :--- | :--- | | hanzo mcp | this MCP server (native Rust hanzo-mcp) over stdio; hanzo mcp -t sse serves HTTP/SSE | | hanzo dev | the Hanzo Dev agent, with this server attached | | hanzo engine serve <model> | local inference (Hanzo Engine) | | hanzo | a coding session |

The native server takes no serve subcommand (hanzo mcp serve is tolerated).

Client Configuration

Nothing needs to be installed first: npx -y hanzo mcp fetches the launcher and the server.

1. Claude Code

claude mcp add --scope user hanzo -- npx -y hanzo mcp
claude mcp list

2. Codex

codex mcp add hanzo -- npx -y hanzo mcp

3. Hanzo Dev (hanzo dev)

Hanzo Dev (dev.chat) attaches this server by default:

hanzo dev

4. Cursor, Windsurf, Zed, and VS Code

Add to your mcpServers configuration (~/.cursor/mcp.json or project .mcp.json):

{
  "mcpServers": {
    "hanzo": {
      "command": "npx",
      "args": ["-y", "hanzo", "mcp"]
    }
  }
}

Once you have run hanzo auth login, the server uses that sign-in; set HANZO_API_KEY in an env block only to override it.

5. Over HTTP (SSE)

For remote or multi-agent deployments:

hanzo mcp -t sse --port 3333

6. Choosing tools

Every tool schema the server lists is sent to the model on each turn. Serve only the ones you use:

claude mcp add --scope user hanzo -- npx -y hanzo mcp --tools fs,code,exec

Run hanzo mcp --help for every option (--project-dir, --transport, --port, --tools).


Tool Catalog

Tool names and action schemas are the same in every runtime; LLM.md has the per-tool parity table:

| Group | Tools | Description | | :--- | :--- | :--- | | core | fs, exec, code, git, fetch, workspace, ui | File read/write, shell execution, AST code edits, git operations, HTTP calls, UI components. | | optional | think, memory, hanzo, plan, tasks, mode, gimp | CoT scratchpads, semantic memory, Hanzo Cloud resource dispatch, task coordination, canvas. | | code intelligence | code_search, code_context, code_ask, code_index | Dense vector code search, symbol index lookup, context graph resolution. | | tracker | tracker_boards, tracker_issues, tracker_create, tracker_update | Visible engineering work items and live session status tracking on hanzo.app. | | coding | coding (start, progress, changes, artifacts, tree, blob, steer, merge, stop) | Autonomous coding runs: a repo and a task in, a pushed branch out; a pull request when the work is ready (Rust runtime). | | kai (governance) | kai_decide, kai_choice, kai_score, kai_noul, kai_tool_select, kai_next_action, kai_command_guard, kai_injection_screen, kai_extract, kai_log_triage, kai_recover, kai_agent_step | Typed policy evaluation, behavioral consistency benchmarking, command guards, failure recovery. The native server carries kai_decide; the rest are in the TypeScript server (below). |

The hanzo Cloud Dispatcher

The unified hanzo tool gives agents access to all 2,400+ endpoints across the Hanzo Cloud platform:

  • resource: Names the subsystem (e.g., ai, studio, models, graph, iam, kms, billing, chain, network).
  • action: Names the operation. Calling with no action lists available operations.
  • args: Arguments passed to the operation.
{
  "resource": "ai",
  "action": "aiFrameGenerate",
  "args": {
    "model": "iro",
    "prompt": "A white canvas with a soft dot-grid, one dark rounded terminal showing a small diff, thin black contour lines flowing out of it, monochrome",
    "headline": "Describe the change.",
    "accent": "Dev ships it.",
    "layout": "split-left",
    "theme": "light"
  }
}

Subsequent edits (aiFrameEdit on /v1/frame/edits) redesign text, swap themes (light, glass, dark), reposition panels (split-left, split-right, center-stack), or patch composable layers in ~15ms with zero diffusion cost when background_b64 is supplied, or re-run background diffusion (qwen-image-edit, iro) when edit_background: true.

Kai Decision Primitives & Local Acceleration

Kai tools ask Hanzo's decision model typed questions (POST /v1/decisions on https://api.hanzo.ai or a local instance via LOCAL_KAI_URL=http://127.0.0.1:8080) and return calibrated probabilities and audit rationales: Only kai_decide is in the native server; the others below are served by the TypeScript server.

  • kai_choice: Multi-class categorical decision matching policy criteria.
  • kai_score: Ordinal scoring and confidence assessment.
  • kai_noul: Evaluates the probability that a behavioral statement holds true.
  • kai_command_guard: Pre-execution command check (ALLOW, ASK, or DENY).
  • kai_injection_screen: Prompt injection and jailbreak barrier.
  • kai_decide: Batch evaluation of up to 100 questions in a single call.

See the cookbook for 15+ runnable recipes.


TypeScript server (@hanzo/mcp)

The TypeScript runtime is still published as @hanzo/mcp (Node 18+) for anyone who wants it specifically, e.g. for the kai_* governance tools the cookbook uses: npx -y @hanzo/mcp serve. Its own flags (--core-only, --disable-tools <names>, --enable-ui, --enable-desktop, --full-surface) are listed by npx -y @hanzo/mcp serve --help.


Sibling Implementations


Development & Testing

pnpm install
pnpm build
pnpm smoke    # runs smoke integration over stdio: initialize, tools/call, resources

Company & Leadership

Hanzo AI is co-led by Co-CEOs Antje Worring and Zach Kelling.


License

MIT — see LICENSE.