4q Tokenz MCP Server

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. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 2 · #362 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install 4q Tokenz

before you install - you'll need

Set GOOGLE_TOKEN_FILE, GOOGLE_CONNECTORS, GOOGLE_CREDENTIAL_FILE, MCP_PROXY_UPSTREAMS, MCP_PROXY_SINGLETON_PORT, MCP_PROXY_DASHBOARD_PORT, MCP_PROXY_SEARCH_LIMIT, MCP_PROXY_CALL_ITEM_LIMIT, MCP_PROXY_MAX_TEXT_LENGTH, MCP_PROXY_MAX_OUTPUT_TOKENS, MCP_PROXY_IDLE_TIMEOUT_MS before connecting.

Claude Code

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

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "steveweltman-4q-tokens": {
      "command": "npx",
      "args": [
        "-y",
        "4q-tokenz"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package 4q-tokenz - unscoped; check the name against the project README before installing

registry namespace io.github.steveweltman is GitHub-verified and matches the repo owner

03 · Who maintains 4q Tokenz

4q-tokenz is maintained by steveweltman. It's the only MCP server we track from this author; the repo dates to May 2026.

04 · Facts

category
other - ranked #362 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.steveweltman/4q-tokenz (active, first published 2026-05-08)
packages
npm:4q-tokenz

05 · 4q Tokenz FAQ

What is 4q Tokenz?

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. It runs locally over stdio via the published package.

Is 4q Tokenz still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24. We re-verify nightly.

How do I install 4q Tokenz?

Run `npx -y 4q-tokenz`. The README documents 11 environment variables (GOOGLE_TOKEN_FILE, GOOGLE_CONNECTORS, GOOGLE_CREDENTIAL_FILE…) to set first. Set GOOGLE_TOKEN_FILE, GOOGLE_CONNECTORS, GOOGLE_CREDENTIAL_FILE, MCP_PROXY_UPSTREAMS, MCP_PROXY_SINGLETON_PORT, MCP_PROXY_DASHBOARD_PORT, MCP_PROXY_SEARCH_LIMIT, MCP_PROXY_CALL_ITEM_LIMIT, MCP_PROXY_MAX_TEXT_LENGTH, MCP_PROXY_MAX_OUTPUT_TOKENS, MCP_PROXY_IDLE_TIMEOUT_MS before connecting. You can also paste the ready-made client config above.

Does 4q Tokenz run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

06 · Alternatives to 4q Tokenz