# IBESTAT MCP for AI Agents AI Agent Connect

> IBESTAT (Estadística Illes Balears) MCP. Access official statistical data from the Balearic Islands directly through your AI agent. Query regional operations, find specific tables, and pull raw datasets in JSON, CSV, or XML for your reports and research.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_5FyHl1m4bRYMhkj67btFIwRGpztP5bJS43dXaijx/ai-agent-connect
- **Tags:** statistics, regional-data, public-records, demographics, economic-data, spain

## Description

This Connector for Balearic Islands statistics connects your AI agent to the official public data catalog of the region. Instead of hunting through government websites and manually downloading individual files, you can just ask your agent to find specific regional data. It handles everything from listing broad statistical operations to pulling the exact figures for specific tables. If you're building a dashboard or writing a research paper on Balearic tourism, demographics, or economic indicators, this puts the raw data in your hands without the manual friction. It's one of the many tools available in the Vinkius catalog designed to turn public records into actionable insights. You get the context behind the numbers too, so you know exactly what a specific metric means before you include it in your work. Whether you need a quick snapshot of population trends or a deep dive into historical economic figures, this connection allows your agent to do the heavy lifting of navigation and data retrieval. You get the figures in the format you need, like JSON or CSV, ready for your next step. This means you're no longer limited by what you can find in a single search result; you have the entire institute's catalog at your fingertips. It turns a process that used to take hours of clicking and searching into a single conversation with your agent.

## Tools

### get_data
Pulls specific statistical figures from a resource in JSON, CSV, or XML. This helps you get the exact numbers you need for your analysis without manual searching.

### list_resources
Lists the specific tables and datasets tied to a given operation ID. This lets you see every individual data point available for a specific study.

### get_metadata
Retrieves the definitions and structural context for a statistical operation. Use this to make sure you understand exactly what a specific metric represents.

### list_operations
Shows all available statistical studies and operations in the catalog. It's the best way to see the full scope of data available in the region.

## Prompt Examples

**Prompt:** 
```
What are the main statistical operations available for the Balearic Islands?
```

**Response:** 
```
I've pulled the list of statistical operations from IBESTAT. Here are the primary categories available:

| Category | Description |
| :--- | :--- |
| **Tourism** | Visitor numbers, occupancy, and regional impact |
| **Economy** | GDP, employment, and industrial indicators |
| **Demographics** | Population trends and migration data |

Which area would you like to explore further?
```

**Prompt:** 
```
Find the tables for the operation with ID '0201'.
```

**Response:** 
```
For operation **0201**, I found the following resources available:

*   Table 1: Annual Growth
*   Table 2: Regional Distribution
*   Table 3: Historical Series

Would you like me to fetch the raw data for one of these tables?
```

**Prompt:** 
```
Get the growth data for resource 'T1' in JSON.
```

**Response:** 
```
I've fetched the data for resource **T1**. Here are the annual growth metrics:

```json
{
  "year": 2023,
  "growth_rate": 4.2,
  "region": "Balearic Islands",
  "status": "verified"
}
```

Would you like me to analyze these numbers or pull data for another resource?
```

## Capabilities

### List all statistical operations
See every available study and operation in the Balearic Islands catalog at once.

### Find specific tables
Identify the exact datasets and tables tied to a specific operation ID.

### Fetch raw data files
Pull statistical figures in JSON, CSV, or XML formats for your own use.

### Get metadata and context
Retrieve definitions and structural information to ensure your data is accurate.

### Query regional indicators
Access demographics, economic data, and tourism statistics via natural language.

## Use Cases

### Tourism Analysis
A researcher wants to compare tourism growth across the region. They ask their agent to use `list_operations` to find tourism studies and then pull specific growth figures.

### Economic Reporting
An analyst needs the latest GDP figures for a report. They ask their agent to use `get_data` to fetch the latest economic numbers directly into their doc.

### App Development
A developer is building a travel app and needs to pull demographic data. They ask their agent to use `list_resources` to find the right tables for the islands.

### Demographic Study
A student is looking for historical population trends. They ask their agent to find the correct operation and then use `get_metadata` to ensure they understand the definitions.

## Benefits

- Skip the manual search by using `list_operations` to see every available study in one go.
- Get precise data points instantly with `get_data` instead of hunting through government PDFs.
- Ensure your data is accurate by checking definitions with `get_metadata` before reporting.
- Export data in your preferred format like JSON or CSV directly to your workspace.
- Save hours of research time by asking your agent to find specific regional indicators.

## How It Works

The bottom line is you get official regional data without having to manually navigate government portals.

1. Subscribe to the Connector and provide your User Agent identifier
2. Connect the Connector to your preferred client like Claude, Cursor, or Windsurf
3. Ask your agent to list operations or fetch specific regional data

## Frequently Asked Questions

**Can I use the IBESTAT MCP to get tourism data?**
Yes, it provides access to official tourism statistics for the Balearic Islands, including visitor numbers and regional impact data.

**What formats does the IBESTAT MCP support?**
You can pull data in JSON, CSV, and XML formats, making it easy to use the data in your own apps or reports.

**Is this for all of Spain?**
No, this Connector is specifically for the official statistics of the Balearic Islands.

**How do I know what a specific number means?**
You can ask your agent to pull the metadata, which provides the definitions and structural context for any given statistical operation.

**Can I use this for my research paper?**
Yes, it's a great way to gather historical and current socio-economic indicators for academic research or professional reports.

**Does the IBESTAT MCP work with Cursor?**
Yes, you can connect this Connector to Cursor, Claude, Windsurf, or any other MCP-compatible client.

**How can I find out which statistical tables are available for a specific study?**
Use the `list_resources` tool with the specific `operationId`. It will return a list of all available resources (tables) associated with that statistical operation.

**Can I retrieve the statistical data in different languages?**
Yes. When using the `get_data` tool, you can specify the `lang` parameter. Supported languages typically include Catalan ('ca'), Spanish ('es'), and English ('en').

**What formats are available for downloading data?**
The `get_data` tool allows you to choose between 'json', 'xml', and 'csv' formats via the `format` parameter, making it easy to integrate with different analysis tools.