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

boe-eurlex-mcp

v1.0.2

Published

MCP Server que permite a agentes de IA consultar directamente legislación oficial española (BOE) y europea (EUR-Lex)

Readme

TypeScript MCP NPM


🧐 La Solución

Seamos honestos: los LLMs alucinan leyes. Se inventan artículos, mezclan normativas derogadas y te citan leyes que suenan muy convincentes pero que no existen.

El BOE & EUR-Lex MCP Server es el "abogado en la sombra" que tu IA necesita. Conecta directamente a tu agente con la base de datos oficial del Boletín Oficial del Estado (España) y EUR-Lex (Unión Europea).

Tu agente ya no "cree saber". Ahora sabe buscar, leer y citar la fuente oficial.


🚀 Instalación

Opción A: "Soy un usuario civilizado" (NPM Global)

Instálalo una vez, úsalo siempre.

npm install -g boe-eurlex-mcp

Opción B: "Me gusta vivir al límite" (NPX)

Ejecútalo bajo demanda sin instalar nada.

npx -y boe-eurlex-mcp

⚡ Quick Start

Integra el poder del BOE en tu herramienta favorita en segundos.

💎 Gemini CLI

Dale superpoderes legales a tu terminal:

gemini mcp add boe_eurlex npx -y boe-eurlex-mcp --scope user

🤖 Claude Desktop

Añade esto a tu claude_desktop_config.json:

{
  "mcpServers": {
    "boe_eurlex": {
      "command": "npx",
      "args": ["-y", "boe-eurlex-mcp"]
    }
  }
}

🌌 Antigravity / Cursor / Cline

Simplemente busca la sección MCP en tu configuración y añade:

Comando: npx -y boe-eurlex-mcp


🛠️ Arsenal Legal (Herramientas)

Tu agente tendrá acceso a estas herramientas de precisión quirúrgica:

🇪🇸 Jurisdicción Española (BOE)

| Herramienta | Lo que hace (y lo que no) | | :--- | :--- | | boe.search | Busca en toda la legislación consolidada. Nota: Ahora busca en título Y texto, porque sabemos que nadie se sabe el nombre oficial de la "Ley de Startups". | | boe.get_article | Extrae un artículo específico con precisión láser. Nada de "resúmenes vagos". Texto literal. | | boe.get_daily_summary | ¿Qué ha pasado hoy en el BOE? Consúltalo con el café de la mañana. |

🇪🇺 Jurisdicción Europea (EUR-Lex)

| Herramienta | Misión | | :--- | :--- | | eurlex.search | Busca Directivas y Reglamentos en la "jungla" de Bruselas. | | eurlex.get_article | Saca ese artículo 5 del RGPD sin despeinarse. |


🔐 Garantía de Verdad (Anti-Alucinaciones)

Para que duermas tranquilo, cada respuesta del servidor incluye una Huella Digital Criptográfica (SHA-256).

{
  "source": "BOE",
  "id": "BOE-A-1996-8930",
  "mensaje": "Si el hash no coincide, alguien ha tocado el texto. (Spoiler: no hemos sido nosotros).",
  "hash_value": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"
}

📜 Licencia

MIT. Haz lo que quieras con el código. Solo no nos culpes si pierdes un juicio (esto es una herramienta, no un abogado colegiado).