• STRUCTURE
  • PROVENANCE
  • VALIDATION
  • HUMAN

How to inspect dataset metadata with your AI

Connect the STF Dados Abertos MCP to your agent to audit file structures and data origins directly from the portal.

Ask AI about this page

Short answer

How can I check the metadata of STF portal files using AI?

Your AI uses the connector to pull package details and specific resource information from the STF portal. This lets you verify file formats, update frequencies, and data lineage before you start processing them. You'll get a clear view of the dataset structure through the following steps.

Data inspection outcomes

What you'll find

The AI scans the portal to give you these specific results.

STRUCTURE

File schema mapping

The AI identifies the specific files within a package. You get a clear map of what's inside each dataset.

PROVENANCE

Origin verification

The agent checks the metadata to confirm where the data came from and how it was collected.

VALIDATION

Integration readiness

The AI compares the file metadata against your requirements to see if the data is usable for your specific task.

HUMAN

Manual audit needed

The AI flags inconsistencies in the metadata that require you to check the original STF source manually.

The workflow

What your AI does when the request arrives.

The AI moves from high-level package info to specific file details.

  1. Locate the dataset

    The agent finds the specific data package you are interested in within the STF portal.

    get_package
  2. Identify file contents

    The AI looks inside the package to see all available files and their properties.

    get_package
  3. Extract file metadata

    The agent pulls the specific technical details for a single file, such as its format or size.

    get_resource
  4. Summarize findings

    The AI compiles the technical metadata into a readable summary for your review.

    get_resource

Try it

Copy these to start.

Use these prompts to begin your inspection.

Starting points

Replace the bracketed text with the actual names or IDs from the STF portal.

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
  • Get the metadata for the package named [Package Name] from the STF portal.

  • List all the resources available in the [Package ID] dataset.

  • Check the metadata for the specific file [Resource ID] to see its format.

  • Summarize the provenance and structure of the [Package Name] dataset.

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

Start here

Connect STF Dados Abertos once, then ask.

Just link the MCP to your client. Your credentials stay encrypted, and you can immediately start querying the portal.

Connect STF Dados Abertos to your AI

FAQ

How this task behaves

  • 01

    Can the AI download the actual data files?

    No. The AI can only read the metadata and structure of the files via the provided tools.

  • 02

    Can the AI change any data on the STF portal?

    No. This MCP is read-only. It can only fetch information from the portal.

  • 03

    Does the AI know the file size?

    Yes, the AI can retrieve file size information through the resource metadata.

  • 04

    Can I use this to upload my own datasets to STF?

    No. The tools only allow for getting package and resource information.

  • 05

    Will the AI tell me if a file is corrupted?

    The AI can only report what is written in the metadata; it cannot perform a deep binary integrity check on the files themselves.

  • 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