declade avatar

Lucairn Mcp Server

declade/lucairn-sdks

Sits between Claude and your upstream LLM provider (Anthropic, OpenAI) and strips PII before prompts reach the model. Runs via `npx @lucairn/mcp-server` with zero install. Exposes a `chat_via_lucairn` tool that runs a three-layer detection pipeline (known entities, Presidio NER for emails/IBANs/phone numbers, optional GPU-trained shield on Enterprise). Returns cryptographically signed receipts (Ed25519 + RFC 3161 timestamp + Sigstore Rekor proof) showing what was redacted and when. Free tier returns placeholders verbatim for testing redaction coverage. Pro and Enterprise re-link originals on the gateway after the model responds. Reach for this when you need audit-grade proof that personal data never touched the model, especially in regulated contexts where you want BYOK provider billing plus compliance certificates your DPO can verify.

tool
1
auth
Secret needed
transport
STDIO
env vars
5
last updated
Jul 31, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

chat_via_lucairnThe `chat_via_lucairn` tool becomes available immediately.

The `chat_via_lucairn` tool becomes available immediately.

No parameter schema in public metadata yet.

Sponsors

Configuration

LUCAIRN_API_KEY*secret

Lucairn gateway API key (lcr_live_*). Issued at https://lucairn.eu/account/keys. Free tier requires BYOK upstream LLM keys (ANTHROPIC_API_KEY or OPENAI_API_KEY).

ANTHROPIC_API_KEYsecret

Upstream Anthropic API key. Used when the requested model is claude-* / anthropic-*. Required if you call Claude models on the free tier (BYOK).

OPENAI_API_KEYsecret

Upstream OpenAI API key. Used when the requested model routes to OpenAI. Required if you call OpenAI models on the free tier (BYOK).

LUCAIRN_BASE_URL

Override the gateway URL. Defaults to https://gateway.lucairn.eu (production). Set this to point at a self-hosted Lucairn deployment.

LUCAIRN_TRANSPORT

Transport mode for the MCP server. One of 'direct-http' (default; v1.1+ behavior) or 'stdio-bridge' (v1.2+ opt-in).

Readme

Lucairn SDKs

Official client libraries for Lucairn — an EU-based privacy-preserving AI gateway. Lucairn sits between your application (or AI agent) and the upstream LLM provider you choose, removes personal data from prompts before the model ever sees them, and returns a signed Lucairn Certificate proving what was redacted, when, and by which sanitizer layer.

This monorepo hosts four packages at parity:

  • @lucairn/mcp-server — Model Context Protocol server (one-line npx install for Claude Desktop, Cursor, Cline, Continue, …)
  • @lucairn/sdk — TypeScript / Node SDK
  • lucairn — Python SDK
  • github.com/declade/lucairn-sdks/go — Go SDK

Quick start (MCP)

For most agent use cases, the fastest path is the MCP server. No build step, no install — npx runs it on demand:

npx -y @lucairn/mcp-server

Add it to your MCP client config (Claude Desktop's claude_desktop_config.json, Cursor's mcp.json, Cline's cline_mcp_settings.json, Continue, etc.):


View the full README on GitHub

Details

Repository
github.com/declade/lucairn-sdks
Website
lucairn.eu/developer/mcp
Category
AI & LLM Tools
Package
@lucairn/mcp-server
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1evidai avatarPolymarket Guardevidai/agent-payment-mcpPolymarket prediction markets — buy/sell positions in USDC. LemonCake pay-per-call billing.0stars
2judyailab avatarAgentictradejudyailab/agent-commerce-frameworkAI service marketplace — agents discover, call, and pay for API services automatically.0stars
3mcpwright avatarEDGAR (SEC filings)mcpwright/edgar-mcpSEC filings in your agent: issuers, Reg CF/D/A raises, XBRL financials, insider trades.2stars
4multimail-dev avatarMcp Servermultimail-dev/mcp-serverGive your agent its own email address with graduated human oversight, from approval to autonomy.0stars
5web3-plurality avatarAI Context Flowweb3-plurality/plurality-mcp-serverUniversal memory for AI agents and tools. Save, organize and search context anywhere.2stars
6rachadele avatarBiolitrachadele/biolitLLM-assisted biomedical literature screening and extraction for PubMed, GEO, and preprints.2stars