consultar-legislacao-estadual

Queries Brazilian state and municipal legislation live from official sources via the IAJUS MCP server.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Legal professionals need accurate, up-to-date text of Brazilian state and municipal laws, but these norms are scattered across 27 state assemblies and thousands of municipal chambers, making manual lookup slow and citation from memory unreliable. ## Core Features & Use Cases - Live official-source lookup: Resolve any state or municipal norm by identity (UF, municipality, type, number, year) and retrieve metadata, ementa, and the official deep link. - Full-text retrieval: Fetch the consolidated text of a norm with obter_texto_norma, with a per-query flag indicating whether full text or only ementa plus link is available. - Coverage catalog: Inspect the static catalog of adapters for all 27 UFs and their municipalities with obter_cobertura_legislacao to calibrate expectations before querying. - Honest outcome reporting: A desfecho envelope distinguishes measured absence from errors, timeouts, and partial results so failures are never reported as "not covered". - Use Case: A lawyer needs the current text of a Goiás state decree for a legal opinion; the assistant resolves it by identity, returns the official link, and quotes the exact wording from the source. ## Quick Start Ask the assistant to fetch the full text and official link of a specific state or municipal law by providing the UF, municipality if applicable, norm type, number, and year.

Frequently Asked Questions about consultar-legislacao-estadual

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

FAQPage Schema
How do I look up a Brazilian state law by number and year?▼

Call buscar_norma_fonte_oficial with the UF, norm type (such as LEI or DECRETO), number, and year. It returns the ementa, date, and official deep link; use obter_texto_norma with the same arguments for the full text.

Can I search state legislation by topic or keyword?▼

No, this surface resolves norms by identity only: UF plus type, number, and year. If you only know the subject, you must first determine the norm's type, number, and year before querying.

Which Brazilian states are covered by the IAJUS legislation lookup?▼

The static catalog registers adapters for all 27 UFs, including the Federal District. Six UFs (BA, GO, MG, MS, RO, SP) are labeled ready for full text; the other 21 reliably provide ementa and official link with full text on a best-effort basis.

How do I query a municipal law instead of a state law?▼

Provide both the UF and the municipality name along with type, number, and year to buscar_norma_fonte_oficial or obter_texto_norma. The municipality argument is required because same-numbered laws exist across different cities.

What does it mean when a query returns desfecho erro or nao_terminou?▼

It means the lookup failed or timed out and the collection was never measured, so you cannot conclude the norm does not exist. Report the server error or warning to the user instead of claiming the UF is not covered.

Does this skill cover Brazilian federal legislation?▼

No, it is scoped to state and municipal norms only. Federal legislation and court decisions such as acórdãos and súmulas are handled by other IAJUS skills and tools.