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

local-mcp-toolbelt

v0.6.0

Published

Local-first MCP toolbelt: delegates summarise/classify/extract/transform tasks from any MCP client to a local oMLX inference server. Apple Silicon, MLX-accelerated, KV-cache persistent.

Downloads

154

Readme

local-mcp-toolbelt

CI

Delegate summarise / classify / extract / transform tasks from any MCP client to a local oMLX inference server. Save frontier tokens. Stay private. Run offline on Apple Silicon.

Single backend: MlxHttpBackend → oMLX serving Qwen3 MLX-4bit models. KV-cache persistent across requests. OpenAI Structured Outputs strict mode for grammar-constrained outputs.

Tools

| Tool | Tier | Use case | |---|---|---| | summarize | B (Qwen3-4B-Instruct) | Short text ≤ ~2 K words | | summarize-long | C (Qwen3-8B, numCtx=32 K) | Up to ~25 K words single-call | | summarize-long-chunked | C | Map-reduce for documents > 25 K words | | classify | B | Grammar-constrained enum labels | | extract | B | Grammar-constrained JSON against a supplied schema | | transform | B | Free-form rewrite / translation |

All tools accept source_uri: "file:///..." | "https://..." to read source directly — raw bytes never enter the frontier context.

Setup

1. Install oMLX

brew tap jundot/omlx
brew install omlx
brew services start jundot/omlx/omlx

2. Download models

npm run download-models
# Default: B + C (~7.5 GB)
#   Qwen3-4B-Instruct-2507-4bit  (Tier B, ~2.5 GB)
#   Qwen3-8B-4bit                (Tier C, ~5 GB)
#
# Power-user opt-in for Tier D (demoted in v0.6.0 — 24+ GB Mac only):
npm run download-models -- --tiers B,C,D
#   + Qwen3-14B-4bit             (Tier D, ~5 GB more)

3. Configure your MCP client

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "local-mcp-toolbelt": {
      "command": "node",
      "args": [
        "/path/to/packages/core/dist/bin/cli.js",
        "serve"
      ]
    }
  }
}

Or install from npm and use npx:

{
  "mcpServers": {
    "local-mcp-toolbelt": {
      "command": "npx",
      "args": ["-y", "local-mcp-toolbelt", "serve"]
    }
  }
}

CLI

local-mcp-toolbelt serve                   # MCP server over stdio (default)
local-mcp-toolbelt serve --mlx-url URL     # Custom oMLX URL
local-mcp-toolbelt serve --tier-b-model M  # Override Tier B model name

Environment variables

| Variable | Default | Description | |---|---|---| | OMCP_MLX_URL | http://127.0.0.1:8000 | oMLX server URL | | OMCP_TIER_B_MODEL | Qwen3-4B-Instruct-2507-4bit | Tier B model name | | OMCP_TIER_C_MODEL | Qwen3-8B-4bit | Tier C model name | | OMCP_TIER_D_MODEL | Qwen3-14B-4bit | Tier D model name (demoted v0.6.0 — power-user opt-in) | | OMCP_URL_MAX_BYTES | 10485760 | Max http(s):// body size | | OMCP_URL_TIMEOUT_MS | 30000 | Fetch timeout (ms) | | OMCP_URL_DENY_PRIVATE | 1 | Block private/loopback hosts (SSRF) | | OMCP_CHUNK_SIZE | 2000 | Target tokens per chunk (chunked summarizer) | | OMCP_CHUNK_OVERLAP | 200 | Overlap between adjacent chunks | | OMCP_CHUNK_CONCURRENCY | 2 | MAP fan-out cap | | OMCP_TELEMETRY_FOOTER | 1 | Set 0 to suppress footer in content[] |

Development

npm test                # unit tests — no oMLX required
npm run build           # tsc → dist/

See tests/eval/README.md for the per-tier latency + quality eval harness (requires oMLX running).

License

Apache-2.0 — see the project root LICENSE and NOTICE for attributions.