← Back to directory
M

MCP Jurídico Brasil

Community
Query Brazilian court cases, updates, and deadlines through MCP.
Category
Other #133 of 678
Stars
★ 146 Popular
Transport
stdio (local process)
Runtime
Python 3.10+
Credentials
Optional API key
License
MIT
Last commit
Tools
9
58FMRS · C

This stdio MCP server provides Brazilian DataJud case lookup and business-day deadline tools. It also offers credentialed DJe notice features; confirming a notice as read may have legal effect.

Strongest · Security and permissions 15/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
15/20
Maintenance
9/20
Documentation
13/20
Setup experience
13/20
Why each score
Reliability 8/20
The README lists 9 tools and 1 resource and identifies limitations, including that snapshot queries are currently empty and query tools do not write snapshots. This makes part of the declared behavior reviewable. The supplied material contains no source code, committed tests, or CI workflow contents to verify startup, MCP handshake, tool behavior, or error handling, so the static evidence does not support a higher score.
Security and permissions 15/20
The README says DataJud queries are limited to public data and results are not stored outside the user's local environment; DJe credentials are user-provided, sensitive notice content is suppressed, and legally consequential read confirmation defaults to dry-run and requires both a parameter and an environment setting. These boundaries and gates are clearly described. Source code is unavailable to verify actual data flows, credential handling, or enforcement of the gate, so full marks are not justified. No listed red-line evidence appears in the prompt.
Maintenance 9/20
The repository is not archived, uses an MIT license, and the README provides a PyPI installation path, update guidance, and a roadmap with unfinished items. The supplied material has no commit history, release history, issue-response evidence, security-reporting channel, or maintainer governance details, so sustained maintenance cannot be established.
Documentation 13/20
The README covers tool purposes, data sources, DJe access requirements, important side effects, several limitations, environment variables, and configuration examples for several clients. It is useful documentation. Full marks are not justified because complete tool parameters and return schemas, troubleshooting guidance, dependency constraints, and verifiable implementation evidence are absent; some legal and calendar capability claims also cannot be independently checked from the supplied material.
Setup experience 13/20
The README gives uvx, pip, and uv installation options, configuration examples for Claude Desktop, Claude Code, Cursor, and VS Code, and states Python 3.10+ and optional API credentials. The path is relatively clear. The supplied material does not include source, CI, or tests proving installation and connection work, and runtime preparation and cross-platform details are limited, so the static calibration caps the score below 16.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the network

Best for

  • Brazilian legal professionals and case management workflows that need public DataJud case information.
  • Users who want to query cases, review movements, or calculate deadlines through an MCP client.

Not for

  • People who need court data unavailable from DataJud or access to cases under judicial secrecy.
  • Users requiring push notifications, database persistence, or legal advice.

Required permissions

  • Runs over stdio; case queries access the CNJ DataJud API.
  • Optional DJe features require the user's own DJe credentials.
  • Read confirmation has real legal effect; both an explicit argument and environment-variable setting are required to perform it.

Risks and side effects

  • A court code being registered does not guarantee that DataJud contains that court's data; coverage depends on what courts submit to CNJ.
  • DJe notices are not public data, and confirming a notice as read may start a deadline.
  • Deadline results depend on the applicable national or state holiday calendar and input date; the tools are not legal advice.

Setup

Before you start

Runtime:Python 3.10+

DATAJUD_API_KEY optionalsecret Optional: overrides the current public DataJud API key published by the CNJ; obtain a key from the CNJ DataJud public API page if needed.
DJE_CLIENT_ID optionalsecret Optional: client ID for the DJe API; obtain credentials from the relevant service to use DJe notification tools.
DJE_CLIENT_SECRET optionalsecret Optional: client secret for the DJe API; obtain credentials from the relevant service to use DJe notification tools.
DJE_BEHALF_OF_CPF optionalsecret Optional: CPF identity on whose behalf DJe is accessed; provide the corresponding identity details to use DJe notification tools.
Other optional settings (4)
JURIDICO_LOG_LEVEL optional Optional: sets the log level to DEBUG, INFO, or WARNING.
JURIDICO_SNAPSHOT_DIR optional Optional: sets the local directory for persisted snapshots; query tools do not save snapshots in this version.
JURIDICO_HTTP_TIMEOUT optional Optional: sets the timeout in seconds for DataJud HTTP requests.
DJE_PERMITIR_CONFIRMACAO_LEITURA optional Optional: set to true to allow confirming notification reads; the tool call must also set confirmar=True.

