• DISCOVERY
  • DETAILS
  • ANALYSIS
  • HUMAN

How to find legal datasets with your AI client

Connect the STF Dados Abertos MCP to your AI client. Once connected, your agent can pull specific datasets from the STF portal using simple keyword searches.

Ask AI about this page

Short answer

How can I find legal datasets with my AI?

Your AI uses keyword searches to scan the STF portal for administrative or judicial datasets. It identifies the right packages and pulls the specific data you need for your research. You'll get a list of available datasets and the ability to inspect their contents immediately.

The results you get

Where your research begins

The AI handles the portal navigation so you can focus on the data.

DISCOVERY

Targeted dataset lists

The AI searches for specific legal topics and returns a list of matching data packages available on the STF portal.

DETAILS

Package metadata

Your agent pulls the specific details and descriptions for any dataset it finds, so you know exactly what the data contains.

ANALYSIS

Ready-to-use research data

Once the AI finds the right package, it provides the information needed to start your legal or administrative analysis.

HUMAN

Manual verification

You decide which datasets are relevant to your specific research goals after the AI presents the findings.

The workflow

What your AI does when you ask for data.

The AI acts as a bridge between your chat interface and the STF open data portal.

  1. Search the portal

    The AI takes your keywords and looks for matching data packages within the STF system.

    search_packages
  2. List available data

    It compiles a list of all packages that match your search criteria.

    list_packages
  3. Inspect package details

    The AI looks into a specific package to see what information it actually holds.

    get_package
  4. Present findings

    Your agent summarizes the available datasets so you can pick the one you want to work with.

    get_package

Try it

Copy these to start.

Use these prompts to begin your search.

Starting points

Swap out the bracketed terms for the specific legal topics or administrative areas you are researching.

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 portal for datasets related to [administrative law].

  • Find all available data packages about [judicial decisions].

  • List the datasets available in the STF portal regarding [specific court topics].

  • Get the details for the [name of a specific dataset] package.

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

Start here

Connect STF Dados Abertos once, then ask.

One click connects this MCP to your AI client. Your credentials stay encrypted and secure, and you can start searching the STF portal immediately.

Connect STF Dados Abertos to your AI

FAQ

How this task behaves

  • 01

    Can the AI download the actual files directly?

    No. The AI uses these tools to find and describe the datasets, but you must handle the actual file downloads yourself.

  • 02

    Can the AI change any data on the STF portal?

    No. This MCP only has read access to search and retrieve information from the portal.

  • 03

    Does the AI search all Brazilian court data?

    No. This specific MCP is limited to the STF (Supremo Tribunal Federal) open data portal.

  • 04

    Can I ask for datasets from a specific year?

    Yes, if you include the year in your keyword search, the AI will use that to filter the packages it finds.

  • 05

    What happens if no datasets match my keywords?

    The AI will tell you that no matching packages were found in the STF portal.

  • 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