Skip to main content

brehon-mcp-server

Privacy and AI regulation data for your AI assistant.

Stop your AI from hallucinating privacy law requirements. Brehon gives Claude, Codex, Cursor, VS Code, and Open Code structured access to 32 privacy and AI governance laws across 28 jurisdictions — grounded in real regulatory data, not training data.

Why?

When you ask an AI assistant "what privacy laws apply to my app in Brazil?", it answers from training data that might be outdated, incomplete, or wrong. Getting privacy compliance wrong means fines — GDPR alone goes up to 4% of global revenue.

Brehon fixes this. Your AI calls the Brehon API in real time and gets structured, current regulatory data.

Quick Start

1. Get a free API key

curl -X POST https://api.brehon.dev/api/v1/keys \
  -H "Content-Type: application/json" \
  -d '{"name": "My App", "owner_email": "you@example.com"}'

Or sign up at dashboard.brehon.dev

2. Add to your MCP client

Claude Code

claude mcp add --scope user brehon -e BREHON_API_KEY=your-api-key -- uvx brehon-mcp-server

Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "brehon": {
      "command": "uvx",
      "args": ["brehon-mcp-server"],
      "env": {
        "BREHON_API_KEY": "your-api-key"
      }
    }
  }
}

Codex

Add to ~/.codex/config.toml:

[mcp_servers.brehon]
command = "uvx"
args = ["brehon-mcp-server"]

[mcp_servers.brehon.env]
BREHON_API_KEY = "your-api-key"

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "brehon": {
      "command": "uvx",
      "args": ["brehon-mcp-server"],
      "env": {
        "BREHON_API_KEY": "your-api-key"
      }
    }
  }
}

VS Code

Add to .vscode/settings.json:

{
  "mcp": {
    "servers": {
      "brehon": {
        "command": "uvx",
        "args": ["brehon-mcp-server"],
        "env": {
          "BREHON_API_KEY": "your-api-key"
        }
      }
    }
  }
}

Open Code

Add to ~/.opencode/mcp.json:

{
  "mcpServers": {
    "brehon": {
      "command": "uvx",
      "args": ["brehon-mcp-server"],
      "env": {
        "BREHON_API_KEY": "your-api-key"
      }
    }
  }
}

3. Ask a question

"What privacy laws apply if I have users in Brazil and the EU?"

"Compare GDPR and CCPA breach notification requirements"

"What are the penalties for LGPD violations?"

Environment Variables

Variable Required Default
BREHON_API_KEY Yes —
BREHON_API_BASE_URL No https://api.brehon.dev/api/v1

Available Tools

Tool Description
search_privacy_laws Filter laws by type, jurisdiction, or scope
get_privacy_law_details Full details for a specific law
get_data_subject_rights Data subject rights for a law
get_legal_bases Legal bases for processing
get_penalties Penalty and enforcement info
compare_privacy_laws Compare requirements across multiple laws
search_law_content Keyword search across all law content
get_applicable_laws Find laws applicable to given jurisdictions

Coverage

32 laws across 28 jurisdictions:

EU & UK — GDPR, UK GDPR, DPA 2018, EU AI Act, Age-Appropriate Design Code

North America — CCPA, CPRA, PIPEDA, plus 12 US state laws (Virginia, Colorado, Connecticut, Texas, and more) and 3 Canadian provincial laws

Asia-Pacific — PIPL (China), DPDPA (India), APPI (Japan), PIPA (South Korea), PDPA (Singapore & Thailand), Privacy Act (Australia)

Latin America & Africa — LGPD (Brazil), POPIA (South Africa)

Requirements

REST API

Don't need MCP? The same data is available via REST API:

curl https://api.brehon.dev/api/v1/privacy-laws \
  -H "Authorization: Bearer YOUR_API_KEY"

Full API docs at api.brehon.dev/docs

License

MIT

Metadata

Release files for brehon-mcp-server 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brehon-mcp-server 1.0.0
File Size Uploaded
brehon_mcp_server-1.0.0.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brehon-mcp-server 1.0.0
File Interpreter ABI Platform
brehon_mcp_server-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / brehon_mcp_server-1.0.0.tar.gz

Download URL brehon_mcp_server-1.0.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fd40cc86032100ec8b85c5db16640d179dc5b8092095c5aec5a68282867fc2bc
BLAKE2b-256 checksum
How to use checksums
bc768e4c370f665235ff286ec0e1c47feb43c80a2927159b13a22af5c5f561b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / brehon_mcp_server-1.0.0-py3-none-any.whl

Download URL brehon_mcp_server-1.0.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81d168c794ac2b483213be641f25516065269c2705999873e21656cb9f129134
BLAKE2b-256 checksum
How to use checksums
16e82924878c3c2324b21ad6a1c5f806e9e800be4119d4a3f44ca24d50da365a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

1.0.1

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page