Lucairn Sdks logo

Lucairn Sdks

by Declade

Routes MCP chat requests through Lucairn to redact PII before Anthropic or OpenAI, returning a signed certificate for each call.

Install Lucairn Sdks

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "declade-lucairn-sdks": {
      "command": "npx",
      "args": [
        "-y",
        "@lucairn/mcp-server"
      ],
      "env": {
        "LUCAIRN_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 1 tools correctly ().

Overview

Declade/lucairn-sdks MCP server exposes Lucairn’s privacy gateway to MCP clients through the `chat_via_lucairn` tool. It detects and replaces personal data before forwarding prompts to Anthropic or OpenAI, selected from the requested model name, and returns a signed Lucairn Certificate with the response. Reach for it when an agent needs provider access with PII redaction and auditable request records. Developer-tier responses retain placeholders, while Pro and Enterprise can re-link them to original values.

Use cases

  • Route agent chat through Anthropic or OpenAI while redacting PII
  • Preserve placeholders when testing an agent’s redaction behavior
  • Use provider-specific BYOK credentials for upstream model calls
  • Return signed records for privacy and compliance workflows

Key features

  • MCP chat tool with Anthropic Messages API formatting
  • PII detection using Presidio and custom recognizers
  • Anthropic and OpenAI model routing by model prefix
  • Cross-provider BYOK credentials
  • Signed certificate returned for each call
  • Tier-dependent placeholder re-linking

Tools1

What Lucairn Sdks lets your agent do. Expand a tool for its parameters.

Verified live~435 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

28/28 checks healthy over the last 113d

What it can do

From the 1 tool this server returned when we ran it; 1 declare their own safety hints.

Makes changes · 1Makes network requests · 1
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age209 days
Maintainers1

Observed 2026-11-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @lucairn/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads353Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed1Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Lucairn Sdks works

What Declade/lucairn-sdks MCP server does

Declade/lucairn-sdks provides an MCP entry point for the Lucairn privacy-preserving AI gateway. Its primary tool, chat_via_lucairn, accepts chat requests using the Anthropic Messages API wire format and sends them through Lucairn before they reach an upstream model.

Lucairn scans each user message for personal data and substitutes typed placeholders such as [PERSON_1], [EMAIL_2], or [IBAN_3]. Detection combines tenant-configured named entities, Microsoft Presidio recognition, and an optional custom PII layer available to Enterprise deployments. The selected LLM receives the sanitized text rather than the original values.

Each request also produces a signed Lucairn Certificate. The certificate includes an Ed25519 witness signature, an RFC 3161 timestamp, and Sigstore Rekor inclusion information. HTML certificate summaries are available on every tier; JSON certificate access and local verification are available on Pro and above through the broader Lucairn SDKs.

How it works

The MCP client invokes chat_via_lucairn with a model identifier and chat content. Lucairn chooses the upstream provider from that identifier:

  • claude-* and anthropic-* route to Anthropic.
  • gpt-*, openai-*, o1-*, o3-*, and o4-* route to OpenAI.

The matching provider key can be forwarded as BYOK credentials, so the provider account associated with that key is billed directly. The response behavior depends on the Lucairn tier. Developer accounts receive the model response with placeholders unchanged. Pro and Enterprise accounts can enable gateway-side re-linking of placeholders to the original values before the response returns to the application.

Setup and configuration

The package can be run on demand without a build step:

Terminal
npx -y @lucairn/mcp-server

Register that command in the MCP client configuration. The environment must include LUCAIRN_API_KEY. Add ANTHROPIC_API_KEY and/or OPENAI_API_KEY when using BYOK routing for the corresponding provider. After restarting the MCP client, chat_via_lucairn becomes available.

A Lucairn account is required. The Developer tier provides 500 requests per month without a credit card. Higher tiers add capabilities such as response re-linking, certificate JSON access, audit-event export, and Enterprise self-hosting.

Tools and capabilities

  • Send chat requests through Lucairn with chat_via_lucairn.
  • Redact names, email addresses, IBANs, addresses, phone numbers, customer IDs, and other recognized PII before upstream delivery.
  • Route requests to Anthropic or OpenAI based on model prefixes.
  • Use Anthropic and OpenAI credentials through cross-provider BYOK.
  • Return a signed certificate describing the redaction and request timing.
  • Use Lucairn’s HTML verification surface for certificate summaries.

Limitations and notes

Developer-tier responses contain placeholders rather than restored personal data. Automatic re-linking is available on Pro and Enterprise tiers. The Enterprise custom-trained PII shield is optional and requires an Enterprise deployment.

External RFC 3161 and Sigstore Rekor anchor verification is exposed as pass-through metadata; complete external anchor verification is not part of the available verifier behavior. Certificate verification should use witness and per-service public keys obtained independently from the gateway, because keys retrieved from the same gateway do not provide an independent trust source.

Enterprise self-hosted deployments can keep the complete stack inside the customer environment. For Lucairn-hosted Developer callers, pseudonymization occurs on the gateway before the upstream model receives the request.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Lucairn Sdks

Declade/lucairn-sdks is an MCP server that connects AI clients to the Lucairn privacy gateway through the @lucairn/mcp-server package. Its main tool, chat_via_lucairn, sanitizes PII before routing prompts to Anthropic or OpenAI and returns a signed certificate with each response.

Install it by running `npx -y @lucairn/mcp-server` from your MCP client configuration. Set `LUCAIRN_API_KEY`, optionally add the Anthropic or OpenAI BYOK key, register the command, and restart the client.

Yes, Declade/lucairn-sdks works with Cursor through its MCP configuration. Add the `npx -y @lucairn/mcp-server` command and the required environment variables to Cursor’s `mcp.json`, then restart the client.

It chooses the provider from the `model` parameter. Models beginning with `claude-` or `anthropic-` use Anthropic, while `gpt-`, `openai-`, `o1-`, `o3-`, and `o4-` models use OpenAI.

It depends on the Lucairn tier. Developer accounts receive raw placeholders in responses, while Pro and Enterprise accounts can enable automatic re-linking to the original values on the gateway.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLucairn Sdks AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/declade-lucairn-sdks?style=directory)](https://allmcps.com/mcp/declade-lucairn-sdks)
HTML Embed
<a href="https://allmcps.com/mcp/declade-lucairn-sdks"><img src="https://allmcps.com/api/badge/declade-lucairn-sdks?style=directory" alt="Lucairn Sdks on AllMCPs" /></a>