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

@manufosela/mcpack

v1.0.0

Published

Generic MCP response compression proxy. Like RTK but for MCP protocol.

Readme

MCPack

MCP Response Compression Proxy — Like RTK but for MCP servers.

Reduces LLM token consumption 60-90% by compressing MCP tool responses before they reach your AI agent.

How it works

MCPack sits between your LLM client (Claude Code, Cursor, etc.) and any MCP server as a transparent proxy:

LLM Client  ←→  MCPack Proxy  ←→  MCP Server
                    ↓
            Strips verbose fields
            Truncates long arrays
            Compacts JSON output

Install

npm install -g mcpack

Quick Start

Wrap any MCP server with MCPack:

# Before (raw MCP responses, high token usage):
planning-game-mcp

# After (compressed responses, 60-90% fewer tokens):
mcpack -- planning-game-mcp

Claude Code Integration

In ~/.claude.json:

{
  "mcpServers": {
    "planning-game": {
      "command": "mcpack",
      "args": ["--preset", "planning", "--", "planning-game-mcp"],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/key.json"
      }
    }
  }
}

Presets

| Preset | Use case | Compression | |--------|----------|-------------| | minimal | Any MCP — compact JSON only | ~30-40% | | planning | Project management (tasks, sprints, cards) | ~70-85% | | code | Code tools (diffs, patches, reviews) | ~60-75% | | data | Database/data queries | ~50-65% | | aggressive | Maximum savings for long sessions | ~80-90% |

mcpack --preset planning -- my-mcp-server
mcpack --preset aggressive -- my-mcp-server

Custom Config

Create mcpack.json:

{
  "stripFromListItems": ["description", "body", "content"],
  "stripAlways": ["changelog", "history"],
  "maxArrayItems": 15,
  "maxStringLength": 200,
  "neverTruncateFields": ["id", "url", "email"],
  "compactJson": true,
  "transformers": {}
}
mcpack --config ./mcpack.json -- my-mcp-server

What it compresses

| Strategy | Example | Savings | |----------|---------|---------| | Field stripping | Remove description, acceptanceCriteria from list items | 50-70% per item | | Array truncation | 100 items → first 20 + count | 80% | | Compact JSON | No indentation ({a:1} vs {\n a: 1\n}) | 30-40% | | String truncation | 2000-char description → 300 chars | 85% |

Token Savings Example

A typical 30-minute Claude Code session managing 50 tasks:

| Operation | Without MCPack | With MCPack | Savings | |-----------|----------------|-------------|---------| | list_cards (50 tasks) | ~25,000 tokens | ~4,000 tokens | 84% | | update_card × 30 | ~60,000 tokens | ~9,000 tokens | 85% | | get_card × 10 | ~30,000 tokens | ~12,000 tokens | 60% | | Session total | ~115,000 tokens | ~25,000 tokens | 78% |

Development

git clone https://github.com/manufosela/mcpack
cd mcpack
npm install
npm test

License

MIT