DataJud (CNJ)

io.github.mcp-dir由 GitHub 帳號 mcp-dir 發布v0.1.1更新於 Oct 24, 2026

Public lookup of Brazilian court cases (metadata + docket) via the CNJ/DataJud API. Free, no login.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶

概覽

AI 產生的概覽

讓助理依 CNJ 編號、法院、類別、主題與案卷動態查詢巴西公開司法案件。

可以做什麼
連接 CNJ/DataJud 公開 API,取得巴西法院案件的詮釋資料與案卷動態。工具包括依 CNJ 編號與法院查詢案件、依類別、審判機關或主題分頁檢索、查詢動態時間軸、送出原始 Elasticsearch 查詢的進階入口,以及只憑編號判斷案件目前所在審級(包括是否已到 TST 或 STJ)。唯讀。
適用情境
適合需要回答巴西公開訴訟問題的情境:依 CNJ 編號查找案件、查看最新案卷動態、依類別或主題檢索案件,或判斷案件目前審級。不適用於保密或不公開的案件。
執行需求
透過 HTTP 存取的遠端 MCP 端點;未聲明需要登入、憑證或 API 金鑰。適用於任何支援 MCP over HTTP 的用戶端。需要網路存取。
安裝前請注意
唯讀,但回傳的案件資料會送往你所連接的 LLM 主機,說明中稱其為不受提供方控制的次級處理者,建議使用可關閉訓練的方案。僅回傳 DataJud 中公開的紀錄,保密案件不會出現。託管伺服器本身為專有軟體。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DataJud (CNJ),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.mcp-dir%2Fdatajud-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "datajud-cnj": {
      "type": "http",
      "url": "https://api.mcp.ai/p_datajud"
    }
  }
}

README

該儲存庫沒有 README。

工具

11

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.

輸入參數tribunal必填numero_processo必填

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á.

輸入參數tribunal必填numero_processo必填

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.

輸入參數fromsizesortquery必填_sourcetribunal必填search_after

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.

輸入參數numero_processo必填

show_version

Show Version

Show the current MCP platform and adapter versions.

無需輸入參數。

report_bug

Report Bug

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

輸入參數contextmessage必填conversation

connect

Connection Status

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

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.

無需輸入參數。

marketplace

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 shareable mcp.ai/p/<slug> link that opens without login.

輸入參數limitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool另有 11 個

authenticate

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 <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.

輸入參數token

版本歷史

2
  1. v0.1.1最新Oct 7, 2026
  2. v0.1.0Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。