# Tokenectomy Razor

> Tokenectomy Razor is an open-source MCP server. Cut 95% of framework noise and token bloat from error logs for AI agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/tokenectomy-labs/tokenectomy
- **MCP Registry name:** io.github.Tokenectomy-Labs/razor
- **Listing updated:** 2026-11-13

## About

Cut 95% of framework noise and token bloat from error logs for AI agents.

## Install

### Claude Code (Terminal)

```sh
claude mcp add razor -- npx -y tokenectomy-razor
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "razor": {
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy-razor"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "razor": {
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy-razor"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "razor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy-razor"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "razor": {
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy-razor"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "razor": {
      "command": "npx",
      "args": [
        "-y",
        "tokenectomy-razor"
      ]
    }
  }
}
```

## FAQ

### Is Tokenectomy Razor free?

Yes. Tokenectomy Razor is open source, so you can use and self-host it for free.

### How do I add Tokenectomy Razor to Claude Code?

Run this command in your terminal: claude mcp add razor -- npx -y tokenectomy-razor

---
Source: https://ai-powered.com/mcp/tokenectomy-razor-2