Install uv and run uvx mcp-juridico-brasil, then add the README's mcpServers configuration to your MCP client. DATAJUD_API_KEY can replace the default public key. DJe tools additionally require DJE_CLIENT_ID, DJE_CLIENT_SECRET, and DJE_BEHALF_OF_CPF.

claude_desktop_config.json
{
  "mcpServers": {
    "juridico-brasil": {
      "command": "uvx",
      "args": ["mcp-juridico-brasil"],
      "env": {
        "DATAJUD_API_KEY": "sua-chave-aqui"
      }
    }
  }
}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "juridico-brasil": {
      "command": "uvx",
      "args": [
        "mcp-juridico-brasil"
      ],
      "env": {
        "DATAJUD_API_KEY": "sua-chave-aqui"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.juridico-brasil]
command = "uvx"
args = ["mcp-juridico-brasil"]

[mcp_servers.juridico-brasil.env]
DATAJUD_API_KEY = "sua-chave-aqui"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add juridico-brasil -e DATAJUD_API_KEY=sua-chave-aqui -- uvx mcp-juridico-brasil

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After starting the server, check that `buscar_processo_por_numero` and `listar_tribunais` appear in your MCP client's tool list. You can also call `listar_tribunais` and confirm it returns a list of court abbreviations.

Troubleshooting

  1. Check that uvx is available and that the MCP client command and arguments match the configuration.
  2. If DataJud requests fail, check network access and set a valid DATAJUD_API_KEY if needed.
  3. If DJe tools are unavailable, check that all three DJe credentials are configured.
  4. An empty monitoring list or unavailable snapshot is expected in this version because query tools do not save snapshots.

Things to try

Once connected, you can ask your AI assistant things like:

  • Look up the Brazilian case with CNJ number 0000000-00.0000.0.00.0000.
  • List the case's docket updates and summarize the latest activity.
  • Calculate the next business-day deadline after the case notification.
  • List my DJe notifications.

Tools 9

buscar_processo_por_numero read-only
Look up case information by its CNJ case number.
listar_movimentacoes read-only
List case docket movements, with an optional date filter.
resumir_andamento read-only
Retrieve case data and instructions for a language model to summarize its progress.
monitorar_processo read-only
Check whether a case has changed since a given date and return its last update date; uses polling and does not save a snapshot.
listar_processos_monitorados read-only
List cases with snapshots in the session; this version's query tools do not save snapshots, so the list is empty.
calcular_proximo_prazo read-only
Calculate a deadline in business days under cited Brazilian civil procedure rules; an optional state code includes state holidays.
listar_tribunais read-only
List the 92 court codes registered by the server.
listar_intimacoes read-only
List received notices through the DJe API; read-only, with confidential notice content suppressed.
Show 1 more tools
confirmar_leitura_intimacao writes
Confirm a notice was read. Defaults to dry-run; actual confirmation requires both an argument and environment-variable gate, and may have legal effect and start a deadline.

Use cases

Look up public Brazilian court cases and docket movements available in DataJud.
Poll cases for updates and calculate business-day deadlines.
View received judicial notices after configuring DJe credentials.

Supported clients

Claude Desktop
Claude Code
Cursor
VS Code + Continue

Listed from the project's documentation, not tested by this site.

Overview

MCP Jurídico Brasil connects AI assistants and case management systems to public judicial data from Brazil's National Council of Justice (CNJ) DataJud. It offers case lookup, docket movements, summaries, polling-based monitoring, business-day deadline calculations, and a list of court codes. Optional Electronic Judicial Domicile (DJe) features require the user's own credentials and provide read access to notices plus a gated read-confirmation action.

Similar servers

Source revision 4f2bedd46d4d Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mcp-juridico-brasil.svg)](https://followmcp.com/en/servers/mcp-juridico-brasil)