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

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

Pull live Brazilian court records directly into Windsurf and let Cascade chain deep legal searches using this MCP Server.

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
Windsurf

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

Create your Vinkius account to connect CNJ (Datajud API Pública) to Windsurf 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

Pull specific case details inside Windsurf

The `search_process_by_number` tool lets your agent fetch the exact status, history, and parties of any Brazilian lawsuit using its standard CNJ format. You just feed Cascade a process number, and it targets the right regional court API, like the TJSP or TRF1, to pull the raw record. Cascade doesn't stop at just fetching the data. Because it chains actions, it can take the output from this query, extract the legal representatives, and immediately start drafting a case summary or court response in your editor.

Build complex legal reports using an MCP Server

The `search_processes_advanced` tool exposes the full power of Elasticsearch queries against the Datajud database directly to your editor. Instead of writing raw JSON queries by hand, you describe what you need to Cascade, and it structures the search parameters for you. This setup lets you discover patterns across thousands of filings. Cascade can analyze the returns, group them by judge or decision type, and generate clean markdown reports right in your workspace.

Classify judicial trends automatically

The `search_processes_by_class_and_organ` tool queries cases based on their specific procedural class and the court organ overseeing them. It gives your AI client the ability to scan entire jurisdictions for specific types of litigation. You can tell Cascade to monitor a specific court organ for new filings in a particular class. It runs the query, compares it to your local files, and highlights new legal risks or precedents without you writing any custom scraper code.

Setup guide

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

Prerequisites

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

    Open MCP configuration

    Click the Cascade assistant icon in the sidebar, then click the hammer icon (🔨) at the top of the panel. Select "Configure" to open ~/.codeium/windsurf/mcp_config.json.

  2. 2

    Add the CNJ (Datajud API Pública) MCP

    Paste the JSON snippet shown on the right into the mcpServers object. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com.

  3. 3

    Refresh MCPs

    Go back to the hammer icon (🔨) in Cascade and click "Refresh". Windsurf will detect the new server. No full restart is needed — the connection is hot-reloaded.

  4. 4

    Verify in Cascade

    Start a new Cascade conversation and ask something like "Show my CNJ (Datajud API Pública) payment history." If connected, Cascade will call the CNJ (Datajud API Pública) tools directly. You will see a green dot next to the server name in the MCP panel.

mcp_config.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 Windsurf

Add the MCP Server configuration to your `~/.codeium/windsurf/mcp_config.json` file under the `mcpServers` key, or use the Cascade settings UI. Once you click refresh, Cascade instantly registers the three search tools and can use them in any conversation.
Yes. Cascade reads your environment variables or configuration blocks to pass the correct credentials, such as those for TRF1 or TJSP, when calling the tools. This ensures your queries don't get blocked by the individual court gateways.
When you ask for a case history, Cascade uses the primary search tool first. If it needs more context, it automatically triggers related queries to find associated cases in the same court without waiting for your next prompt.
You can. The advanced query tool lets you run broad Elasticsearch filters across different regional databases, and the agent compiles the results into a single view.
Vinkius hosts the connection in a secure, ephemeral sandbox that never stores the Brazilian judicial process data or court credentials. All search queries pass directly to the public Datajud API and return straight to your local Windsurf session.

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.