• DATA
  • SPEED
  • ANALYSIS
  • HUMAN

How to query specific judicial data rows with your AI

Connect the STF Dados Abertos MCP to your agent to pull precise records from the STF DataStore. You stop downloading huge files and start asking for exactly what you need.

Ask AI about this page

Short answer

How can I query specific judicial data rows with my AI?

Your agent uses the search_datastore tool to scan the STF DataStore for specific parameters you define. You get the exact rows you want without ever touching a CSV file. This allows you to filter by case numbers, dates, or specific legal details instantly.

The results you get

What your queries produce

The AI handles the heavy lifting of searching the database so you can focus on the results.

DATA

Targeted row extraction

The AI identifies and pulls only the specific records that match your criteria. You avoid the noise of irrelevant data.

SPEED

Instant filtering

Instead of waiting for large files to download, your agent finds the data points in seconds. It acts as a direct interface to the STF DataStore.

ANALYSIS

Immediate context

Once the data is pulled, your agent can immediately summarize the findings or compare them to other cases. The data is ready for work right away.

HUMAN

Legal verification

You must review the extracted data to ensure it meets your legal requirements. The AI provides the data, but you provide the final judgment.

The workflow

What your AI does when you ask for data.

The process moves from a plain English question to a precise data pull.

  1. Interpret the request

    Your agent reads your question to figure out which judicial parameters you are looking for, such as case IDs or specific dates.

    search_datastore
  2. Execute the search

    The agent calls the search tool to scan the STF DataStore for matches based on your specific filters.

    search_datastore
  3. Isolate the rows

    The tool returns only the relevant data points, stripping away the bulk of the unused database entries.

    search_datastore
  4. Present the findings

    Your agent formats the retrieved data into a readable list or table for you to inspect.

    search_datastore

Try it

Copy these to start.

Use these prompts to begin querying the STF DataStore.

Starting points

Replace the bracketed info with the specific case details or dates you are looking for.

STF Dados Abertos Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_AC7RGbZPStvfzluvZP0epIDDD0fpQpJMogqCxxpe/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — STF Dados Abertos capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "stf-dados-abertos-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_AC7RGbZPStvfzluvZP0epIDDD0fpQpJMogqCxxpe/mcp"
    }
  }
}
Copy into chat04
  • Search the STF DataStore for all cases involving [specific party name].

  • Find the data rows for case number [insert number] in the STF database.

  • List all judicial records from [specific date range] related to [legal topic].

  • Query the datastore for any recent decisions regarding [specific legal concept].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect STF Dados Abertos once, then ask.

Just click to connect. Your credentials stay encrypted, and you can start querying immediately in your preferred client.

Connect STF Dados Abertos to your AI

FAQ

How this task behaves

  • 01

    Can the AI change any data in the STF DataStore?

    No. The tool only allows for searching and reading data. It cannot modify, delete, or add any records to the official database.

  • 02

    Do I need to download CSV files to analyze the data?

    No. The AI pulls only the specific rows you ask for, so you don't have to deal with massive file downloads.

  • 03

    Can the AI perform complex SQL joins?

    The AI translates your natural language into the necessary search parameters for the search_datastore tool. It handles the logic for you.

  • 04

    Does the AI decide if a case is valid?

    No. The AI only retrieves the data. You are responsible for interpreting the legal meaning and validity of the results.

  • 05

    Can I use this to search for data outside of the STF?

    No. This MCP is specifically built to interface with the STF DataStore.

  • More questions about STF Dados Abertos? The Connector page answers them. See everything the STF Dados Abertos Connector can do

Connect STF Dados Abertos to Claude, Cursor, ChatGPT & more