headlesslaw
Texto literal da regulamentação financeira e digital da UE, com fontes oficiais, versões e os instrumentos de Nível 2 e Nível 3 disponíveis para cada ato. Não constitui aconselhamento jurídico.
Servidor MCP hospedado
npx add-mcp 'https://mcp.headlesslaw.com/mcp'Instala no Claude Code, Codex, Cursor e outros
Documentação
title: "MCP server" description: "The site's Model Context Protocol endpoint: its address, how to add it, what it serves." type: section_index
The site has a Model Context Protocol (MCP) server. An AI assistant that supports MCP can search the site and read its pages through it.
Address
https://mcp.headlesslaw.com/mcp
Transport: Streamable HTTP. No sign-in and no key.
The earlier address, https://www.headlesslaw.com/~gitbook/mcp, still works and serves the same tools.
How to add it
Claude Code:
claude mcp add headlesslaw --transport http https://mcp.headlesslaw.com/mcp
Other MCP clients: add a remote (HTTP) server with the address above, for example:
{
"mcpServers": {
"headlesslaw": { "type": "http", "url": "https://mcp.headlesslaw.com/mcp" }
}
}
What it serves
The server answers with the pages of this site: the text of each act, its Level 2 and Level 3 material, and the definitions.
The server has 11 tools (tool contract version 1.20.0). This list is generated from the same contract the server's tools/list answers from; each tool's full description and input schema are in its server card.
| Tool | Arguments | What it does | Returns |
|---|---|---|---|
searchDocumentation | query | Search the headlesslaw corpus: the verbatim text of EU financial and digital regulation (Level 1 acts, their Level 2 technical standards and Level 3 guidelines and Q&As) and the definitions. | 0..n items {type:'text', text:'Title: \nLink: \nContent: '} |
getPage | url | Fetch the full Markdown of one page of the headlesslaw corpus by its address (for example https://www.headlesslaw.com/mica/articles/3). | 1 item {type:'text', text:<the page's Markdown>} |
sendFeedback | content, pageUrl, goal (optional) | Report a problem with a page of the headlesslaw corpus to its maintainers: text that differs from the official source, a broken or wrong link, missing content or an outdated status. | an acknowledgement including the full Report ID UUID, passed back unchanged from the backend; the same UUID is in _meta[headlesslaw/report_id] and the feedback triage record |
search | query, as_of (optional), regime (optional), level (optional), limit (optional), cursor (optional), release (optional) | Deterministic search over the provisions and documents of the corpus (citation resolver first, then keyword and semantic legs fused by rank). | A JSON object (structuredContent, also as text): the release, limits and the tool's objects with their www addresses; isError for not found, not resolved or a release no longer available. |
resolve_citation | citation, release (optional) | Resolve a citation string to the provision (or act) it names, with its URL. | A JSON object (structuredContent, also as text): the release, limits and the tool's objects with their www addresses; isError for not found, not resolved or a release no longer available. |
get_provision | ref, as_of (optional), release (optional) | One provision (article, annex, recitals) as structured units with its status, version, check, applicability, official source — today or as it stood on as_of (time travel: text in force on that date, or an explicit state such as not_available_for_date or update_pending; never the current text in place of a past one). | A JSON object (structuredContent, also as text): the release, limits and the tool's objects with their www addresses; isError for not found, not resolved or a release no longer available. |
get_document | ref, release (optional) | One Level 2 or Level 3 document (a technical standard, guideline, Q&A, opinion …) with its information block and text. | A JSON object (structuredContent, also as text): the release, limits and the tool's objects with their www addresses; isError for not found, not resolved or a release no longer available. |
list_versions | ref, release (optional) | The versions of a provision we hold: each with its validity interval, version permalink, the consolidation it comes from, its revisions (corrigenda, repairs) with immutable revision URLs, held-back changes and application dates. | A JSON object (structuredContent, also as text): the release, limits and the tool's objects with their www addresses; isError for not found, not resolved or a release no longer available. |
compare | ref, from, to, release (optional) | Word-level comparison of a provision between two dates, both sides with their dates, consolidations, official sources and check status; a side we hold no text for says so. | A JSON object (structuredContent, also as text): the release, limits and the tool's objects with their www addresses; isError for not found, not resolved or a release no longer available. |
get_relations | ref, as_of (optional), type (optional), direction (optional), release (optional) | The relations of a provision on a date: Level 2 acts that implement it, Level 3 documents that explain it, provisions that cite it, defined terms it uses, amending acts and corrigenda — each with its basis, method and evidence (public keys only: the legal basis as the document states it, the consolidation, the corrigendum and its URL, the source object). | A JSON object (structuredContent, also as text): the release, limits and the tool's objects with their www addresses; isError for not found, not resolved or a release no longer available. |
get_definition | term, act (optional), release (optional) | A defined term in its governing act: the defining provision's text, its URL and the definition page. text is the definition without the page's list of provisions that use the term; used_in gives their count and the page that lists them. | A JSON object (structuredContent, also as text): the release, limits and the tool's objects with their www addresses; isError for not found, not resolved or a release no longer available. |
For agents: the server card, the API catalog, auth.md (no sign-in, no key), llms.txt, and the endpoint's own llms.txt and robots.txt. In a browser with WebMCP, every page of the site registers these tools with the browser's agent.
Tools are only added, never changed in place. A tool is removed only after a notice on this page and in the tool's description.
What the server logs
The text of a request is not kept: what an assistant searches for, the page address it asks for and the content of a report are read to answer the request and then dropped. For each request the server logs the time, the tool, the outcome, the size and duration of the answer, the name and version the MCP client gives, and a few features worked out from the request before it is dropped: the length of the query in bands, whether its letters are Latin, recognised citations as references to this site's acts (for example Article 75 of MiCA), the number of results and the acts they came from. It logs no IP address, cookie, session or client identifier and no full User-Agent. Each request's log entry is deleted after 90 days; daily totals are kept.
The same pages are available without MCP: add .md to any page address for its Markdown, or read llms.txt for an index of the site.