MCP server exposing 2 tools for brazil-law.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/brazil-law/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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 norm (e.g. type LEI, number 13709, year 2018), or a Portuguese keyword in query (matched against the title line and popular name, e.g. "proteção de dados", "licitações") with year or year_from/year_to to bound the scan (default: the last 8 years; the response says which years were scanned). Returns norm (id like "LEI-13709-2018-08-14"), code, title, summary line (ementa) and signature date; pair with br_law_get for the text.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 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.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/brazil-law/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io