NEXUS LEGAL · DEVELOPER PLATFORM

Defensible legal analysis, one line of code.

31 jurisdictions · ISO 31000 certainty locks · Zero Retention EU · SLA 99.5–99.9% · Official SDKs on npm & PyPI

npm install @nexus-legal/sdkpip install nexus-legalnpx -y @nexus-legal/mcpOpenAPI 3.1 · Postman collectionGDPR DPA pre-signed · EU-hosted

Install in 30 seconds

Full TypeScript types. Pythonic data classes. Zero runtime deps.

$npm install @nexus-legal/sdk
$pip install nexus-legal
import { NexusClient } from "@nexus-legal/sdk";

const nexus = new NexusClient({
  apiKey: process.env.NEXUS_API_KEY!,
});

const result = await nexus.analyze({
  text:         "Por el presente contrato, el arrendador cede el uso…",
  jurisdiction: "ES",
  legalBranch:  "civil",
});

// Certainty locks: [L1] literal text · [L2-J] verified jurisprudence
// [L4] reasoned inference · [L5-C] critical risk
console.log(result.analysis.certaintyLocks);
// → ["[L2-J] Art. 1554 CC confirmed in CENDOJ #123456",
//    "[L5-C] unilateral termination clause — high risk"]
[L1]Literal text match[L2-J]Verified jurisprudence (multi-jurisdiction)[L4]Reasoned inference[L5-C]Critical risk

WHAT'S INCLUDED

Everything you need. Nothing you don't.

🔐

Bearer auth with tiers

Standard / Premium / Enterprise — 10 / 200 / 1,000 rpm. Auto-throttled; no silent drops. Rotate keys without downtime.

🔁

Idempotency-Key built-in

Retransmit without double-charging. Pass the same key on retry; get the same deterministic response from cache.

📦

Batch up to 50 docs

Concurrency 1–10, credit pre-check before any processing starts. One auth round-trip, one response envelope.

Async jobs + HMAC webhooks

Don't block your UI. Fire a job, get a signed POST when it's done. Replay-safe and verifiable with your secret key.

🏢

Multi-tenancy

Master keys + revocable sub-keys, usage rollup per client. Built for distributors and legal SaaS with multi-firm deployments.

🤖

MCP server

11 legal tools inside Claude Desktop, Claude Code, and Cursor — no browser required. npx -y @nexus-legal/mcp and you're done.

USE CASES

Built for the technical buyer

Mid-market firm

Automate contract review in your existing stack

Call /analyze from NetDocuments or iManage. ISO 31000 risk locks come back as structured JSON — no copy-paste, no context switch, no browser.

Legal SaaS

Embed legal intelligence without building the engine

Skip 8 months of jurisdiction research. Drop in the SDK, point it at your users' documents, surface certainty locks in your own UI — all in an afternoon.

Distributor LATAM / EU

White-label per client, full usage tracking

Issue a sub-key per client firm, set spend caps, receive usage rollup by key. Sell analysis under your brand with credit-back guarantees in writing.

COMPLIANCE & GUARANTEES

Contractual commitments. Not just marketing.

GDPR Art. 28 — Pre-signed DPA

14 sections, 8 documented sub-processors. Available at /legal/dpa. No negotiation round-trips — download, sign, done.

SLA with automatic credit-back

99.5% (Standard) / 99.9% (Enterprise). Breach triggers an automatic credit-back — no support ticket needed. Terms at /legal/sla.

Zero Retention by default

Documents processed in RAM in the Netherlands (Railway europe-west4). Never written to disk, never used to fine-tune any model.

PII Gatekeeper

ID numbers, IBANs, email addresses anonymised before any upstream LLM call. Audit log records every redaction with timestamp and field type.

Annual third-party audit committed in DPA §6

Report available to Enterprise customers under NDA. Proof that the guarantees are real, not just stated.

OFFICIAL DISTRIBUTION

Installable from every major registry.

All packages open source (MIT / Apache 2.0). TypeScript SDK: zero runtime dependencies.

PARTNER MODEL

Multi-tenant and event-driven.

Build resellers, agencies or white-label integrations. The Organizations API lets you provision sub-keys, set credit limits per client and query usage by tenant. Webhooks deliver signed analysis-complete events so your downstream systems react instantly.

Start building in 2 minutes.

First API call is on us — no credit card required. Scale when you're ready.

@nexus-legal/sdk v0.4.1 · nexus-legal v0.1.1 · @nexus-legal/mcp v0.1.2 · API v1.5.0