Brazil Law
liveGovernmentLegalLegislatureBrazil law -- federal legislation from the Federal Senate's legislation open data (laws, complementary laws, decree-laws, decrees, provisional measures, constitutional amendments, legislative decrees) and the Congress norms portal's consolidated text.
Tools
br_law_searchSearch Brazilian federal legislation (leis, leis complementares, decretos-lei, decretos, medidas provisórias, emendas constitucionais, decretos legislativos). Give type + number + year to find one nor
No parameters required.
Try it
br_law_getFetch 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
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/brazil-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/brazil-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"br_law_search","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("br_law_search", {});// Or ask in plain English:
const answer = await px.ask("brazil law -- federal legislation from the federal senate's legislation open data (laws, complementary laws, decree-laws, decrees, provisional measures, constitutional amendments, legislative decrees) and the congress norms portal's consolidated text");