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

muxed

v0.2.3

Published

MCP tools don't belong in your model's context window. Offload them to a CLI – agents call tools through shell commands and scripts instead of loading schemas into context.

Downloads

39

Readme

muxed

MCP tools don't belong in your model's context window.

Offload them to a CLI. Let your agents call tools through shell commands and scripts instead.

npm License

Docs · npm


Every MCP server you connect dumps its full tool schema into the model's context window. A standard setup with 3-4 servers can consume 20-30% of the context before the agent even starts working. More tools in context means worse tool selection, less room for reasoning, and your carefully crafted instructions get drowned out by thousands of tokens of schema JSON. This isn't a model problem. It's an architecture problem.

muxed fixes this by moving tool management out of the harness and into a CLI. Tools stay in the CLI — agents discover and call them on-demand through shell commands. No schemas in context. Chain tool calls in bash scripts without intermediate results flowing through the LLM. The CLI auto-starts a background process on first command and shuts down after 5 minutes idle.


Use with agents

# Use directly — no install needed
bunx muxed init         # or: pnpx muxed init / npx muxed init

# Or install globally
bun install -g muxed    # or: pnpm install -g muxed / npm install -g muxed

CLI — for Claude Code, Cursor, Codex, any agent that runs shell

npx muxed init

Auto-discovers MCP servers and writes usage instructions to the agent's instructions file. Agents run npx muxed grep, npx muxed info, and npx muxed call directly.

MCP proxy — for Claude Desktop, any MCP client

npx muxed mcp

Exposes all aggregated servers as a single MCP server on stdio. Point your client at npx muxed mcp and all tools appear as one server.

Quick start

# List all servers and their status
npx muxed servers

# Search tools by name or description
npx muxed grep "search"

# Get a tool's schema
npx muxed info slack/search_messages

# Call a tool
npx muxed call filesystem/read_file '{"path": "/tmp/hello.txt"}'

Configuration

Create muxed.config.json in your project root (or ~/.config/muxed/config.json globally):

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/projects"]
    },
    "remote-api": {
      "url": "https://mcp.example.com/mcp",
      "transport": "streamable-http"
    }
  }
}

The format is compatible with the mcpServers section of claude_desktop_config.json — reuse your existing config.

Node.js API

import { createClient } from 'muxed';

const client = await createClient();
const tools = await client.grep('search');
const result = await client.call('filesystem/read_file', { path: '/tmp/config.json' });

Install as a dependency: bun add muxed / pnpm add muxed / npm install muxed

How it works

  Agent (Claude Code, Cursor, etc.)
            |
       shell commands
            |
     ┌──────┴──────┐
     │  muxed daemon │  ← background process, auto-start/stop
     │              │
     │  ServerPool  │
     │   ├── fs     │──► [stdio: filesystem server]
     │   ├── pg     │──► [stdio: postgres server]
     │   └── api    │──► [HTTP: remote server]
     └──────────────┘

Development

pnpm install && pnpm build
pnpm dev    # run from source
pnpm test   # vitest

License

MIT © Georgiy Tarasov