loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

slim-mcp

MCP Tool

Joncik91/slim-mcp

MCP proxy that gives agents their context window back

Install

$ npx loaditout add Joncik91/slim-mcp

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "slim-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "slim-mcp"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

slim-mcp

MCP proxy that compresses tool schemas, lazy-loads definitions, caches responses, and aggregates multiple servers -- giving AI agents their context window back.

Real-World Results

Tested against 3 real MCP servers (42 tools total) on a production Claude Code machine:

| Feature | What happened | Tokens | |---------|--------------|--------| | Without slim-mcp | 42 raw tool schemas | 5,812 | | Lazy loading | 42 slim indexes | 2,191 (62% saved) | | Compression | Trimmed descriptions, deduped params | Stacks on full schemas | | Caching | 2nd identical call → instant | ~1,644 saved per repeated call |

Single server (8 tools): 715 → 611 tokens (15% compression). Multi-server (42 tools): lazy loading dominates at 62%. Both features stack -- a 50-tool setup with full schemas sees 80-95% combined reduction.

Every tool call routed correctly. Cache hit confirmed on repeated calls. All 203 tests pass.

Install
npm install -g slim-mcp
Quick Start

Single server -- wrap any MCP server:

slim-mcp -- npx -y @modelcontextprotocol/server-filesystem /tmp

Multiple servers -- create .slim-mcp.json:

{
  "servers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}" }
    }
  }
}
slim-mcp

Remote server:

slim-mcp --url https://mcp.example.com/mcp --header "Authorization:Bearer $TOKEN"
Agent Integration
Claude Code

In .mcp.json:

{
  "mcpServers": {
    "tools": {
      "command": "npx",
      "args": ["slim-mcp", "--config", "/path/to/.slim-mcp.json"]
    }
  }
}

Or wrap a single server:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["slim-mcp", "--", "npx", "-y", "@mode

Tags

ai-agentclaude-codecontext-windowcursorlazy-loadingllmmcpmcp-servermodel-context-protocolproxyschema-compressiontoken-optimization

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated16 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/30/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/Joncik91/slim-mcp)](https://loaditout.ai/skills/Joncik91/slim-mcp)