# Klarion

> Klarion is an open-source MCP server. Secret scanning for AI agents: rules and entropy find candidates, a model decides which are real. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/0x1adi/klarion
- **MCP Registry name:** io.github.0x1Adi/klarion
- **Listing updated:** 2026-11-13

## About

Secret scanning for AI agents: rules and entropy find candidates, a model decides which are real.

## Install

### Claude Code (Terminal)

```sh
claude mcp add klarion --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y https://github.com/0x1Adi/Klarion/releases/download/v0.4.3/klarion-mcp-v0.4.3.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "klarion": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/0x1Adi/Klarion/releases/download/v0.4.3/klarion-mcp-v0.4.3.mcpb"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "klarion": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/0x1Adi/Klarion/releases/download/v0.4.3/klarion-mcp-v0.4.3.mcpb"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "klarion": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/0x1Adi/Klarion/releases/download/v0.4.3/klarion-mcp-v0.4.3.mcpb"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "klarion": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/0x1Adi/Klarion/releases/download/v0.4.3/klarion-mcp-v0.4.3.mcpb"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "klarion": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/0x1Adi/Klarion/releases/download/v0.4.3/klarion-mcp-v0.4.3.mcpb"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Klarion free?

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

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

Run this command in your terminal: claude mcp add klarion --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y https://github.com/0x1Adi/Klarion/releases/download/v0.4.3/klarion-mcp-v0.4.3.mcpb

## 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/klarion
