ClaudeSuperPower
4

4q-tokenz

MCP Server

Intelligent MCP proxy that reduces token usage by exposing only mcp_search and mcp_call.

Install

claude mcp add 4q-tokenz -- npx -y 4q-tokenz

What is 4q-tokenz?

Intelligent MCP proxy that reduces token usage by exposing only mcp_search and mcp_call.

Trust

79/100 · Good

2 factors scored below maximum

Documentation

README · ~8 min read

MCP Proxy Gateway

A context-aware MCP proxy that reduces token usage by exposing only 3 tools (mcp_search, mcp_call, mcp_schema) to LLMs instead of the full catalog.

Why This Exists

When you connect multiple MCP servers to an LLM, every tool from every server is listed in the LLM's context window. For a typical workspace with 50-100 tools across multiple MCP servers, that's thousands of tokens of schema documentation on every request.

MCP Proxy Gateway sits between your LLM and your MCP servers, offering:

  • JIT tool loading — tools from upstream servers are discovered once at startup, then tools are called on-demand. Clients never see the full catalog.
  • Intelligent search — fast lexical (BM25) search to find the right tool for a query. Tool tokens are pre-computed at startup for zero-overhead per-query scoring.
  • Token savings — LLMs only see 3 tool schemas (search, call, schema) instead of 50+. Typical savings: 20-40% per turn for tool-heavy workflows.
  • Zero native dependencies — pure JavaScript, no native modules, no model downloads, no supply chain risk from ML packages.

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just mcp servers.