# Legal MCP (alternativa ao Jusbrasil) (remote · api.mcp.ai)

Open-source alternative to Jusbrasil for AI: find lawsuits by name, CPF, CNPJ or case number and bui

- Trust score: 63/100 (medium)
- Change this week: +6
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- remote · `api.mcp.ai`: 63/100 (this document), [markdown](https://verifymcp.io/servers/mcp-dir-jusbrasil-mcp/legal.md), [page](https://verifymcp.io/servers/mcp-dir-jusbrasil-mcp/legal)

## Channel facts

- Endpoint: `https://api.mcp.ai/legal`
- Transports: `streamable-http`
- Auth: `none`
- Version: `0.1.0`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Endpoint Security**: 63/100
  - The endpoint's TLS certificate is valid, in date, and uses a strong key.
  - No authorisation is required to call this server. Every tool declares its destructiveHint and none is destructive, so open access doesn't expose one.
  - HTTPS not yet verified: we couldn't determine whether a plaintext access path exists.
  - HSTS check failed: the Strict-Transport-Security header is absent.
  - DNSSEC check failed: this domain isn't protected by DNSSEC.
- **Transport & Reachability**: 100/100
  - Verified streamable-http transport via a live MCP handshake.
- **Schema Quality & AI Usability**: 62/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 3089 tokens (~110/item across 28 items; 28 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 67/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add --transport http mcp-dir-jusbrasil-mcp https://api.mcp.ai/legal
```

### Codex

```toml
[mcp_servers.mcp-dir-jusbrasil-mcp]
url = "https://api.mcp.ai/legal"
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mcp-dir-jusbrasil-mcp": {
      "type": "remote",
      "url": "https://api.mcp.ai/legal",
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add mcp-dir-jusbrasil-mcp --url https://api.mcp.ai/legal --transport streamable-http
```

### Hermes

```yaml
mcp_servers:
  mcp-dir-jusbrasil-mcp:
    url: "https://api.mcp.ai/legal"
```

### Other

```json
{
  "mcpServers": {
    "mcp-dir-jusbrasil-mcp": {
      "type": "http",
      "url": "https://api.mcp.ai/legal"
    }
  }
}
```

The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 63, 0)

- [security] The server rewrote its instructions, which are the text every model session reads
- [functional] Server version: 0.9.200 → 0.9.201

### 2026-08-02 (score 63, +1)

- [security] The server rewrote its instructions, which are the text every model session reads
- [functional] Server version: 0.9.197 → 0.9.200

### 2026-08-01 (score 62, 0)

- [security] The server rewrote its instructions, which are the text every model session reads
- [security] Tool “marketplace” rewrote its description, which is the text the model reads
- [functional] Server version: 0.9.196 → 0.9.197

### 2026-07-31 (score 62, +3)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 59, +1)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-29 (score 58, 0)

- [security] The server rewrote its instructions, which are the text every model session reads
- [functional] Server version: 0.9.184 → 0.9.194

### 2026-07-28 (score 58, +1)

- [security] The server rewrote its instructions, which are the text every model session reads
- [functional] Server version: 0.9.180 → 0.9.184

### 2026-07-27 (score 57, +1)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

## MCP tools (28)

### `djen_search_comunicacoes` (~176 tokens)

Busca publicações/intimações no Diário de Justiça Eletrônico Nacional (DJEN) por OAB, nome de advogado, número de processo, tribunal e data. Cada item traz o texto completo da comunicação. (É o Diário de Justiça — não é base de jurisprudência/ementas.)

Input parameters:

- `data_fim` (string)
- `data_inicio` (string)
- `itens_por_pagina` (number)
- `meio` (string)
- `nome_advogado` (string)
- `nome_parte` (string)
- `numero_oab` (string)
- `numero_processo` (string)
- `pagina` (number)
- `sigla_tribunal` (string)
- `texto` (string)
- `uf_oab` (string)

### `djen_processos_por_parte` (~162 tokens)

DESCOBERTA por NOME de parte (grátis, sem captcha): busca o DJEN por quem figura no processo e agrupa por número — devolve a lista de processos da pessoa/empresa, com partes e tribunal. Cobre processos COM publicação no Diário (não o acervo histórico completo). Para entrada por CPF/CNPJ ou processos dormentes, use as tools processos_* (engine). Com os numero_processo, enriqueça com datajud.

Input parameters:

- `data_fim` (string)
- `data_inicio` (string)
- `itens_por_pagina` (number)
- `nome_parte` (string, required)
- `pagina` (number)
- `sigla_tribunal` (string)

### `djen_get_certidao` (~48 tokens)

Retorna a URL da certidão (PDF) de uma comunicação do DJEN pelo seu hash (campo `hash` retornado na busca).

Input parameters:

- `hash` (string, required)

### `processos_buscar_por_nome` (~155 tokens)

DESCOBERTA: busca processos pelo NOME de uma parte (pessoa ou empresa) raspando os portais públicos dos tribunais (ESAJ/PJe/eproc/Projudi) — o gap que datajud (só por número) e djen (OAB/advogado) não cobrem. É ASSÍNCRONO e lento: retorna { job_id }; chame processos_get_resultado(job_id) para obter a lista. Com os numero_cnj, use datajud_*/djen_* para enriquecer de graça.

Input parameters:

- `max_results` (number)
- `nome` (string, required)
- `platforms` (array)
- `tribunais` (array)

### `processos_buscar_por_documento` (~134 tokens)

DESCOBERTA por CPF ou CNPJ. O serviço resolve o documento em nome(s) (CNPJ→razão social/sócios; CPF→nome) e então busca os processos por nome nos portais. ASSÍNCRONO: retorna { job_id }; faça o polling com processos_get_resultado(job_id). Observação: CPF/CNPJ não são chave de busca pública nos tribunais — a resolução de identidade é feita pelo serviço.

Input parameters:

- `documento` (string, required)
- `max_results` (number)
- `platforms` (array)
- `tribunais` (array)

### `processos_get_resultado` (~130 tokens)

Polling de um job de busca (de processos_buscar_por_nome/documento). Retorna { status, progress, items[], errors[] }. status: queued|running|done|error. Quando 'done', items[] traz os processos (numero_cnj, partes, advogados/OAB, classe/assunto) prontos para enriquecer com datajud_*/djen_*. Continue chamando até 'done' (a busca é lenta).

Bulk support: accepts job_ids for batched execution.

Input parameters:

- `job_id` (string, required)
- `job_ids` (array)

### `cnpj_consultar` (~72 tokens)

Consulta cadastral de um CNPJ (grátis): razão social, nome fantasia, situação cadastral, CNAE principal, porte, município/UF e SÓCIOS (QSA). Útil pra identificar a empresa e seus sócios antes de buscar processos.

Input parameters:

- `cnpj` (string, required)

### `cnpj_processos` (~92 tokens)

DESCOBERTA por CNPJ: resolve o CNPJ em razão social (e sócios) e busca os processos por NOME no Diário (DJEN) — grátis, com número de processo completo. Opcionalmente inclui os processos dos sócios. Com os números, enriqueça com as tools datajud.

Input parameters:

- `cnpj` (string, required)
- `incluir_socios` (boolean)

### `cpf_validar` (~48 tokens)

Valida os dígitos verificadores de um CPF (mod 11) e informa se há broker de identidade disponível. Não revela a identidade do titular.

Input parameters:

- `cpf` (string, required)

### `cpf_processos` (~94 tokens)

DESCOBERTA por CPF: busca os processos da pessoa por NOME no Diário (DJEN), grátis. IMPORTANTE: CPF→nome não é dado público — informe o parâmetro `nome` (recomendado). Sem nome, só resolve se houver um broker pago configurado na plataforma; caso contrário retorna instrução pedindo o nome.

Input parameters:

- `cpf` (string, required)
- `nome` (string)

### `transparencia_sancoes` (~92 tokens)

Consulta sanções de uma pessoa ou empresa por CPF/CNPJ no Portal da Transparência (consolida CEIS — inidôneas/suspensas, CNEP — empresas punidas, e CEPIM — entidades impedidas). Retorna `tem_sancao` + lista com tipo, órgão, fundamentação e datas. Due diligence / compliance.

Input parameters:

- `cpf_cnpj` (string, required)

### `transparencia_pep` (~50 tokens)

Verifica se um CPF é de Pessoa Exposta Politicamente (PEP) e retorna função/órgão/período. Importante para compliance/KYC.

Input parameters:

- `cpf` (string, required)

### `transparencia_despesas_favorecido` (~121 tokens)

DESPESAS recebidas por uma empresa ou pessoa (CPF/CNPJ) do Governo Federal num período: 'quanto a empresa recebeu da União'. Soma os recursos recebidos e quebra por órgão pagador e por mês. IMPORTANTE: cobre só o Executivo FEDERAL, não inclui estados nem municípios (cada ente tem portal próprio). Sem datas, usa os últimos 12 meses.

Input parameters:

- `cpf_cnpj` (string, required)
- `mes_ano_fim` (string)
- `mes_ano_inicio` (string)

### `transparencia_despesas_documentos` (~141 tokens)

Documentos de despesa (Empenho, Liquidação ou Pagamento) emitidos pelo Governo Federal para um favorecido (CPF/CNPJ) num ano, item-a-item: data, documento, espécie, valor, órgão, elemento de despesa e nº do processo. `fase` default = 3 (Pagamento, o dinheiro efetivamente pago). Só Executivo FEDERAL. Para o total agregado use transparencia_despesas_favorecido.

Input parameters:

- `ano` (number)
- `cpf_cnpj` (string, required)
- `fase` (string)
- `ordenacao` (number)
- `pagina` (number)

### `querido_diario_buscar` (~127 tokens)

Busca em diários oficiais MUNICIPAIS (milhares de prefeituras) por termo/nome — útil pra menções fora do Judiciário: licitações, nomeações, contratos, sanções municipais. Complementa o DJEN (que é judicial). Cada resultado traz trechos (excerpts) + URL do diário. Para nome exato, use aspas no termo.

Input parameters:

- `data_fim` (string)
- `data_inicio` (string)
- `size` (number)
- `termo` (string, required)
- `territory_ids` (array)

### `jurisprudencia_buscar` (~98 tokens)

Busca jurisprudência (acórdãos, súmulas, OJs) no acervo público LexML por termo/tese — cobre tribunais superiores e demais. Retorna título, tipo, data, autoridade, ementa/descrição e URL. Pode filtrar por tipo (ex.: Acórdão, Súmula).

Input parameters:

- `max` (number)
- `termo` (string, required)
- `tipo` (string)

### `jurisprudencia_sumulas` (~57 tokens)

Busca SÚMULAS (incluindo vinculantes) por termo no acervo LexML. Atalho do jurisprudencia_buscar com tipo=Súmula.

Input parameters:

- `max` (number)
- `termo` (string, required)

### `legal_dossie` (~218 tokens)

Raio-X jurídico de uma pessoa ou empresa: descobre os processos e (opcional) o andamento, num relatório consolidado. Aceita `nome`, `cnpj`, `cpf` (com `nome_titular`) ou `numero_processo` — informe APENAS um. Retorna a lista de processos (número, partes, tribunal) + um aviso. IMPORTANTE: confirme sempre o número e o andamento no site oficial do tribunal — os dados podem estar incompletos/desatualizados.

Input parameters:

- `cnpj` (string)
- `cpf` (string)
- `incluir_andamento` (boolean)
- `incluir_mencoes_municipais` (boolean)
- `incluir_sancoes` (boolean)
- `incluir_socios` (boolean)
- `max_processos` (number)
- `nome` (string)
- `nome_titular` (string)
- `numero_processo` (string)
- `sigla_tribunal` (string)

### `legal_monitorar` (~155 tokens)

Cria um monitoramento: avisa quando houver NOVIDADE — nova movimentação (numero_processo), novo processo de uma pessoa/empresa (nome/cnpj), ou nova publicação/intimação de uma OAB (oab+uf). Os alertas chegam pelo webhook do install (evento legal.movimentacao_nova); use legal_checar_novidades para checar na hora.

Input parameters:

- `cnpj` (string)
- `intervalo_horas` (number)
- `label` (string)
- `nome` (string)
- `numero_processo` (string)
- `oab` (string)
- `sigla_tribunal` (string)
- `uf` (string)

### `legal_listar_monitoramentos` (~19 tokens)

Lista os monitoramentos ativos do workspace.

### `legal_remover_monitoramento` (~54 tokens)

Remove (desativa) um monitoramento pelo seu id (`watch_id`).

Bulk support: accepts watch_ids for batched execution.

Input parameters:

- `watch_id` (string, required)
- `watch_ids` (array)

### `legal_checar_novidades` (~82 tokens)

Checa AGORA se há novidade nos monitoramentos (sem esperar o ciclo automático). Passe `watch_id` para um específico, ou nada para checar todos. Atualiza o estado e retorna o que mudou.

Bulk support: accepts watch_ids for batched execution.

Input parameters:

- `watch_id` (string)
- `watch_ids` (array)

### `show_version` (~17 tokens)

Show the current MCP platform and adapter versions.

### `report_bug` (~50 tokens)

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

Input parameters:

- `context` (string)
- `conversation` (string)
- `message` (string, required)

### `connect` (~42 tokens)

Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.

### `toolkit_info` (~30 tokens)

Returns the current toolkit state: installed MCPs, their connection status, and how many catalog tools each exposes.

### `marketplace` (~402 tokens)

The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin.

Input parameters:

- `action` (string)
- `arguments` (string)
- `cancel_comment` (string)
- `cancel_reason` (string)
- `conversation` (string)
- `immediate` (boolean)
- `limit` (number)
- `mcp_id` (string)
- `message` (string)
- `query` (string)
- `report_context` (string)
- `request_details` (string)
- `request_name` (string)
- `tier_slug` (string)
- `tool_id` (string)

### `authenticate` (~99 tokens)

MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

Input parameters:

- `token` (string)

## Diagnostics

Captured diagnostic sections: TLS, DNSSEC, Authorisation, Transports. The full working is on the page: https://verifymcp.io/servers/mcp-dir-jusbrasil-mcp/legal#diagnostics

## Score history

- 2026-08-03: 63
- 2026-08-02: 63
- 2026-08-01: 62
- 2026-07-31: 62
- 2026-07-30: 59
- 2026-07-29: 58
- 2026-07-28: 58
- 2026-07-27: 57
- 2026-07-26: 56

## Links

- Remote endpoint: https://api.mcp.ai/legal
- Repository: https://github.com/mcp-dir/jusbrasil-mcp
- Changelog RSS feed: https://verifymcp.io/servers/mcp-dir-jusbrasil-mcp/legal/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/mcp-dir-jusbrasil-mcp/legal/changelog.json
- HTML version of this page: https://verifymcp.io/servers/mcp-dir-jusbrasil-mcp/legal
