Spanish Public Data MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host to bind SSE server | 0.0.0.0 |
| MCP_PORT | No | Port for SSE server | 8080 |
| LOG_LEVEL | No | Logging level | INFO |
| MCP_LOGS_DIR | No | Directory for tool call logs | ./logs |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_system_infoA | Get overview of available data sources and tools. Call this first to understand what data is available. |
| search_grantsB | Search grant calls (convocatorias) from BDNS. Filter by date range and granting body. |
| search_grant_awardsA | Search awarded grants (concesiones) from BDNS. Filter by date range and beneficiary NIF. |
| get_grant_detailsB | Get detailed information about a specific grant call by ID. |
| search_legislationA | Search consolidated Spanish legislation. Filter by query, dates, title, department, legal range (Ley, Real Decreto, etc.), matter, and include/exclude repealed laws. |
| get_legislation_detailsB | Get metadata and details of a specific law or regulation. |
| get_legislation_textB | Get the full consolidated text of a law or regulation. |
| get_legislation_structureA | Get the structure/index of a law showing all its blocks (articles, dispositions, annexes). Use this to discover block IDs before fetching specific blocks. |
| get_legislation_blockA | Get a specific block (article, disposition, annex) from a law. Use get_legislation_structure first to discover available block IDs. |
| get_departments_tableA | Get the list of government departments with their codes. Use these codes with search_legislation's department_code filter. |
| get_legal_ranges_tableA | Get the list of legal norm types (Ley, Real Decreto, Orden, etc.) with their codes. Use these codes with search_legislation's legal_range_code filter. |
| get_matters_tableA | Get the list of subject matters/topics with their codes. Use these codes with search_legislation's matter_code filter. |
| find_related_lawsA | Find laws related to a given legislation (modifications, repeals, references). Use this to understand what a law modifies, what modifies it, and related legislation. |
| search_recent_boeB | Search BOE publications from the last N days. Useful for finding recent legislative activity. Supports filtering by section and search terms. |
| get_boe_summaryB | Get the daily BOE (Official Gazette) summary for a specific date. Supports filtering by section (1, 2A, 2B, 3, 4, 5, T) and department. |
| get_borme_summaryA | Get the daily BORME (Company Registry) summary with company acts for a specific date. Supports filtering by province. Defaults to most recent weekday. |
| get_ine_operationsA | Get list of all available INE statistical operations (IPC, EPA, PIB, etc.). |
| get_ine_operationA | Get details of a specific INE statistical operation by ID or code. |
| get_ine_table_dataC | Get statistical data from a specific INE table. |
| get_ine_series_dataC | Get time series data from INE by series code. |
| search_ine_tablesB | Search for tables within a specific INE operation. |
| get_ine_variablesC | Get available variables, optionally filtered by operation. |
| search_open_dataB | Search datasets in the Spanish national open data catalog (datos.gob.es). Filter by theme (medio-ambiente, economia, salud, etc.) or publisher. |
| get_open_data_detailsA | Get detailed information about a specific dataset from datos.gob.es including distributions (download formats). |
| list_open_data_themesA | List available themes/categories in datos.gob.es (e.g., medio-ambiente, economia, salud, educacion). |
| list_open_data_publishersB | List publishers/organizations in datos.gob.es (government agencies that publish datasets). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| convocatorias_abiertas | Find currently open grant calls. Shows active funding opportunities. |
| subvenciones_ultimos_dias | Recent grants published in the last N days. |
| subvenciones_por_organismo | Find grants from a specific ministry or public body. |
| subvenciones_por_importe | Find grants by budget amount range. |
| historial_beneficiario | Complete grant history for a specific beneficiary (company/entity). |
| concesiones_recientes | Recently awarded grants in the last N days. |
| top_beneficiarios | Find entities that have received the most grants recently. |
| detalle_convocatoria | Get complete details of a specific grant call. |
| comparar_convocatorias | Compare multiple grant calls side by side. |
| subvenciones_innovacion | Find R&D and innovation grants. |
| subvenciones_empleo | Find employment and hiring incentive grants. |
| subvenciones_pymes | Find grants specifically for SMEs. |
| subvenciones_autonomos | Find grants for self-employed workers. |
| subvenciones_energia_verde | Find grants for renewable energy and sustainability projects. |
| subvenciones_digitalizacion | Find digital transformation grants (Kit Digital, etc.). |
| boe_hoy | Today's BOE summary with key publications. |
| boe_por_fecha | BOE summary for a specific date. |
| boe_seccion | BOE publications filtered by section. |
| novedades_legislativas | Recent legislative news from the last N days. |
| buscar_leyes | Search Spanish laws and regulations by topic. |
| buscar_por_rango | Search legislation by legal type. |
| buscar_por_departamento | Search legislation by issuing department/ministry. |
| buscar_por_materia | Search legislation by subject matter. |
| legislacion_vigente | Search only current (non-repealed) legislation. |
| legislacion_derogada | Search repealed/historical legislation. |
| analizar_ley | Complete analysis of a specific law. |
| estructura_ley | Get the structure/index of a law. |
| articulo_ley | Get a specific article from a law. |
| texto_completo_ley | Get the full consolidated text of a law. |
| leyes_relacionadas | Find laws related to a given legislation. |
| historial_modificaciones | Get the modification history of a law. |
| departamentos_boe | List all government departments with their codes. |
| rangos_legales | List all legal types (Ley, Real Decreto, etc.). |
| materias_boe | List all subject matters with their codes. |
| normativa_fiscal | Find tax and fiscal legislation. |
| normativa_laboral | Find labor and employment legislation. |
| normativa_proteccion_datos | Find data protection and privacy legislation. |
| normativa_medioambiental | Find environmental legislation. |
| normativa_urbanistica | Find urban planning and construction legislation. |
| borme_hoy | Today's BORME company registry summary. |
| borme_por_fecha | BORME summary for a specific date. |
| borme_por_provincia | BORME filtered by province. |
| constituciones_empresas | Recently incorporated companies. |
| disoluciones_empresas | Recently dissolved companies. |
| nombramientos_ceses | Recent executive appointments and removals. |
| operaciones_estadisticas | List all available statistical operations from INE. |
| buscar_estadistica | Search for statistical operations by topic. |
| tablas_operacion | List tables available for a specific operation. |
| variables_operacion | List variables available for a specific operation. |
| ipc_inflacion | Get Consumer Price Index (CPI) and inflation data. |
| ipc_por_grupos | Get CPI breakdown by product groups. |
| inflacion_subyacente | Get core inflation (excluding energy and fresh food). |
| pib_trimestral | Get quarterly GDP growth data. |
| pib_por_sectores | Get GDP breakdown by economic sectors. |
| epa_paro | Get unemployment rate from EPA survey. |
| epa_ocupados | Get employment figures from EPA survey. |
| epa_por_sexo | Get employment data broken down by sex. |
| epa_por_edad | Get employment data broken down by age groups. |
| epa_por_comunidad | Get employment data by autonomous community. |
| paro_juvenil | Get youth unemployment rate (under 25). |
| poblacion_espana | Get Spain's total population figures. |
| poblacion_por_ccaa | Get population by autonomous community. |
| poblacion_por_edad | Get population pyramid data. |
| movimiento_natural | Get birth and death statistics. |
| migraciones | Get migration statistics. |
| esperanza_vida | Get life expectancy data. |
| turismo | Get tourism statistics (arrivals, spending). |
| comercio_exterior | Get import/export statistics. |
| industria | Get industrial production index. |
| construccion | Get construction sector statistics. |
| servicios | Get services sector statistics. |
| comercio_minorista | Get retail trade statistics. |
| precio_vivienda | Get housing price index. |
| hipotecas | Get mortgage statistics. |
| viviendas_iniciadas | Get new housing starts data. |
| salarios | Get wage and salary statistics. |
| costes_laborales | Get labor cost index. |
| empresas_activas | Get active companies statistics (DIRCE). |
| condiciones_vida | Get living conditions survey data. |
| datos_tabla | Get data from a specific INE table. |
| datos_serie | Get data from a specific time series. |
| comparar_periodos | Compare statistics between two periods. |
| explorar_catalogo | Explore the open data catalog structure and categories. |
| categorias_disponibles | List all available themes/categories in the catalog. |
| publicadores_catalogo | List organizations publishing data in the catalog. |
| datasets_recientes | Find recently updated datasets. |
| buscar_datasets | Search datasets by keywords. |
| datasets_por_tema | Find datasets in a specific category/theme. |
| datasets_por_publicador | Find datasets from a specific publisher. |
| datasets_por_formato | Find datasets available in a specific format. |
| analizar_dataset | Get detailed analysis of a specific dataset. |
| formatos_dataset | List available download formats for a dataset. |
| datos_medio_ambiente | Find environmental datasets (air quality, water, emissions). |
| datos_transporte | Find transport and mobility datasets. |
| datos_turismo | Find tourism datasets. |
| datos_economia | Find economic and business datasets. |
| datos_salud | Find health-related datasets. |
| datos_educacion | Find education datasets. |
| datos_cultura | Find culture and heritage datasets. |
| datos_urbanismo | Find urban planning and geographic datasets. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mjgmario/spanish-public-info-radar-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server