Godrays
EUROPE · MADRID · COVERAGE ON REQUEST

Madrid legal data from official sources, structured for AI and legaltech.

Madrid laws, regulations, and court decisions live across the Boletín Oficial de la Comunidad de Madrid (BOCM), the Asamblea de Madrid, the regional government's consejerías, the national Boletín Oficial del Estado (BOE), and the courts. Lawstronaut structures legal data from official sources into one format used across more than 150 jurisdictions — with every record linked to its official source. Structured Madrid coverage is not yet live; Team and Enterprise customers can request priority onboarding of the sources below.

SEE IT ANSWER

Q

Which instrument establishes the institutional framework and self-government of the Autonomous Community of Madrid?

A

The Statute of Autonomy of the Community of Madrid, approved by Organic Law 3/1983 of 25 February 1983 and since reformed (notably by Organic Law 5/1998), establishes the region's institutions — the Asamblea de Madrid, the President, and the Government (Consejo de Gobierno) — and its powers of self-government. It is published in the Boletín Oficial del Estado and reproduced in the Boletín Oficial de la Comunidad de Madrid (BOCM).

Source: Boletín Oficial de la Comunidad de Madrid (BOCM) / Boletín Oficial del Estado — bocm.es

Illustrative — Madrid coverage is not yet live in the corpus; citation shown from the official source.

OFFICIAL SOURCES

The official Madrid sources on our roadmap

Lawstronaut structures Madrid legal materials from official regional government, ministry, court, and regulator sources, alongside the national sources that apply within the region. Once Madrid coverage is live, each record links back to its original source, with metadata such as issuing authority, publication date, legal link, portal, content type, and version where available.

Source categories: regional gazette and publication sources · regional parliament and legislative materials · regional government consejerías and agencies · national legislation portals · regulators · courts and tribunals

  • Boletín Oficial de la Comunidad de Madrid (BOCM)
  • Asamblea de Madrid
  • Comunidad de Madrid — Consejo de Gobierno and consejerías
  • Boletín Oficial del Estado (BOE)
  • Tribunal Superior de Justicia de Madrid (TSJM)
  • Cámara de Cuentas de la Comunidad de Madrid
  • Ayuntamiento de Madrid — Boletín Oficial del Ayuntamiento de Madrid (BOAM)
  • Agencia Española de Protección de Datos (AEPD)
Madrid isn't live yet — request priority coverage → Team and Enterprise customers can request the portals, courts, regulators, gazettes, and official sources they need onboarded first, reviewed and prioritized by the Lawstronaut team.
CONTENT TYPES

Madrid legal source types we structure

Madrid legal coverage will include primary legislation, secondary legislation, regulatory materials, court decisions, guidance, enforcement documents, and legislative history where available.

Legislation & Regulations

Regional statutes (leyes autonómicas), legislative decrees (decretos legislativos), decrees (decretos), and orders (órdenes) of the Comunidad de Madrid, plus applicable national laws and royal decrees, taken directly from the Boletín Oficial de la Comunidad de Madrid (BOCM) and the Boletín Oficial del Estado (BOE).

Legislative History

Bills (proyectos and proposiciones de ley), parliamentary proceedings, and amendment records from the Asamblea de Madrid where available, version by version, each tied to its source.

Regulatory Guidance & Enforcement

Resolutions, circulars, instructions, and enforcement materials from Madrid regional consejerías and agencies, alongside national regulators that apply in the region such as the AEPD, CNMV, Banco de España, and CNMC.

Case Law

Court and tribunal decisions from official Spanish sources, including the Tribunal Superior de Justicia de Madrid (TSJM) and, where they bind the region, the Tribunal Supremo and Tribunal Constitucional, where available.

WHAT YOU GET

One Madrid legal data layer. Four ways to use it.

Lawstronaut API

Query Madrid laws, regulations, court decisions, regulatory guidance, and enforcement materials through a REST API. Use structured metadata, full text, Markdown, source links, and version history to power legaltech products, compliance workflows, and internal research tools. Madrid coverage is being onboarded — the endpoint below is live and will return records as coverage lands.

