• DATA
  • ANALYSIS
  • REPORTS
  • HUMAN

How to query government datasets with your agent

Connect your agent to the Maranhão DataStore to pull live public data using SQL. Once connected, you can ask for specific records without manual exports.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I query Maranhão government data with my AI?

Your agent writes and runs SQL queries against the Maranhão DataStore to find specific records. You get structured data back immediately. You'll see how the process works below.

Where the data goes

What you get from your queries

Your agent handles the database logic so you can focus on the information.

DATA

Direct SQL extraction

Your agent pulls specific rows from the Maranhão DataStore. You get the exact records you asked for.

ANALYSIS

Instant data summaries

Your agent can summarize trends or count occurrences within the data it pulled.

REPORTS

Structured data output

Your agent turns database rows into clean tables you can use in your own work.

HUMAN

Manual validation

You must check the SQL logic and verify that the results match your research needs.

The workflow

What your agent does when you ask for data.

Your agent acts as the bridge between your questions and the SQL database.

  1. Translate intent

    Your agent interprets your request for government records and converts it into a valid SQL query.

    search_datastore_sql
  2. Execute query

    Your agent sends the command to the Maranhão DataStore to find the matching records.

    search_datastore_sql
  3. Format results

    Your agent takes the raw database output and organizes it into a readable format for your chat.

    search_datastore_sql
  4. Refine search

    If the data isn't right, you tell your agent to adjust the filters or add more conditions.

    search_datastore_sql

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Maranhão Open Data tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin interacting with the Maranhão DataStore.

Starting points

Swap the bracketed text for the specific table names or columns you need from the Maranhão datasets.

Maranhão Open Data Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_ltM6hp390inTajhBbBQzzrjnzpsG4dX6a1IKEuJL/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, Maranhão Open Data capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "maranhao-open-data-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ltM6hp390inTajhBbBQzzrjnzpsG4dX6a1IKEuJL/mcp"
    }
  }
}
Copy into chat04
  • 01

    Search the Maranhão DataStore for all records in the [table_name] table.

  • 02

    Find the top 10 entries in [table_name] where the [column_name] is greater than 100.

  • 03

    Run a SQL query to count how many rows in [table_name] have a value of 'active' in the [status_column].

  • 04

    List the most recent 5 entries from the [table_name] dataset.

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

Start here

Connect Maranhão Open Data once, then ask.

One click connects your client. Your login stays encrypted, and you can start querying immediately.

Connect Maranhão Open Data to your agent

FAQ

How this task behaves

  • 01

    Can your agent change or delete data in the government database?

    No. The tool only allows for searching and reading data via SQL. It cannot modify or delete any records.

  • 02

    Do I need to know SQL to use this?

    No. You can ask questions in plain English, and your agent will write the SQL code for you.

  • 03

    Can your agent export these results directly to a CSV file?

    No. Your agent can present the data in a table within your chat, but you must manually copy it if you want a file.

  • 04

    What happens if my SQL query is wrong?

    If your agent generates a query that the database rejects, it will see the error and try to fix the syntax.

  • 05

    Can I query any dataset in Brazil?

    No. This connector only provides access to the datasets hosted in the Maranhão DataStore.

  • More questions about Maranhão Open Data? The Connector page answers them. See everything the Maranhão Open Data Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Maranhão Open Data to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Maranhão Open Data plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Maranhão Open Data to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.