About DataJud (CNJ)
DataJud (CNJ) is an MCP server for legal professionals and AI agents to look up public Brazilian court cases through the CNJ/DataJud API. It provides case metadata and docket events, with search filters, update checks, and current-court-level lookup.
Key features
- 01Retrieve case metadata and docket events
- 02Search by class, court, and subject
- 03Detect new docket events
- 04Locate the case's current court level
- 05Read-only access to public cases
Use cases
- 01Look up a case by CNJ number
- 02Check a case timeline for updates
- 03Find cases by class and subject
- 04Determine whether a case reached a higher court
MCP support
The MCP server connects over HTTP to the public CNJ/DataJud API and exposes tools for case lookup, docket searches, and court-level location.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://api.mcp.ai/p_datajudclaude mcp add --transport http dir-datajud https://api.mcp.ai/p_datajud{"mcpServers":{"dir-datajud":{"type":"http","url":"https://api.mcp.ai/p_datajud"}}}Open in Cursor{"servers":{"dir-datajud":{"type":"http","url":"https://api.mcp.ai/p_datajud"}}}Open in VS Code{"mcpServers":{"dir-datajud":{"type":"http","url":"https://api.mcp.ai/p_datajud"}}}{"mcpServers":{"dir-datajud":{"serverUrl":"https://api.mcp.ai/p_datajud"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
11| Parameter | Type | Required | Description |
|---|---|---|---|
| tribunal | enum | Yes | tst | stj | tse | stm | trf1 | trf2 | trf3 | trf4 | trf5 | trf6 | tjac | tjal | tjam | tjap | tjba | tjce | tjdft | tjes | tjgo | tjma | tjmg | tjms | tjmt | tjpa | tjpb | tjpe | tjpi | tjpr | tjrj | tjrn | tjro | tjrr | tjrs | tjsc | tjse | tjsp | tjto | trt1 | trt2 | trt3 | trt4 | trt5 | trt6 | trt7 | trt8 | trt9 | trt10 | trt11 | trt12 | trt13 | trt14 | trt15 | trt16 | trt17 | trt18 | trt19 | trt20 | trt21 | trt22 | trt23 | trt24 | tre-ac | tre-al | tre-am | tre-ap | tre-ba | tre-ce | tre-df | tre-es | tre-go | tre-ma | tre-mg | tre-ms | tre-mt | tre-pa | tre-pb | tre-pe | tre-pi | tre-pr | tre-rj | tre-rn | tre-ro | tre-rr | tre-rs | tre-sc | tre-se | tre-sp | tre-to | tjmmg | tjmrs | tjmsp |
| numero_processo | string | Yes |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.