DataJud (CNJ)
io.github.mcp-dir/datajud-mcp
MCP server OK 12 tools
Public lookup of Brazilian court cases (metadata + docket) via the CNJ/DataJud API. Free, no login.
Technical sheet
- Author
- mcp-dir (registry namespace)
- Repository
- github.com/mcp-dir/datajud-mcp
- Site
- —
- Version
- 0.1.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://api.mcp.ai/p_datajud Streamable HTTP
- Tools
- 12
- Categories
- —
- Last updated
- 7 Oct 2026
- Published
- 7 Oct 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.mcp-dir/datajud-mcp)<a href="https://latlas.dev/en/mcp/io.github.mcp-dir/datajud-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.mcp-dir/datajud-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.mcp-dir/datajud-mcp)<a href="https://latlas.dev/en/mcp/io.github.mcp-dir/datajud-mcp"><img src="https://latlas.dev/badge/fiche/io.github.mcp-dir/datajud-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://api.mcp.ai/p_datajud
- Last result
- OK 28 Nov 2026, 15:50
- Response time
- 567 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- mcp-ai 0.9.518
- Tools
- 12
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 15:50 | OK | 567 ms | 12 |
Exposed tools (12, from tools/list, 28 Nov 2026)
datajud_get_processo
Busca processo por número CNJ e tribunal. Retorna `tribunal`, `total`, `count` e `processos[]` (metadados e movimentações por instância). Só sem resultados inclui `ausencia`. Aceita número com ou sem máscara. Quando `processos` está vazio, `ausencia` traz o motivo provável (numero_invalido | tribunal_divergente | nao_publicado | carga_ausente | indeterminado) e a explicação. Com resultados, esse bloco não é retornado. Leia esse bloco antes de repetir a consulta em outra tool: a API pública do CNJ não publica processo em segredo de justiça, então `nao_publicado` NÃO significa que o processo não existe. O processo que sobe por recurso MANTÉM o número da origem: o AIRR/RR de um processo do TRT continua com o número do TRT no índice `tst` (e o REsp de TJ/TRF no `stj`). Quando o 2º grau registra esse recurso, a resposta inclui `instancia_superior`; para ver em que instância o processo está agora, use datajud_localizar_processo.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tribunal | enum: "tst" | "stj" | "tse" | "stm" | "trf1" | "trf2" | "trf3" | "trf4" … | yes | |
| numero_processo | string | yes | |
| force_refresh | boolean | no |
datajud_search
Busca processos em um tribunal por classe, órgão julgador e/ou assunto (códigos das tabelas do CNJ), paginada e ordenada por data de ajuizamento. DataJud NÃO indexa nome de parte nem OAB — pra isso use o MCP djen/legal.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tribunal | enum: "tst" | "stj" | "tse" | "stm" | "trf1" | "trf2" | "trf3" | "trf4" … | yes | |
| classe_codigo | number | no | |
| orgao_julgador_codigo | number | no | |
| assunto_codigo | number | no | |
| numero_processo | string | no | |
| size | number | no | |
| from | number | no | |
| sort_desc | boolean | no | |
| force_refresh | boolean | no |
datajud_movimentos
Consulta movimentações por número CNJ e tribunal. Retorna `tribunal`, `numeroProcesso` e `instancias[]` (timeline e metadados). Só sem resultados inclui `ausencia`. Ideal para detectar movimentação nova. Quando `instancias` está vazio, `ausencia` traz o mesmo diagnóstico de datajud_get_processo (motivo provável + explicação). Com resultados, esse bloco não é retornado. Quando o 2º grau registra recurso ao tribunal superior (recurso de revista/AIRR → TST, recurso especial → STJ), inclui `instancia_superior` com o próximo passo: o processo mantém o mesmo número lá.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tribunal | enum: "tst" | "stj" | "tse" | "stm" | "trf1" | "trf2" | "trf3" | "trf4" … | yes | |
| numero_processo | string | yes | |
| force_refresh | boolean | no |
datajud_raw_query
Avançado: envia uma query Elasticsearch crua pro índice do tribunal (escape hatch). `query` é SÓ a cláusula de busca (ex.: { match: { "classe.nome": "Apelação" } }); size, sort, _source e search_after vão nos campos próprios. Use search_after (valor `sort` do último hit) pra paginar além de 10.000 resultados. A API pública do CNJ é lenta em índices grandes: prefira size pequeno e `_source` com só os campos que precisa.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tribunal | enum: "tst" | "stj" | "tse" | "stm" | "trf1" | "trf2" | "trf3" | "trf4" … | yes | |
| query | yes | ||
| size | number | no | |
| from | number | no | |
| sort | no | ||
| search_after | no | ||
| _source | array<string> | no | |
| force_refresh | boolean | no |
datajud_localizar_processo
Localiza em que instância o processo está agora, só pelo número CNJ: consulta a origem e o tribunal superior (TRT → TST, TJ/TRF → STJ). O tribunal de origem é derivado do número e os dois índices são consultados em paralelo. Retorna `instancias[]` ordenadas (1º grau → 2º grau → superior) com tribunal, grau, classe, órgão julgador e último movimento, `instancia_mais_recente` e `consultas[]` (status de cada índice consultado). Consulta processual trabalhista no TST: o processo que sobe ao TST (recurso de revista, AIRR) MANTÉM o número do TRT de origem, então consultar só o TRT nunca mostra a fase no TST. Se um índice falhar, `consultas[]` traz o erro dele e o outro resultado continua valendo. Sem nenhum resultado, inclui `ausencia` (mesmo diagnóstico de datajud_get_processo). O STF não está no DataJud. Para a timeline completa de uma instância, use datajud_movimentos com o `tribunal` dela.
| Parameter | Type | Required | Description |
|---|---|---|---|
| numero_processo | string | yes | |
| force_refresh | boolean | no |
datajud_acompanhar_processos
Acompanhamento processual em lote: para uma lista de números CNJ (até 3000), devolve os dados do processo e a ÚLTIMA MOVIMENTAÇÃO de cada um, na instância em que ele está agora (origem e tribunal superior, como datajud_localizar_processo). Retorna `itens[]` na ordem enviada, cada um com `ok`, `encontrado`, `processo` (classe, assuntos, data de ajuizamento, órgão julgador, instância atual) e `ultima_movimentacao` { data, descricao, codigo, orgao, orgao_da, tribunal, grau }. `orgao_da` diz se o órgão veio do próprio movimento ou do órgão julgador da instância. Número que falhou vem com `ok: false` e `erro` sem derrubar os outros; número sem resultado vem com `encontrado: false` e `ausencia` (mesmo diagnóstico de datajud_get_processo). `status: segredo_de_justica` (o tribunal ou o Diário marca sigilo) vem só com data e `aviso`, sem `processo` nem descrição: não repita a consulta. `encontrado: null` com `status` (`segredo_de_justica`, `migrado` ou `nao_encontrado` — este quando o portal não mostra o processo mas o Diário tem publicação dele, com `ultima_publicacao` {data}) NÃO é "não encontrado" e não conta em `nao_encontrados`. O tribunal é derivado do número. O STF não está no DataJud. A fonte é lenta (até ~45 s por número quando não está em cache); listas grandes levam minutos. LOTE (até 3000 números, ex.: a carteira inteira): acima de 4 números, ou com `assincrono: true`, a resposta vem na hora com { job_id, status } e a lista é processada numa fila do nosso lado, que respei…
| Parameter | Type | Required | Description |
|---|---|---|---|
| numeros_processo | array<string> | yes | |
| assincrono | boolean | no | |
| force_refresh | boolean | no | |
| max_idade_horas | number | no |
show_version
Show the current MCP platform and adapter versions.
No parameters.
report_bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
| Parameter | Type | Required | Description |
|---|---|---|---|
| message | string | yes | |
| context | string | no | |
| conversation | string | no |
connect
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.
No parameters.
toolkit_info
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
No parameters.
marketplace
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. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a…
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "search" | "describe" | "install" | "uninstall" | "subscribe" | "cancel" | "resume" | "report_bug" … | no | |
| query | string | no | |
| mcp_id | string | no | |
| limit | number | no | |
| tier_slug | string | no | |
| immediate | boolean | no | |
| cancel_reason | enum: "too_expensive" | "missing_features" | "switched_service" | "unused" | "customer_service" | "too_complex" | "low_quality" | "other" | no | |
| cancel_comment | string | no | |
| message | string | no | |
| report_context | string | no | |
| conversation | string | no | |
| request_name | string | no | |
| request_details | string | no | |
| tool_id | string | no | |
| arguments | string | no | |
| prompt_slug | string | no | |
| prompt_vars | string | no | |
| prompt_category | string | no | |
| prompt_tool | string | no | |
| prompt_title | string | no | |
| prompt_description | string | no | |
| prompt_body | string | no | |
| prompt_targets | array<enum: "claude" | "chatgpt" | "cursor" | "lovable"> | no |
authenticate
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 ` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: " " } after the user pastes, or with no args to get the link.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | no |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://api.mcp.ai/p_datajud. Formats taken from each client’s documentation.
claude mcp add --transport http datajud-mcp https://api.mcp.ai/p_datajudCustomize > Connectors > + Add > Add custom connector ; Name : datajud-mcp ; URL : https://api.mcp.ai/p_datajudchatgpt.com/plugins > + > Add custom MCP server ; Name : datajud-mcp ; Server URL : https://api.mcp.ai/p_datajud ; Create as a plugin{
"mcpServers": {
"datajud-mcp": {
"url": "https://api.mcp.ai/p_datajud"
}
}
}{
"mcpServers": {
"datajud-mcp": {
"type": "http",
"url": "https://api.mcp.ai/p_datajud",
"tools": ["*"]
}
}
}{
"mcpServers": {
"datajud-mcp": {
"url": "https://api.mcp.ai/p_datajud"
}
}
}{
"mcpServers": {
"datajud-mcp": {
"httpUrl": "https://api.mcp.ai/p_datajud"
}
}
}[mcp_servers.datajud-mcp]
url = "https://api.mcp.ai/p_datajud"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
DataJud (CNJ) · L’Atlas · Tested on
[DataJud (CNJ) — L’Atlas](https://latlas.dev/en/mcp/io.github.mcp-dir/datajud-mcp)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.