Vinkius
CNJ Datajud API

CNJ Datajud API MCP for AI. Query Brazilian Judicial Records Directly

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

CNJ (Datajud API Pública) MCP on Cursor AI Code EditorCNJ (Datajud API Pública) MCP on Claude Desktop AppCNJ (Datajud API Pública) MCP on OpenAI Agents SDKCNJ (Datajud API Pública) MCP on Visual Studio CodeCNJ (Datajud API Pública) MCP on GitHub Copilot AI AgentCNJ (Datajud API Pública) MCP on Google Gemini AICNJ (Datajud API Pública) MCP on Lovable AI DevelopmentCNJ (Datajud API Pública) MCP on Mistral AI AgentsCNJ (Datajud API Pública) MCP on Amazon AWS Bedrock

Connect to your AI in seconds.

CNJ Datajud API provides direct access to Brazil's national judicial records, letting you query lawsuit details and procedural history from the official government database.

You can retrieve full case metadata using a unique CNJ number, narrow results by specific legal categories or court offices, or run complex searches across date ranges and parties.

It’s essential for legal professionals needing deep visibility into the Brazilian justice system without manual portal navigation.

What your AI can do

Search processes advanced

Runs flexible, complex queries against the Datajud API by specifying various filtering parameters like dates or parties.

Search processes by class and organ

Searches for processes that match a specific legal procedural class and court organ code simultaneously.

Search process by number

Retrieves the full details of a specific lawsuit using only its unique CNJ case number.

Check Status by Number

Find all detailed information about a single lawsuit using its unique CNJ number.

Filter by Legal Type and Court Office

Limit your search results to processes that match specific procedural classes or court organ codes.

Run Complex Data Searches

Execute advanced queries across the entire database, filtering by dates, parties, or other metadata fields.

Included with Plan

Waiting for input…

AI Agent

CNJ Datajud API: 3 Tools

These tools allow you to perform targeted queries across the entire Brazilian judicial database using specific identifiers and advanced filtering methods.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using CNJ (Datajud API Pública) on Vinkius

Search Processes Advanced

Runs flexible, complex queries against the Datajud API by specifying various filtering parameters like dates or parties.

Search Processes By Class And Organ

Searches for processes that match a specific legal procedural class and court organ...

Search Process By Number

Retrieves the full details of a specific lawsuit using only its unique CNJ case...

Security and governance baked right in.

Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.

Claude AI

Claude AI

1

Open Claude Settings

Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.

2

Add Custom Connector

Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:

https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials.

3

Start a conversation

Open a new chat. The CNJ Datajud API integration is available immediately — no restart needed.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with CNJ (Datajud API Pública), then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 5,100+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week
CNJ Datajud API MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by CNJ Datajud. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This connection provides 3 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.

The Pain of Manual Judicial Research

Today, finding a lawsuit's history means jumping between multiple government sites, logging in with different credentials, and manually cross-referencing status updates. You spend hours just tracking down the right case movement or determining if the records belong to a specific court office.

With this MCP, your agent handles the complexity. You tell it what you need—whether by number, class, or date range—and it pulls the official metadata directly. The result is clean, structured data, ready for use.

Direct Access with CNJ Datajud API

You skip logging into multiple court portals and manually cross-referencing records from various judicial bodies. You don't have to worry about which specific API alias is needed for the TRF or TST.

The MCP standardizes this process. It lets you query every required detail—from procedural class codes to complex date filters—in one single, actionable step.

What your AI can actually do with this

This MCP connects your AI client directly to the Brazilian National Council of Justice (CNJ) Datajud Public API. You can pull detailed records on lawsuits, court movements, and procedural history that used to require navigating multiple government websites. It gives you a single point of access for deep legal data across various courts—TRFs, TJs, and more.

Instead of manually filling out forms or searching through dated portals, your agent executes complex queries using official parameters. Need to know the status of a specific case? Use its unique number. Want to check all cases related to a particular type of law or court office? Filter by those codes.

If you need something really detailed, like finding processes that changed hands over the last month, you can run advanced searches.

When your AI client connects through Vinkius, it handles the connection and authentication so you just focus on the query. It’s how you get accurate legal data quickly for compliance checks, research analysis, or simply updating a client on a case status.

Built · Hosted · Managed by Vinkius CNJ Datajud API - Query Brazilian Law Records
Server ID 019e3879-ff35-7090-ace1-ab7a08b8869b
Vinkius Inspector
Compliance Grade F
Score 7.21/100
Vinkius Inspector Badge — Score 7.21/100

Questions you might have

How do I find a case status using search_process_by_number? +

You provide the unique CNJ number to search_process_by_number. The MCP returns all associated metadata, including the current procedural class and court assignment.

Can I run a complex date search using search_processes_advanced? +

Yes. search_processes_advanced is designed for this. You input specific start/end dates along with other filters like parties to pinpoint records that changed during that window.

Do I need both class and organ codes? (Using search_processes_by_class_and_organ) +

You use search_processes_by_class_and_organ when you know two specific things: the procedural type AND the court office. It narrows the scope efficiently.

Is this MCP for private company records? +

No. This MCP connects exclusively to the public CNJ Datajud API, meaning it only handles official governmental judicial processes in Brazil.

What credentials do I need before using `search_process_by_number`? +

You must provide a valid CNJ Datajud API Key for authentication. Vinkius handles the secure storage of this key, so you just need to supply your unique credential when setting up the connection.

If I use `search_processes_advanced` and don't get results, what might be wrong? +

It usually means no processes match your specific criteria. Double-check that all date ranges and metadata filters are correctly formatted according to the Datajud API documentation.

Does `search_processes_by_class_and_organ` require unique codes for every query? +

No, you don't need a unique code set. You can run searches that cover broad ranges or multiple classes and organs in a single request.

How is the data structured when I use `search_processes_advanced`? +

The output provides detailed JSON metadata, including procedural history, parties involved, and current judicial status. It's designed to give you a complete picture of the lawsuit.

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.

Built & Managed by Vinkius 30s setup 3 tools

We've already built the connector for CNJ Datajud API. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 3 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.