Brazilian Law Research MCP Server

A MCP (Model Context Protocol) server for agent-driven research on Brazilian law using official sources

Local serverstdioPython

What is the Brazilian Law Research MCP server?

If you already use Brazilian Law Research, the brazilian law research mcp server is the piece that lets your assistant work with it directly. A MCP (Model Context Protocol) server for agent-driven research on Brazilian law using official sources.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • StjLegalPrecedentsRequest — Research legal precedents made by the National High Court of Brazil
  • TstLegalPrecedentsRequest — Research legal precedents made by the National High Labor Court of
  • StfLegalPrecedentsRequest — Research legal precedents made by the Supreme Court (STF) that meet
  • Tooling — The project uses: - Ruff for linting and formatting. - BasedPyright for type checking. - Pytest for testing
  • Language — Resources, tools and prompts related stuff must be written in Portuguese, because this project aims to be used by non-dev folks, such as lawyers and

Credentials and setup notes

  • git - uv (recommended) or Python >= 3.12 - Google Chrome

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Brazilian Law Research's toolset — StjLegalPrecedentsRequest, TstLegalPrecedentsRequest, StfLegalPrecedentsRequest and 2 more — is a fair guide to whether it matches your workflow. It is maintained by pdmtt; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Brazilian Law Research's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
StjLegalPrecedentsRequestResearch legal precedents made by the National High Court of Brazil
TstLegalPrecedentsRequestResearch legal precedents made by the National High Labor Court of
StfLegalPrecedentsRequestResearch legal precedents made by the Supreme Court (STF) that meet
ToolingThe project uses: - Ruff for linting and formatting. - BasedPyright for type checking. - Pytest for testing.
LanguageResources, tools and prompts related stuff must be written in Portuguese, because this project aims to be used by non-dev folks, such as lawyers and law students.

How to install the Brazilian Law Research MCP server

{
  "mcpServers": {
    "brlaw_mcp_server": {
      "command": "uv",
      "args": [
        "--directory",
        "/<path>/brlaw_mcp_server",
        "run",
        "serve"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • git - uv (recommended) or Python >= 3.12 - Google Chrome

Example prompts to try

  • Use Brazilian Law Research to StjLegalPrecedentsRequest.
  • Use Brazilian Law Research to TstLegalPrecedentsRequest.
  • Use Brazilian Law Research to StfLegalPrecedentsRequest.

Frequently asked questions

Git, `uv` (recommended) or Python >= 3.12, and Google Chrome.