Lucairn MCP server
io.github.Declade/lucairn-mcp-server·v1.2.9·2 starsPseudonymizes PII before your LLM and returns a cryptographically signed receipt per response.
2 stars32 downloads/wk
Reviews
Write oneNobody has reviewed Lucairn yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Lucairn tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 33 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Lucairn compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 57% of 4,460 AI and agents servers
- GitHub stars
- 2
- more than 65% of 2,711 AI and agents servers
- Downloads a week
- 32
- more than 20% of 1,538 AI and agents servers with a package
Install Lucairn in Claude Code, Cursor or VS Code
Runs npx -y @lucairn/mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add lucairn-mcp-server -- npx -y @lucairn/mcp-server
What the publisher says
From the Lucairn repository's README, as published. We do not edit it. Read it on GitHub
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-serverAdd it to your MCP client config (Claude Desktop's claudedesktopconfig.json, Cursor's mcp.json, Cline's clinemcpsettings.json, Continue, etc.):
{
"mcpServers": {
"lucairn": {
"command": "npx",
"args": ["-y", "@lucairn/mcp-server"],
"env": {
"LUCAIRN_API_KEY": "<your_lucairn_api_key>",
"ANTHROPIC_API_KEY": "<optional_byok_anthropic_key>",
"OPENAI_API_KEY": "<optional_byok_openai_key>"
}
}
}
}Restart your client. The chatvialucairn tool becomes available immediately. See mcp-server/README.md for full details.
What it does
Each request through any Lucairn SDK follows the same pipeline:
- PII detection runs on every user message in three layers:
- Layer 1 — Known-entity matching (your tenant's named entities)
- Layer 2 — Presidio NER (names, emails, IBANs, addresses, phone numbers, customer IDs, …)
- Layer 3 — GPU-hosted custom-trained PII shield (Enterprise tier only, optionally trained on your domain corpus)
- Detected PII is replaced with placeholders ([PERSON1], [EMAIL2], [IBAN3], …) before** the request reaches the upstream LLM.
- The selected upstream model sees only the sanitized text. It never receives raw personal data.
- The response is returned with a signed compliance certificate (Ed25519 witness signature + RFC 3161 timestamp + Sigstore Rekor inclusion proof).
- Response handling depends on tier:
- Developer (free) — placeholders are returned verbatim. Useful for testing the redaction surface.
- Pro / Enterprise — placeholders are re-linked back to the originals on the gateway before the response reaches your application.
For Lucairn-hosted Developer-tier callers, on-gateway pseudonymization happens before your LLM sees the request. Enterprise self-host deployments can run the entire stack inside the customer environment, in which case no raw identity data leaves that environment at all.
Provider routing
The gateway picks the upstream provider from the model parameter you send:
Cross-provider BYOK shipped in @lucairn/mcp-server@1.1.0 — set one or both keys in the same MCP config and the server forwards the matching one as X-Upstream-Key per request, so your provider account is billed directly.
Per-language SDKs
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Lucairn: common questions
- Is Lucairn MCP server safe?
- Mostly: it is graded B (78/100). Read the Lucairn safety report
- How do I install Lucairn?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Lucairn need an API key?
- Yes. The registry entry asks for
LUCAIRN_API_KEY,ANTHROPIC_API_KEY,OPENAI_API_KEY. - Is Lucairn maintained?
- The last commit was 74 days ago (2026-08-22). The latest release is v1.2.9.
- What can I use instead of Lucairn?
- Servers from other publishers that do the same job: Emilia Protocol MCP server, Ausca MCP server and Decionis MCP server.
- How does Lucairn compare with other AI and agents MCP servers?
- safety score 78/100 (higher than 57% of 4,460 AI and agents servers); github stars 2 (more than 65% of 2,711 AI and agents servers); downloads a week 32 (more than 20% of 1,538 AI and agents servers with a package). Full comparison.
Alternatives to Lucairn
Same job from other publishers: the closest match first, then the best rated.
- Emilia ProtocolExact-action approval for consequential agent actions: request, track, and verify signed receipts.not reviewedEstablishedB
- AuscaPay-per-call APIs and MCP services for agents, no accounts or keys, with verifiable receipts.not reviewedEstablishedA
- DecionisAuthorize consequential AI agent actions before executionnot reviewedEstablishedA
Agoragentic Agent OS MCPTriptych OS (Agent OS) MCP for governed routing, receipts, and USDC settlement on Base.not reviewedEstablishedB- three.ws ProvenanceAppend-only, signed, on-chain-verifiable agent action log — record and audit what agents did.not reviewedEstablishedB