@pipeworx/brazil-law
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/brazil-law’s. Install: one-click buttons
Connect to just the @pipeworx/brazil-law pack
https://gateway.pipeworx.io/brazil-law/mcp — only @pipeworx/brazil-law’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 2
Brazilian federal legislation (leis, leis complementares, decretos-lei, decretos, medidas provisórias, emendas constitucionais, decretos legislativos): find a norm, then read its metadata, the later norms recorded as revoking or amending it, and its consolidated text, whole or one article at a time.
Tools
br_law_search(query?, type?, number?, year?, year_from?, year_to?)— find a norm by type + number + year (for exampleLEI13709 2018), or by a Portuguese keyword matched against the title line, summary and popular name over a window of years (default: the last 8; at most 15 per call; the response says which years were scanned). Returns the norm id, title, summary line and signature date.br_law_get(norm | type+number+year, article?, max_chars?)— one norm (LEI-13709-2018-08-14, or the numeric code): title, summary, Diário Oficial publication, the source’s status marker, the later norms it records as revoking, amending or regulating the norm, and the consolidated text.article("52") returns one article with all its paragraphs and items as currently in force. Unknown norms returnfound:falsewith a reason.
Auth
Keyless.
Data sources
- Brazil, Federal Senate and National Congress, federal legislation database and consolidated norms portal — norm metadata, amendment and revocation records, and consolidated text.
Status is reported as the source states it: situacao (R when the source
marks the whole norm revoked, absent otherwise), portal_legal_force where the
portal gives one, and the list of later norms recorded as revoking, amending or
regulating the norm. Nothing is derived from those notes, and absence of a
marker is not proof a provision is in force. data_as_of is the date of the
live read. Text comes from the portal’s structured consolidated version; older
acts and many decrees have none, and then text is null with an
empty_reason. Keyword search scans a window of years because the source
lists norms by identification, not by words; widen the window to look earlier.
Constitution of 1988 text is not included. Nothing is stored; every call reads
the publisher live.
Tools
- br_law_search — Search Brazilian federal legislation (leis, leis complementares, decretos-lei, decretos, medidas provisórias, emendas constitucionais, decretos legislativos). Give type + number + year to find one nor
- br_law_get — Fetch one Brazilian federal norm by norm id (from br_law_search, e.g. “LEI-13709-2018-08-14”), by numeric code, or by type + number + year. Returns title, summary line, signature date, Diário Oficial
Tools
br_law_get— Fetch one Brazilian federal norm by norm id (from br_law_search, e.g. LEI-13709-2018-08-14 ), by numeric code, or by type + number + year. Returns title, summary line, signature date, Diário Oficial pbr_law_search— Search Brazilian federal legislation (leis, leis complementares, decretos-lei, decretos, medidas provisórias, emendas constitucionais, decretos legislativos). Give type + number + year to find one nor