Advocacia Aberta plugin

An open legal method for agents: 10 protocols and a Brazilian law and case-law base with sources, while client cases stay private

  • 89 ★ on the repository
  • Last commit
Plugin

Extended access

Why this level

  • The agent reads client case documents that may hold personal and confidential data
  • The MCP connection sends search queries to the external address `mcp.advocaciaaberta.org`
All reasons and checks

emidio-trancoso/advocacia-aberta

Install

Manual install

/plugin install advocacia-aberta

First `/plugin marketplace add emidio-trancoso/advocacia-aberta`. Protocols get the `advocacia-aberta` namespace.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The agent reads client case documents that may hold personal and confidential data
  • The MCP connection sends search queries to the external address `mcp.advocaciaaberta.org`

This is third-party code. Review the repository files before installing.

What it does

The project builds an open method of working with AI and an organized legal base for Brazilian lawyers, so an assistant cites real norms and case law with an official source. The repository holds 273 legislation sets (22,180 provisions), 1,475 STJ and STF precedent summaries, 3,508 STJ theses, 1,462 STJ repetitive themes and 1,470 STF general-repercussion themes, 11,567 judgments from the STF bulletin and 11,133 decisions of uniformizing STJ panels. The method comes as 10 protocols shipped as skills: `organizar-caso` reads documents and writes `SUMARIO.md`, `diagnosticar` finds strengths and weaknesses, `buscar-fontes` searches the local base, `buscar-tjpr` reads TJPR decisions, `redigir-peca` and `revisar-peca` draft and audit a filing, `diagramar-peca` makes a PDF and `transcrever` turns audio into text. For install-free use there is an MCP address `https://mcp.advocaciaaberta.org/mcp`. The plugin installs in Claude Code with `/plugin marketplace add` and `/plugin install`, and Codex reads the folder through `/skills`.

Who it is for. Lawyers in Brazil who work with Claude or ChatGPT and want references to verifiable norms and case law while keeping client cases to themselves.

Good fit when

  • An assistant invented non-existent case law and you need a source with an official link
  • You must process a batch of case documents into a short summary in `SUMARIO.md`
  • A draft filing needs a check on evidence, sources and weak arguments
  • You want to connect the base to Claude or ChatGPT as a custom MCP connector

Not a fit when

  • You need another country's law: the base covers Brazilian legislation and case law
  • You need legal advice or a ready decision on a case: the project calls itself infrastructure and not a lawyer
  • You need a full base of all court decisions: the set holds only the listed snapshots and decisions of uniformizing STJ panels

Example request

Organize the documents from the autos folder into SUMARIO.md and find norms and STJ theses for a lease termination dispute

Limitations

  • The bases are working snapshots: their counts do not prove that a norm is in force, complete or current on the query date, and the catalog records provenance and gaps.
  • The project does not replace professional review: the lawyer must check the assistant's output.
  • TJPR search, transcription and layout need helper programs (`bun`, `uv`, `whisper`, `ffmpeg`, `typst`), which the `preparar-ambiente` protocol installs.
  • Documentation and protocols are in Portuguese, with an English section at the end of the README.

How to disable. In Claude Code run `/plugin uninstall advocacia-aberta`. For the MCP connector remove the address from Claude or ChatGPT settings, and delete local cases in `casos/` yourself.

FAQ

How do I connect the base without installing anything?

In Claude (Pro or Max) or ChatGPT add a custom MCP connector with `https://mcp.advocaciaaberta.org/mcp`. The assistant will search the base with the official source. The method protocols are adopted separately.

How do I install the plugin in Claude Code?

With `/plugin marketplace add emidio-trancoso/advocacia-aberta` and `/plugin install advocacia-aberta`. Protocols get a namespace such as `/advocacia-aberta:organizar-caso`.

What is public and what is private?

The method, protocols and norm base are open. A client case stays private: real documents go into `casos/` locally, and public examples use the `casos/_modelo-de-caso` template.

Does it replace a lawyer?

No. The project describes itself as open infrastructure and not an automatic lawyer. A professional checks the output.

What does `buscar-tjpr` do?

Searches and reads decisions on the Paraná state court (TJPR) portal. The protocol needs helper programs that `preparar-ambiente` installs.

Discussion

No questions or reviews yet.

Plugins

Open library of legal skills in SKILL.md format covering contracts, disputes and data protection in 54 jurisdictions

PluginMinimal access125Repository stars

A library of 319 skills for German law and EU compliance, with statute links and flags on unverified case law.

PluginExtended access57Repository stars

38 legal-reasoning skills for PRC statutory law: statute and case lookup, evidence analysis, argumentation and document drafts

SkillMinimal access963Repository stars

LLM Wiki Manager keeps a personal Markdown wiki through an agent: it ingests sources, links pages and answers with citations

PluginExtended access73Repository stars

About 400 Brazilian Portuguese skills for Claude Code, Cursor and Codex: copywriting, marketing, PRDs, SEO and code.

SkillExtended access117Repository stars

A plugin turns documents and links into a local wiki with source citations, linked pages and search for AI agents and Obsidian.

PluginExtended access628Repository stars

README in short

The README explains the idea: data for AI must be readable, and verifiable sources answer the problem of invented case law. A table shows the base size and the protocols, marking which need tool installs. Next come the install-free connection path, three launch steps, the principles of private client cases and an English section.

README badge

Report a problem