Skip to content
MCP server

Kaval

Verify the facts an agent's action depends on before it acts — ALLOW, REVIEW, or BLOCK.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.7.1
Listing updated
4 days ago

About Kaval

Kaval is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add kaval --env KAVAL_API_KEY='<KAVAL_API_KEY>' -- npx -y @usekaval/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "kaval": {
      "command": "npx",
      "args": [
        "-y",
        "@usekaval/mcp"
      ],
      "env": {
        "KAVAL_API_KEY": "<KAVAL_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "kaval": {
      "command": "npx",
      "args": [
        "-y",
        "@usekaval/mcp"
      ],
      "env": {
        "KAVAL_API_KEY": "<KAVAL_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "kaval": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@usekaval/mcp"
      ],
      "env": {
        "KAVAL_API_KEY": "<KAVAL_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "kaval": {
      "command": "npx",
      "args": [
        "-y",
        "@usekaval/mcp"
      ],
      "env": {
        "KAVAL_API_KEY": "<KAVAL_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "kaval": {
      "command": "npx",
      "args": [
        "-y",
        "@usekaval/mcp"
      ],
      "env": {
        "KAVAL_API_KEY": "<KAVAL_API_KEY>"
      }
    }
  }
}

Configuration

  • KAVAL_API_KEYBring-your-own Kaval bearer key (kv_live_…). Create one at https://usekaval.com.Required
  • KAVAL_BASE_URLPoint at a self-hosted or staging Kaval API instead of the hosted one. Defaults to https://api.usekaval.com.

Pricing

Open source

Prices change. Check usekaval.com before you buy.

Kaval FAQ

Is Kaval free?

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

How do I add Kaval to Claude Code?

Run this command in your terminal: claude mcp add kaval --env KAVAL_API_KEY='<KAVAL_API_KEY>' -- npx -y @usekaval/mcp