# LatentGate

> LatentGate is an open-source MCP server. Read large logs, JSON and docs in a fraction of the tokens. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/kathanmodh259/latent-gate
- **MCP Registry name:** io.github.KathanModh259/latent-gate
- **Listing updated:** 2026-11-13

## About

Read large logs, JSON and docs in a fraction of the tokens. Offline, fact-preserving optimizer.

## Install

### Claude Code (Terminal)

```sh
claude mcp add latent-gate -- uvx latent-gate
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "latent-gate": {
      "command": "uvx",
      "args": [
        "latent-gate"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "latent-gate": {
      "command": "uvx",
      "args": [
        "latent-gate"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "latent-gate": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "latent-gate"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "latent-gate": {
      "command": "uvx",
      "args": [
        "latent-gate"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "latent-gate": {
      "command": "uvx",
      "args": [
        "latent-gate"
      ]
    }
  }
}
```

## FAQ

### Is LatentGate free?

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

### How do I add LatentGate to Claude Code?

Run this command in your terminal: claude mcp add latent-gate -- uvx latent-gate

---
Source: https://ai-powered.com/mcp/latentgate
