Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Declade/lucairn-sdks MCP server](https://glama.ai/mcp/servers/Declade/lucairn-sdks/badges/score.svg)](https://glama.ai/mcp/servers/Declade/lucairn-sdks) πŸ“‡ ☁️ 🍎 πŸͺŸ 🐧 - Privacy-preserving AI gateway.

README.md

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.):

{
  "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 chat_via_lucairn 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:

  1. 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)
  1. Detected PII is replaced with placeholders ([PERSON_1], [EMAIL_2], [IBAN_3], …) before the request reaches the upstream LLM.
  2. The selected upstream model sees only the sanitized text. It never receives raw personal data.
  3. The response is returned with a signed compliance certificate (Ed25519 witness signature + RFC 3161 timestamp + Sigstore Rekor inclusion proof).
  4. 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:

| Model prefix | Upstream provider | BYOK env var | |------------------------------------------------------|-------------------|---------------------| | claude-, anthropic- | Anthropic | ANTHROPIC_API_KEY | | gpt-, openai-, o1-, o3-, o4-* | OpenAI | OPENAI_API_KEY |

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

| Language | Package | Version | README | |----------------|-------------------------------------------|---------|-------------------------------------| | MCP server | @lucairn/mcp-server | 1.2.7 | mcp-server/README.md | | TypeScript | @lucairn/sdk | 1.1.1 | ts/README.md | | Python | lucairn | 1.1.1 | python/README.md | | Go | github.com/declade/lucairn-sdks/go | v1.1.1 | go/README.md |

All SDKs are at parity at the observable level. Cross-language byte-equivalence is locked via shared Go-assembler-generated fixtures, so a certificate signed via one SDK verifies identically via the other two.

Get an API key

Sign up at https://lucairn.eu/account/signup. Free Developer tier: 500 requests/month, no credit card required.

Pro adds response re-linking, programmatic certificate JSON access, audit-event export, and higher quota. Enterprise adds self-host, BYOK with provider-side billing isolation, and the optional custom-trained PII shield (priced per scope).

See https://lucairn.eu/pricing for the full tier comparison.

Verify a response

Every response through any SDK gets a signed Lucairn certificate. Two surfaces:

  • HTML summary β€” DPO-friendly, available on every tier including Developer (free). Use getCertificateSummary (TS) / get_certificate_summary (Python) / GetCertificateSummary (Go), or paste the certificate URL into https://lucairn.eu/verify.
  • JSON certificate + local Ed25519 verify β€” Pro tier and above. Use getCertificate + verifyCertificate (and language equivalents). The verifier is in-tree β€” see ts/src/verify-certificate/, python/src/lucairn/verify_certificate/, and the internal/verify package under go/.

External RFC 3161 + Sigstore Rekor anchor verification is currently surfaced as pass-through metadata; full external anchor verification lands in a follow-up release.

Status

Production packages are versioned independently and tagged per the table above. Cross-language byte-equivalence is locked via shared fixtures. Follow CHANGELOG.md for release notes.

Links

Contributing

See CONTRIBUTING.md. Security reports: SECURITY.md.

License

MIT β€” see LICENSE.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Finance & Payments servers.