br_law_get
Pack: brazil-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/br_law_get for the schema, then POST the same URL with its arguments for the data.
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 publication, the source status marker (situacao, “R” when the source marks the norm revoked) and the portal legal-force flag, the later norms recorded as revoking, amending or regulating it, and the consolidated text. Pass article (e.g. “5”) for one article with every paragraph and item, otherwise text is capped at max_chars. Norms without a structured text return the notes and a reason instead.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
norm | string | no | Norm id from br_law_search, e.g. “LEI-13709-2018-08-14”, or the numeric code |
type | string | no | With number and year, in place of norm |
number | number | no | Norm number, e.g. 13709 |
year | number | no | Year of signature, e.g. 2018 |
article | string | no | Article number, e.g. “5” or “52” |
max_chars | number | no | Cap on text when no article is given (default 12000, max 60000) |
Example call
Arguments
{
"norm": "LEI-13709-2018-08-14",
"article": "52"
}
curl
curl -X POST https://gateway.pipeworx.io/brazil-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"br_law_get","arguments":{"norm":"LEI-13709-2018-08-14","article":"52"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('br_law_get', {
"norm": "LEI-13709-2018-08-14",
"article": "52"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
norm | string | |
code | string | |
type | string | |
title | string | |
popular_name | string | |
summary | string | |
signed | string | |
published_in | string | |
situacao | null | |
status_note | string | |
revocation_notes | array | |
later_norm_notes | object | |
recent_amendments_and_regulations | array | |
amends_or_affects | array | |
url | string | |
source | string | |
data_as_of | string | |
article | string | |
article_legal_force | null | |
article_versions | number | |
text | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"norm": {
"type": "string"
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"title": {
"type": "string"
},
"popular_name": {
"type": "string"
},
"summary": {
"type": "string"
},
"signed": {
"type": "string"
},
"published_in": {
"type": "string"
},
"situacao": {
"type": "null"
},
"status_note": {
"type": "string"
},
"revocation_notes": {
"type": "array",
"items": {}
},
"later_norm_notes": {
"type": "object",
"properties": {
"Veto Original": {
"type": "number"
},
"Alteração Permanente": {
"type": "number"
},
"Alteração Provisória": {
"type": "number"
},
"Legislação Correlata": {
"type": "number"
},
"Acréscimo Vetado": {
"type": "number"
},
"Alteração Vetada": {
"type": "number"
},
"Regulamentação Permanente de Norma": {
"type": "number"
}
},
"additionalProperties": true
},
"recent_amendments_and_regulations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"comment": {
"type": "string"
},
"by": {
"type": "string"
},
"date": {
"type": "string"
}
},
"additionalProperties": true
}
},
"amends_or_affects": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"article": {
"type": "string"
},
"article_legal_force": {
"type": "null"
},
"article_versions": {
"type": "number"
},
"text": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the brazil-law pack
{
"mcpServers": {
"brazil-law": {
"url": "https://gateway.pipeworx.io/brazil-law/mcp"
}
}
}
See Getting Started for client-specific install steps.