# 4q Tokenz

> 4q Tokenz is an open-source MCP server. Intelligent MCP proxy that reduces token usage by exposing only mcp_search and mcp_call. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/steveweltman/4q-tokens
- **MCP Registry name:** io.github.steveweltman/4q-tokenz
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "4q-tokenz": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "4q-tokenz"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Is 4q Tokenz free?

Yes. 4q Tokenz is open source, so you can use and self-host it for free.

### How do I add 4q Tokenz to Claude Code?

Run this command in your terminal: claude mcp add 4q-tokenz -- npx -y 4q-tokenz

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/4q-tokenz