GET /v2/contents?iso=ES_MD&limit=20

Lawstronaut MCP

Connect ChatGPT, Claude, Gemini, Cursor, and other AI agents to Madrid legal sources. Questions become live searches against the corpus and return citation-ready answers grounded in official Madrid materials — deployable in minutes, with no integration work, once coverage is live.

AI Agent Integration

Give your legal AI agent same-turn provenance: it retrieves current Madrid legal materials — official source links, metadata, and full text — before generating an answer, with a citation and timestamp on every response.

Build with Lawstronaut

Build Madrid legal search, monitoring, compliance, research, and legal AI features without crawling, parsing, normalizing, and updating official sources yourself. We handle source discovery, ingestion, normalization, versioning, and change detection; you build the product.

FEATURES

What you'll be able to do with Madrid legal data

  • Retrieve legal metadata, full text, Markdown, source links, and original source files where available
  • Filter by jurisdiction, portal, issuing authority, authority type, language, status, and dates
  • Access official legal links for citation and audit trails — citation, timestamp, and source link returned in the same turn
  • Track point-in-time versions and article-level changes across Madrid legal materials
  • Run Horizon Scanning — track what changed in Madrid law, when, and where, without manual monitoring
  • Connect AI agents to official Madrid sources through MCP; use the API for search, monitoring, compliance, and AI ingestion workflows
  • Build internal Madrid legal research tools without maintaining your own crawler stack
WHY LAWSTRONAUT

Why Lawstronaut for Madrid legal research

Madrid legal information is spread across the regional gazette (BOCM), the Asamblea de Madrid, regional consejerías and agencies, the national gazette (BOE), regulators, and the courts. For humans, that means slow research. For AI systems, it's a bigger problem: fragmented source access, inconsistent formats, missing provenance, and weak citation trails.

Lawstronaut turns those sources into one structured legal data layer — source links, metadata, full text, versioning, and API/MCP access. Your product or agent retrieves the legal source directly instead of relying on generic web search or unverified model memory. Every answer carries a citation, a timestamp, and a link to the official document — the provenance that makes a legal research platform defensible to auditors and regulators.

About Madrid legal coverage

The Autonomous Community of Madrid (Comunidad de Madrid) is a region within Spain's civil-law system, with its own self-government under the Statute of Autonomy approved by Organic Law 3/1983. Regional primary legislation is enacted by the Asamblea de Madrid and published in the Boletín Oficial de la Comunidad de Madrid (BOCM), while the regional government (Consejo de Gobierno) and its consejerías issue decrees, orders, and resolutions. National legislation published in the Boletín Oficial del Estado (BOE) applies within the region, and judicial matters run through the Tribunal Superior de Justicia de Madrid up to the Tribunal Supremo and Tribunal Constitucional. Legal materials are published in Spanish.

Madrid law moves quickly, and much of it turns on the interaction between regional and national competences — for example the region's distinctive use of its powers over transferred taxes (tributos cedidos), consolidated in Legislative Decree 1/2010, and frequent reforms in areas such as housing, commerce, health, and public administration — so citations to outdated provisions can simply be wrong. Point-in-time data straight from the source is what keeps a Madrid legal research answer correct today.

BUILT FOR

Built for

01

Legaltech companies

Build Madrid legal search, monitoring, drafting, compliance, and AI research features without maintaining your own legal source pipeline.

02

Compliance & GRC teams

Monitor Madrid regulatory materials, guidance, enforcement updates, and legal changes across official sources — without a manual monitoring rota.

03

AI builders

Ground legal AI answers in official Madrid legal text, source links, and metadata — answers that survive an auditor.

04

Internal legal teams

Give lawyers and business users faster access to Madrid legal sources through AI agents and internal tools, without hiring a researcher per jurisdiction.

FAQ

Frequently asked questions

RELATED JURISDICTIONS

Related jurisdictions

Related products: Lawstronaut API · Lawstronaut MCP · Legal AI agents · Pricing

Put Madrid on the Lawstronaut map

Tell us which Madrid sources you need first — regional legislation, regulators, or case law — and we'll prioritise onboarding of official Madrid legal data.

Get started