# Sipcode MCP server

> Keeps Claude Code's context clean by detecting drift, deduplicating file re-reads, and reporting token analytics.

- Repository: https://github.com/Anuj7411/sipcode
- Page: https://hostedmcp.org/servers/anuj7411/sipcode
- Transport: stdio
- Stars: 46
- License: MIT
- Latest version: 1.7.1

## Install

### Claude Code

```sh
claude mcp add sipcode -- npx -y sipcode
```

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

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

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

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

### VS Code CLI

```sh
code --add-mcp '{"name":"sipcode","type":"stdio","command":"npx","args":["-y","sipcode"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

```sh
codex mcp add sipcode -- npx -y sipcode
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.sipcode]
command = "npx"
args = ["-y", "sipcode"]
```

### Gemini CLI

```sh
gemini mcp add -s user sipcode npx -- -y sipcode
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## FAQ

### How do I install Sipcode?

Run `npm i -g sipcode` then `sipcode init`; the next Claude Code session will use it automatically.

### Does Sipcode make network calls or send my data anywhere?

No. It makes zero network calls during normal use and your data never leaves your laptop.

### How can I check if my Claude Code session's context is bloating?

Run `sipcode drift`; it flags bloated context, repeated reads, and stale signals compared to your baseline.

### Can Sipcode track my OpenAI Codex usage?

Yes, it reads Codex CLI session logs for spend analytics and usage limits, though it does not modify Codex behavior.

### What savings does Sipcode's benchmark show?

Its locked 20-task corpus benchmark shows a 62.6% median token reduction, reproducibly on any machine.
