4,500+ servers built on MCP Fusion
Vinkius
CNJ (Datajud API Pública) logo
Vinkius
Cursor logo

How to Use the CNJ (Datajud API Pública) MCP in Cursor

Code with live Brazilian legal data using the CNJ (Datajud API Pública) MCP Server inside Cursor.

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 Editor MCP Client CNJ (Datajud API Pública) MCP on Claude Desktop App MCP Integration CNJ (Datajud API Pública) MCP on OpenAI Agents SDK MCP Compatible CNJ (Datajud API Pública) MCP on Visual Studio Code MCP Extension Client CNJ (Datajud API Pública) MCP on GitHub Copilot AI Agent MCP Integration CNJ (Datajud API Pública) MCP on Google Gemini AI MCP Integration CNJ (Datajud API Pública) MCP on Lovable AI Development MCP Client CNJ (Datajud API Pública) MCP on Mistral AI Agents MCP Compatible CNJ (Datajud API Pública) MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Cursor

Connect CNJ (Datajud API Pública) MCP to Cursor

Create your Vinkius account to connect CNJ (Datajud API Pública) to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Generate code with real court data using this MCP Server

The `search_process_by_number` tool lets Cursor fetch actual Brazilian court records while you write your legal tech applications. Instead of mock data, your editor pulls live JSON payloads directly into your active workspace. Your agent reads the live structure of the judicial response to write accurate parsers. This eliminates the guesswork of coding against outdated API documentation.

Run advanced Elasticsearch queries in Cursor Agent mode

The `search_processes_advanced` tool connects Cursor directly to the Datajud search cluster. You ask the editor to find specific case patterns, and it writes and executes the query for you. The results inject directly into your open files. You can build database seeds or test suites using real Brazilian lawsuit data in seconds.

Classify litigation by court organ

The `search_processes_by_class_and_organ` tool retrieves cases matching specific CNJ tables of procedural classes. You can target regional federal courts or state tribunals with precise codes. This allows Cursor to help you map out data pipelines for legal analytics. You get clean, categorized responses that match the official Brazilian judicial branch standards.

Setup guide

Set up CNJ (Datajud API Pública) MCP in Cursor

Prerequisites

  • Cursor installed (macOS, Windows, or Linux)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Open MCP Settings

    Go to Cursor Settings → MCP or open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and search for "MCP: Add Server".

  2. 2

    Add the CNJ (Datajud API Pública) MCP

    Cursor will create or open .cursor/mcp.json in your project root. Paste the JSON snippet on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com.

  3. 3

    Enable Agent mode

    Open Composer (Cmd+I / Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode.

  4. 4

    Verify the connection

    Ask Cursor something like "List my recent CNJ (Datajud API Pública) transactions." If the MCP tools are loaded correctly, Cursor will call the CNJ (Datajud API Pública) tools automatically. You can also check Settings → MCP for a green status indicator.

.cursor/mcp.json
{
  "mcpServers": {
    "cnj-datajud-api-publica-mcp": {
      "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    }
  }
}

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.

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 Cursor

Create a `.cursor/mcp.json` file in your project root. Paste the server configuration from your Vinkius dashboard to activate this MCP toolset and enable Agent mode in your chat panel.
Yes. When you use Agent mode, the editor calls the tools to retrieve court records and uses that context to write or refactor your code.
Yes. The MCP server runs through your local Cursor configuration, allowing your AI agent to feed live API responses directly into your local files and test runners.
The tool returns the raw error payload from the Brazilian government API. Cursor reads this error and automatically adjusts its strategy or fixes your query parameters.
No. Your CNJ numbers and query payloads pass through a zero-trust, isolated connection. Vinkius handles the authentication tokens securely without exposing them to the editor or saving your search history.

Start using the CNJ (Datajud API Pública) MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 3 tools

We've already built the connector for CNJ (Datajud API Pública). 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.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
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.