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

NameTypeRequiredDescription
normstringnoNorm id from br_law_search, e.g. “LEI-13709-2018-08-14”, or the numeric code
typestringnoWith number and year, in place of norm
numbernumbernoNorm number, e.g. 13709
yearnumbernoYear of signature, e.g. 2018
articlestringnoArticle number, e.g. “5” or “52”
max_charsnumbernoCap 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

FieldTypeDescription
foundboolean
normstring
codestring
typestring
titlestring
popular_namestring
summarystring
signedstring
published_instring
situacaonull
status_notestring
revocation_notesarray
later_norm_notesobject
recent_amendments_and_regulationsarray
amends_or_affectsarray
urlstring
sourcestring
data_as_ofstring
articlestring
article_legal_forcenull
article_versionsnumber
textstring
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.

Regenerated from source · build November 15, 2026