# legalize-dev/legalize-es

Legislación de España en Markdown, versionada como git. Cada ley es un archivo, cada reforma un commit.

Repository: https://github.com/legalize-dev/legalize-es
Canonical: https://ross.abutalabs.com/products/legalize-es
Homepage: https://legalize.dev/es
License: NOASSERTION
License Family: other
Topics: legalize-country
Last push: 2026-08-26T10:29:26+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 11
- inputs: {"age_days": 159, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, young, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1873, forks 140 (observed 2026-08-28T04:05:47.083621+00:00)

## What it is
A git-versioned dataset of Spanish legislation in Markdown, where each law is a file and each reform is a commit dated with its official publication date. It covers consolidated state and autonomous-community legislation sourced from the BOE open data API, with a companion web app, full-text search, API, and MCP connector.

## Use cases
- read the current consolidated text of a Spanish law
- see exactly what a reform changed in a law with git diff
- track the legislative history of a statute over time
- search Spanish legislation programmatically via an API
- feed current Spanish law text into an LLM assistant via MCP
- download Spanish legal corpus as Markdown for analysis
- find regional laws from Spanish autonomous communities

## When to choose
- you need machine-readable, version-controlled Spanish legislation instead of PDFs
- you want to diff or audit how a law changed at a specific date
- you're building legal research tools, RAG pipelines, or LLM assistants over Spanish law
- you need open government data with clear BOE attribution

## When to avoid
- you need legislation from countries other than those covered by the Legalize project
- you require official certified legal texts or original images/annexes as binaries
- you need guaranteed real-time updates the moment a law is published
- you need a license-permitted redistribution beyond BOE reuse conditions

## Facets
- artifact type: dataset
- maturity: active
- function: documentation, markdown, search-engine, data-generation, mcp
- domain: legal, e-government, documentation, files, self-hosted
- platform: cross-platform, cli
- tags: legislation, spanish-law, boe, git-versioned-data, open-government-data, consolidated-law, legal-tech, web-server

## Member repositories
- legalize-dev/legalize-es (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:47.083621+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:14:50.274163+00:00, confidence not recorded.
  - readme: https://github.com/legalize-dev/legalize-es (fetched 2026-08-28T04:05:47.083621+00:00, sha c9605a01b9d5)
  - homepage: https://legalize.dev/es (fetched 2026-08-29T10:54:18.060021+00:00, sha 8803c1eedb88)
  - site_page: https://legalize.dev/about (fetched 2026-08-29T10:54:18.070887+00:00, sha b0686233eb08)
  - site_page: https://legalize.dev/changelog (fetched 2026-08-29T10:54:18.072663+00:00, sha 93caab928917)
- Data as of 2026-08-30T08:39:29.467469+00:00.
