npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nexus-legal/mcp

v0.1.4

Published

Servidor MCP (Model Context Protocol) de Nexus Legal — expone 15 capabilities jurídicas (analyze, draft, audit, monte_carlo, doctrina, jurisprudencia, opinion, redteam, cross_border, consulta, adversarial, verify_cita, plazos, cruce, box_analyze) a Claude

Downloads

264

Readme

@nexus-legal/mcp

Servidor MCP (Model Context Protocol) de Nexus Legal — expone 15 capabilities jurídicas especializadas a Claude Desktop, Claude Code, Cursor y cualquier otro cliente compatible con MCP.

¿Qué es esto? Conectas tu Claude con Nexus en 30 segundos, y a partir de ese momento Claude puede invocar análisis jurídico ISO 31000 sobre 63 jurisdicciones, simulación Monte Carlo de litigación, búsqueda de jurisprudencia, redacción de escritos, doctrina administrativa, red team adversarial, comparativas multi-jurisdiccionales (Cross-Border), verificación de citas, cálculo de plazos, cruce normativa↔jurisprudencia y análisis de ficheros de Box por file_id (box_analyze) sin salir de la conversación.


Instalación rápida

1. Genera una clave MCP

Entra a nexusquantum.legal/developers, elige "Servidor MCP", dale un nombre (ej. "MacBook personal") y pulsa + Crear clave MCP. Copia la clave nlk_... — solo se enseña una vez.

2. Configura tu cliente

Claude Desktop (macOS)

Edita ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "nexus-legal": {
      "command": "npx",
      "args": ["-y", "@nexus-legal/mcp"],
      "env": {
        "NEXUS_API_KEY": "nlk_TU_CLAVE_AQUI"
      }
    }
  }
}

Reinicia Claude Desktop. Verás un icono 🔌 en el chat con las 11 tools de Nexus disponibles.

Claude Desktop (Windows)

Edita %APPDATA%\Claude\claude_desktop_config.json con el mismo contenido.

Claude Code (CLI)

claude mcp add nexus-legal -- npx -y @nexus-legal/mcp
# Después establece tu key:
export NEXUS_API_KEY=nlk_TU_CLAVE_AQUI

Cursor

Edita ~/.cursor/mcp.json:

{
  "mcpServers": {
    "nexus-legal": {
      "command": "npx",
      "args": ["-y", "@nexus-legal/mcp"],
      "env": { "NEXUS_API_KEY": "nlk_TU_CLAVE_AQUI" }
    }
  }
}

3. Pruébalo

En Claude Desktop, escribe:

Analiza este contrato con Nexus en jurisdicción ES, rama mercantil, perfil conservador: «[pega aquí el texto del contrato]»

Claude llamará automáticamente a la tool nexus_analyze y te devolverá el informe con candados de certeza [L1]/[L2-J]/[L3-NV]/[L4] + señales bloqueantes [L5-C]/[L5-P] + bloque NEXUS-AUDIT-TRAIL.


Las 11 tools

| Tool | Capability | Coste típico | |---|---|---| | nexus_analyze | Análisis jurídico íntegro (Nodo A — ISO 31000) | 1-3 créditos | | nexus_consulta | Consulta jurídica libre con o sin documento | 1 crédito | | nexus_draft | Redacción de escrito jurídico (recurso, demanda, etc.) | 2-4 créditos | | nexus_audit | Auditoría cruzada de un análisis Nodo A (Nodo B) | 1-2 créditos | | nexus_monte_carlo | Simulación Monte Carlo de escenarios (ISO 31000 §6) | 4 créditos | | nexus_doctrina | Búsqueda de doctrina administrativa según jurisdicción | 1 crédito | | nexus_opinion | Segunda opinión multi-LLM sobre análisis previo | 2 créditos | | nexus_redteam | Red team adversarial (vulnerabilidades JSON estructurado) | 5 créditos | | nexus_adversarial | Argumentación adversarial en prosa sobre análisis previo | 2-3 créditos | | nexus_cross_border_compare | Comparativa multi-jurisdiccional (2-15 países) | 2-4 créditos | | nexus_jurisprudencia_search | Búsqueda semántica en corpus jurisprudencial multi-jurisdicción | gratis |

Las 30+ jurisdicciones soportadas (ES, CO, MX, AR, CL, PE, UY, EC, BO, PY, VE, PA, GB, FR, DE, IT, PT, NL, CH, IE, AE, CA, AU, SG, JP, IN, HK, ZA, SA, BR, US con state overlays US-CA/US-NY/US-DE/US-TX, y MULTI para análisis cross-border).


Variables de entorno

| Variable | Default | Descripción | |---|---|---| | NEXUS_API_KEY | — | Obligatoria. Clave nlk_... con scope mcp. | | NEXUS_BASE_URL | https://nexusquantum.legal | Para entornos de prueba o self-hosted. | | NEXUS_TIMEOUT_MS | 180000 (3 min) | Timeout para análisis largos. |


Privacidad y RGPD

  • Zero Retention en plataforma EU. Los documentos que envíes vía MCP procesan en RAM en Railway europe-west4-drams3a (Países Bajos) y NO se persisten en base de datos por defecto. La política Zero Retention de Nexus aplica al 100% del tráfico MCP igual que al tráfico web.
  • PII Gatekeeper. Antes de llegar al LLM, el backend anonimiza DNIs, IBANs, teléfonos, emails y cuentas con tokens reversibles ([DNI_1], [ACCOUNT_3]...). El cliente MCP solo ve el output ya re-identificado por nuestro pipeline.
  • Auditoría. Cada tool call queda registrada en analysis_costs y api_usage_stats (con via_api_key_id) para facturación y trazabilidad.

Soporte

  • Email: [email protected]
  • Documentación: https://nexusquantum.legal/developers
  • Issues: https://github.com/djtellado/nexus-legal-prod/issues

Licencia

MIT