How to Use the CNJ (Datajud API Pública) MCP in Claude
Get live Brazilian court records directly inside Claude Desktop without leaving your chat window.
Works with every AI agent you already use
…and any MCP-compatible client
Connect CNJ (Datajud API Pública) MCP to Claude Desktop
Create your Vinkius account to connect CNJ (Datajud API Pública) to Claude Desktop and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Pull Brazilian lawsuit records straight into your workspace
The `search_process_by_number` tool pulls active Brazilian judicial records from the Datajud database directly into your chat. You paste a standard CNJ case number, and your agent fetches the current status, court location, and filing history. This setup runs locally on your machine via stdio transport. You get raw case details instantly, bypassing the tedious manual captcha screens on the official government portals.
Write raw Elasticsearch queries using this MCP Server
The `search_processes_advanced` tool exposes the full power of the Datajud Elasticsearch endpoint to your agent. You can run complex filters across multiple fields to pinpoint specific litigation patterns. Your AI client constructs the query payload, executes it, and displays the results in your chat interface. This lets you analyze thousands of Brazilian court filings using natural language commands.
Filter cases by class and court organ
The `search_processes_by_class_and_organ` tool filters legal cases by their specific judicial classification and the court handling them, exposing this data directly to your local MCP setup. You specify the target court like TRF1 or TJSP alongside the procedural class code. This capability helps legal teams map out judicial trends across different regions. You get clean, structured data back without writing custom scraping scripts.
Set up CNJ (Datajud API Pública) MCP in Claude Web or Desktop
- 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]/mcpReplace[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 Pública) MCP tools are available immediately — no restart needed.
Endpoint URL
https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp No configuration file needed — paste the URL directly in the Claude web interface.
Available on Free (1 connector), Pro, Max, Team, and Enterprise plans.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about CNJ (Datajud API Pública) MCP in Claude Desktop
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the CNJ (Datajud API Pública) MCP today
We host it, we monitor it, we maintain it. You just paste one token.