consultar-legislacao

Queries Brazilian federal legislation via the IAJUS MCP server with official-source text and vigency tracking.

3|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/rafaelob/iajus-plugin-public --skill consultar-legislacao-rafaelob
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: consultar-legislacao
Source: https://github.com/rafaelob/iajus-plugin-public/tree/main/plugins/iajus-juris/skills/consultar-legislacao
Command: npx skills add https://github.com/rafaelob/iajus-plugin-public --skill consultar-legislacao-rafaelob

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Legal professionals risk citing revoked or altered statutory text when relying on memory or unofficial sources. This Skill grounds every answer about Brazilian federal legislation in the official Planalto source, returning the current consolidated text, vigency status, and article-by-article amendment history. ## Core Features & Use Cases - Norm Resolution and Full Text: Resolve a law by type/number/year, name, or nickname (e.g., "CLT", "CDC") and retrieve its full official text or a single isolated article, paragraph, or inciso with the vigente wording. - Vigency and Amendment Tracking: Check whether a norm is vigente or revogada, trace article-by-article changes, and navigate the full amendment graph including MPV-to-law conversions. - Thematic and Semantic Search: Find which federal laws regulate a topic using semantic, full-text, hybrid, or ontology-based (TPU/CNJ) search across the legislation corpus. - Use Case: A lawyer asks "what does art. 5º of Lei 8.078 say and is it still in force?" The Skill resolves the norm, isolates the device with its current wording, checks the amendment chain, and returns the answer with the official Planalto link. ## Quick Start Ask the assistant to fetch the current text of a specific article of a Brazilian federal law, for example "what does art. 6º of the CDC say and is it still in force?"

Frequently Asked Questions about consultar-legislacao

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if a Brazilian federal law is still in force?▼

Use buscar_norma_por_nome or buscar_norma_por_numero, which return the norm together with its status field showing vigente or revogada. For deeper verification, run obter_alteracoes_norma to see article-by-article amendment events before citing any wording as current.

How do I get the current text of a specific article of a Brazilian law?▼

Use obter_dispositivo_legal, which isolates a single article, paragraph, or inciso and returns its vigente wording. This is the most precise path for one device; use obter_texto_norma when you need the full consolidated text of the norm.

Can I search Brazilian legislation by topic without knowing the law number?▼

Yes. Use buscar_norma_fonte_oficial with a term, or buscar_semantica and buscar_hibrida with family="legislacao" for conceptual search. You can also use buscar_por_ontologia with a TPU branch code to find laws in a legal domain like Consumer or Tax law.

Does this skill cover state or municipal legislation?▼

No. Coverage is strictly federal legislation: leis, decretos, MPVs, leis complementares, emendas constitucionais, and decretos-lei. State and municipal legislation is handled by the separate consultar-legislacao-estadual skill, and case law by pesquisar-jurisprudencia.

Why does a legislation search return zero results when the law exists?▼

Check the desfecho field before interpreting totals. Values like erro, nao_terminou, or medida_indisponivel mean the query did not actually measure the corpus; only sem_resultado is a true measured zero. Also note hybrid search hides revoked norms unless incluir_historico=true is passed.