
Nexus Legal
io.github.djtellado由 GitHub 账号 djtellado 发布v0.6.3更新于 Oct 25, 2026
International legal analysis (ISO 31000) — 27 tools, 63 selectable jurisdictions; coverage varies.
概览
Nexus Legal 向 MCP 客户端提供 27 项法律分析工具,涵盖 ISO 31000 分析、文书起草、判例与法规检索、引证核验和期限计算。
- 可以做什么
- 对文档或问题执行法律分析、开放式咨询、文书起草、交叉审计、多智能体共识和蒙特卡洛情景模拟,可指定司法辖区与职业角色。检索并阅读判例法与法规,按日期获取条文原文,查看立法层级与语料覆盖情况。核验引证、检查文档中的全部引证、计算程序期限,并构建条文与判决之间的引证图谱。生成谈判策略手册、比较文档版本、进行利益冲突检查,并查看律所待办收件箱。按 file_id 分析 Box 文件,并结合案件上下文进行法律对话。
- 适用场景
- 适合法律从业者和团队,希望在对话中让助手完成结构化的法律分析、文书起草和引证核验,并覆盖 63 个可选司法辖区中的一个或多个。若已有 Nexus 账户且积分余额充足,并为判例法或额外法规购买了对应辖区的附加包,则值得添加。
- 运行要求
- 需要 Nexus 账户、大于零的积分余额,以及在 NEXUS_API_KEY 中设置的个人 API 密钥(nlk_ 前缀,mcp 权限),密钥在开发者页面生成。可作为远程端点运行,也可通过 npx 作为本地 npm 包运行,本地方式需要 Node.js。可选 NEXUS_BASE_URL 和 NEXUS_TIMEOUT_MS(默认 180000 毫秒)。部分账户须先注册自己的 LLM 提供方,生成类工具才能使用。
安装
在 SourceWeft 中
- 打开 控制台中的 Nexus Legal,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.djtellado%2Fnexus-legal/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"nexus-legal": {
"type": "http",
"url": "https://legal.nexusquantum.legal/api/mcp"
}
}
}README
@nexus-legal/mcp
MCP (Model Context Protocol) server for Nexus Legal — exposes 27 specialised legal capabilities to Claude Desktop, Claude Code, Cursor and any other MCP-compatible client.
What is this? Connect your Claude to Nexus in 30 seconds. From then on Claude can run ISO 31000 legal analysis, Monte Carlo litigation simulation, case-law search, legal drafting, administrative doctrine, adversarial red teaming, multi-jurisdiction comparison (cross-border), citation verification, procedural time-limit computation, the statute↔case-law citation graph, and analysis of Box files by
file_id(box_analyze) — without leaving the conversation.
Quick install
1. Generate an MCP key
Go to legal.nexusquantum.legal/developers, choose "MCP server", give it a name (e.g. "personal MacBook") and press + Create MCP key. Copy the nlk_... key — it is shown only once.
2. Configure your client
Claude Desktop (macOS)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
Restart Claude Desktop. You will see a 🔌 icon in the chat with the 27 Nexus tools available.
Claude Desktop (Windows)
Edit %APPDATA%\Claude\claude_desktop_config.json with the same contents.
Claude Code (CLI)
Cursor
Edit ~/.cursor/mcp.json:
3. Try it
In Claude Desktop, type:
Analyse this contract with Nexus in jurisdiction GB, commercial branch, conservative profile: «[paste the contract text here]»
Claude will call the nexus_analyze tool and return the report with certainty locks [L1]/[L2-J]/[L3-NV]/[L4], blocking signals [L5-C]/[L5-P], and a NEXUS-AUDIT-TRAIL block.
The 27 tools
Billing: the MCP server is not free. Every call requires an account with a credit balance > 0 (paid from minute one). Premium content is per jurisdiction add-on: case law and extra legislation are add-ons (Layer 3) — the subscription includes the legislation of one jurisdiction. Without the matching add-on, searches and lookups for that jurisdiction return
403 CONTENT_NOT_ENTITLED.
On jurisdictions and coverage. 63 jurisdiction codes are selectable (GB, ES, CO, SG, US with the US-CA/US-NY/US-DE/US-TX state overlays, MULTI for cross-border, and others). Selectable is not the same as grounded: what corpus actually backs a given jurisdiction — how many provisions, when our copy was last written, whether search is enabled for it — varies, and it is not something to infer from this list. Call nexus_normativa_coverage with your key: it answers for the jurisdictions your account has active, with the figures of each. A jurisdiction with no grounding corpus still analyses, but without literal citation against an official source.
Bring-your-own-engine (BYO) accounts — what you will see before registering one
Some accounts are provisioned so that legal generation runs only on the firm's own LLM engine, with no fallback chain. That is not a limitation: it is the guarantee that documents never reach a Nexus engine.
While no provider is registered and enabled, every generative tool
(nexus_analyze, nexus_consulta, nexus_chat, nexus_draft, nexus_audit,
nexus_adversarial, nexus_redteam, nexus_doctrina, nexus_consensus,
nexus_monte_carlo, nexus_opinion, nexus_playbook, nexus_compare_versions,
nexus_cross_border_compare, box_analyze) returns:
Retrying does not fix it, and no credits are charged for a run that stops there.
Register the engine once (POST /api/v1/llm-providers, or header → AI models in
the application) and run it again.
Reasoning engines and long analyses
If your engine is a reasoning model (DeepSeek V-pro, o1-style, Claude 5 with thinking), a heavy analysis can take longer than a synchronous HTTP request is allowed to last. The gateway closes the connection at 300 s — that ceiling is ours to live with, not to raise.
MEASURED on 2026-08-18: nexus_analyze in mode: "auditoria" over a ~5 KB contract, on a BYO
DeepSeek engine, went past it and returned 502. The reason is not a fault in your engine: a
reasoning model spends a large part of its completion budget thinking before it writes, and when
it runs out mid-thought Nexus automatically re-issues the call with a wider budget — which costs
more wall clock again.
Two ways round it, in order of preference:
- Use the asynchronous path for that combination:
POST /api/v1/jobswithkind: "analyze"returns202and ajobIdyou poll (or a signed webhook). No wall clock. This is the right door for reasoning engines and forauditoriaon large documents. - Use
mode: "standard"through the MCP tool, which is materially shorter.
Platform engines and mode: "standard" are unaffected: the synchronous tool is the right one
there and stays the default.
Read-only tools work without an engine, because they generate nothing:
nexus_jurisprudencia_search, verify_cita, nexus_verificacion,
nexus_normativa_search / _articulo / _pyramid, nexus_corpus_coverage,
nexus_normativa_coverage, cruce_normativa_jurisprudencia, plazos_calcular,
nexus_conflict_check (deterministic name matching, no LLM) and nexus_inbox.
Environment variables
Language. This package sends the same tool descriptions to every client — MCP
publishes them once, in tools/list, and no tool here takes a language argument —
so descriptions and rendered output are in English. Where a tool produces a legal
deliverable, the language of that deliverable follows the jurisdiction and the account,
not this README.
You can name the role and the party in your own terms. professionalRole takes
lawyer, solicitor, barrister, prosecutor, notary, registrar, judge,
in-house and individual. proceduralSide takes the term your forum actually uses:
claimant (England and Wales, CPR r 2.3), pursuer (Scotland), plaintiff (Northern
Ireland, which did not adopt the CPR), defendant, defender. The original Spanish wire
values — abogado, demandante, auditoria — are unchanged and will keep working: this
adds spellings, it does not retire any. Everything resolves to the same protocol value
before it reaches the analysis, so the two are interchangeable in every call.
API version: this server speaks to the Nexus v1 API, the same one used by the
TypeScript and
Python SDKs. Read-only and verification tools
call /api/v1/* routes; generative ones enter through the backend node routes with the
same nlk_ key (mcp scope), the same billing and the same BYO enforcement.
This stdio package exposes 27 of the catalogue's capabilities. The remote
connector (https://legal.nexusquantum.legal/api/mcp, nothing to install) also
exposes the case-file, firm-memory, firm-governance, legal-analytics, account and billing
capabilities. If you need any of those, use the remote connector or the v1 API directly.
Privacy and GDPR
- Zero Retention on EU infrastructure. Documents you send via MCP are processed in RAM on Railway europe-west4-drams3a (Netherlands) and are NOT persisted to a database by default. The Nexus Zero Retention policy applies to 100% of MCP traffic exactly as it does to web traffic.
- PII Gatekeeper. Before anything reaches the LLM, the backend anonymises national ID numbers, IBANs, phone numbers, emails and account numbers with reversible tokens (
[DNI_1],[ACCOUNT_3]…). The MCP client only ever sees output already re-identified by our pipeline. - Audit. Every tool call is recorded in
analysis_costsandapi_usage_stats(withvia_api_key_id) for billing and traceability.
Support
- Email: [email protected]
- Documentation: https://legal.nexusquantum.legal/developers
- Issues: https://github.com/djtellado/nexus-legal-prod/issues
Licence
Apache-2.0 — see LICENSE and NOTICE.
Copyright 2026 Nexus Legal · Quantum Nexus Ventures.
来源:README.md,提交 a3b3a30
工具
0版本历史
1- v0.6.3最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分