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

@capybaralabs/hive-mcp

v0.1.0

Published

MCP server for HIVE — exposes a HIVE queen as native tools to Claude Desktop, Claude Code, Cursor, OpenClaw, and any MCP-aware host.

Readme

@capybaralabs/hive-mcp

MCP server that exposes a HIVE queen as native tools to any MCP-aware LLM host: Claude Desktop, Claude Code, Cursor, Continue, Goose, OpenClaw, and others.

HIVE is a decentralized, verifiable knowledge base for LLMs — peer-to-peer extraction of signed knowledge fragments, embedded vector search, optional LLM synthesis. This package is the bridge between any MCP-aware client and a running HIVE queen.

Reference: USE-CASES.md → case 14 in the HIVE repo.

Install

Use directly (no install) for the canonical setup in a Claude Desktop / Cursor MCP config:

npx @capybaralabs/hive-mcp

Or install globally:

npm install -g @capybaralabs/hive-mcp
hive-mcp

Configuration

Two environment variables:

| Variable | Required | Default | Purpose | |---|---|---|---| | HIVE_QUEEN_URL | no | http://localhost:8090 | Base URL of the queen's HTTP API | | HIVE_API_KEY | when queen auth is enabled (v0.9+) | (none) | Bearer token sent as Authorization header |

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "hive": {
      "command": "npx",
      "args": ["-y", "@capybaralabs/hive-mcp"],
      "env": {
        "HIVE_QUEEN_URL": "https://your-queen.example.com"
      }
    }
  }
}

Claude Code

claude mcp add hive npx -y @capybaralabs/hive-mcp \
  -e HIVE_QUEEN_URL=https://your-queen.example.com

Cursor

~/.cursor/mcp.json (same JSON shape as Claude Desktop).

OpenClaw

Discovered automatically by mcporter from npm — see docs.openclaw.ai/cli/mcp.

Tools

| Tool | Purpose | |---|---| | hive_query | Retrieve signed knowledge fragments matching a free-text query. Returns top-k fragments with score, snippet, URL, signing bee. No LLM synthesis — the calling LLM (Claude/Cursor) composes the answer from the fragments. | | hive_list_sources | List the bees registered on this queen and the sources each one declares. Useful for discovery. |

Why no LLM synthesis in the MCP path?

HIVE's product is the information (signed fragments with provenance), not the prose. When called from an MCP host, the host's own LLM (Claude Sonnet, Cursor's model, etc.) is invariably stronger than any model the queen-side might call — running fragments through a weaker LLM and then a stronger one is redundant and loses fidelity. So hive_query returns raw fragments and lets the host LLM synthesise.

The queen's /api/query endpoint still supports LLM synthesis (use_llm: true) — it's used by the queen's own web UI, by non-MCP integrations, and by case 06 (Local AI · fully-offline stack). Just not from MCP.

Develop

git clone https://github.com/capybarist/hive-mcp
cd hive-mcp
npm install
npm run dev   # runs from src/ with tsx (no build step)
npm run build # emits dist/

Point at a local HIVE queen running on http://localhost:8090 (default), or set HIVE_QUEEN_URL to a remote one.

Transport

stdio only in v0.1 — the universal denominator across MCP hosts. SSE / HTTP-streamable transports are tracked for v0.2 (needed for remote multi-user queens).

License

BUSL-1.1 — same as HIVE.