CNJ (Datajud API Pública) MCP Server with 3 Tools for Claude, Cursor, and AI Agents
Access the Brazilian National Council of Justice (CNJ) Datajud API to query judicial processes, procedural classes, and court organs across Brazil. Vinkius routes your AI agents directly to CNJ (Datajud API Pública) through a governed connection. 3 tools ready to use with Claude, ChatGPT, Cursor, or any AI agent — no hosting, no setup, connect in 30 seconds.
Ask AI about this server
Compatible with every major AI agent and IDE

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
What is the CNJ Datajud MCP Server?
The CNJ Datajud MCP Server routes AI agents like Claude, ChatGPT, and Cursor directly to CNJ Datajud via 3 tools. Access the Brazilian National Council of Justice (CNJ) Datajud API to query judicial processes, procedural classes, and court organs across Brazil. Powered by Vinkius — your credentials stay on your side of the connection, every request is auditable. Connect in under 2 minutes.
Built-in capabilities (3)
Tools for your AI Agents to operate CNJ Datajud
Ask your AI agent "Search for process number 50012345620234036100 in the TRF3 public API." and get the answer without opening a single dashboard. With 3 tools connected to real CNJ Datajud data, your agents reason over live information, cross-reference it with other MCP servers, and deliver insights you would spend hours assembling manually.
Works with Claude, ChatGPT, Cursor, and any MCP-compatible client. Powered by Vinkius — your credentials never touch the AI model, every request is auditable. Connect in under two minutes.
Why teams choose Vinkius
One subscription gives you the infrastructure to connect your AI agents to thousands of MCP servers — and deploy your own to the Vinkius Edge. Your credentials stay yours. Your data flows directly between your agent and the API. DLP blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade routing and governance, zero maintenance.
Build your own MCP Server with our secure development framework →The CNJ (Datajud API Pública) App Connector works with every AI agent you already use
…and any MCP-compatible client


















Use all 3 CNJ (Datajud API Pública) tools with your AI agents right now
Vinkius routes your AI agents to CNJ (Datajud API Pública) through a governed proxy. Beyond a simple connection, you get full visibility into every action your agents perform, with enterprise-grade security and up to 60% savings on AI costs.
Search process by number on CNJ (Datajud API Pública)
g., api_publica_trf1, api_publica_tjsp). Search for a specific judicial process by its CNJ number
Search processes advanced on CNJ (Datajud API Pública)
Execute an advanced Elasticsearch query against the Datajud API
Search processes by class and organ on CNJ (Datajud API Pública)
Search processes by Procedural Class and Court Organ
What the CNJ (Datajud API Pública) MCP Server unlocks
Connect to the CNJ Datajud Public API to perform deep searches across the Brazilian judicial system. This server allows AI agents to retrieve detailed metadata about lawsuits, court movements, and procedural history directly from the official national database.
What you can do
- Search by CNJ Number — Retrieve full details of a specific lawsuit using its unique unformatted numbering and the target court alias.
- Class & Organ Filtering — Find processes categorized by their Procedural Class (TPU) and specific Court Organ codes.
- Advanced Elasticsearch Queries — Execute complex searches using the full power of Elasticsearch Query DSL to filter by dates, parties, or specific metadata fields.
- Court Coverage — Access data from various courts including TRFs, TJs, TST, and more via their respective API aliases.
How it works
1. Subscribe to this server
2. Enter your CNJ Datajud API Key
3. Start querying the Brazilian judicial database from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Legal Professionals — Quickly check the status and history of lawsuits without manual portal navigation.
- Compliance Teams — Automate background checks and legal risk assessments using official government data.
- Researchers & Analysts — Perform bulk queries and advanced data extraction for legal statistics and trends.
Frequently asked questions about the CNJ (Datajud API Pública) MCP Server
How do I find a process if I only have the CNJ number?
Use the search_process_by_number tool. You will need the unformatted digits of the process and the specific court alias (e.g., api_publica_tjsp for São Paulo State Court).
Can I list multiple processes from a specific court organ?
Yes, use search_processes_by_class_and_organ. Provide the court alias, the procedural class code, and the organ code. You can also control the result size and use pagination.
What is the 'Advanced Search' tool for?
The search_processes_advanced tool allows you to send a raw Elasticsearch query body. This is useful for complex filtering that isn't covered by standard search tools, such as filtering by specific dates or nested metadata.
More in this category

MailerCheck
5 toolsVerify and validate email addresses in real-time or batch via the MailerCheck REST API.

Helius (Solana)
14 toolsAccess high-performance Solana data—fetch assets, balances, transaction history, and priority fee estimates directly through your AI agent.

LlamaCloud (Managed RAG & Parsing)
6 toolsManage RAG pipelines and document parsing via LlamaCloud — orchestrate LlamaParse jobs and audit data ingestion.

IMDB API (Unofficial)
4 toolsSearch movies and TV shows — audit ratings, cast, and metadata via IA.
You might also like

Brilliant Made
10 toolsManage your corporate swag via Brilliant Made — track orders, browse products, and monitor inventory directly from any AI agent.

Lyko
12 toolsAccess European public transit via Lyko — plan intermodal trips, check departures, search stops, and monitor transit operators from any AI agent.

Cloze
9 toolsSmart CRM that automatically tracks your interactions and provides AI-powered insights.

VivifyScrum
12 toolsManage agile projects with Scrum and Kanban boards, sprint planning, and backlog grooming for software development teams.
We built the connector to CNJ (Datajud API Pública). Now put your agents to work. Fully governed.
Vinkius is the AI Gateway with managed hosting. Stop building connectors. Every connection runs inside eight layers of security.
Hosted, sandboxed, and live on AWS. You don't provision anything. You don't maintain anything. You connect.
Every tool call, every token, every response. Logged and auditable. Data flows direct from CNJ (Datajud API Pública) to your agent. Nothing is stored on our side. Ever.
Eight governance layers on every request. Sensitive data redacted before it reaches the model. Kill switch if anything goes sideways. Always on.
