Skip to main content
Glama
mjgmario

Spanish Public Data MCP

by mjgmario

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost to bind SSE server0.0.0.0
MCP_PORTNoPort for SSE server8080
LOG_LEVELNoLogging levelINFO
MCP_LOGS_DIRNoDirectory for tool call logs./logs

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
convocatorias_abiertasFind currently open grant calls. Shows active funding opportunities.
subvenciones_ultimos_diasRecent grants published in the last N days.
subvenciones_por_organismoFind grants from a specific ministry or public body.
subvenciones_por_importeFind grants by budget amount range.
historial_beneficiarioComplete grant history for a specific beneficiary (company/entity).
concesiones_recientesRecently awarded grants in the last N days.
top_beneficiariosFind entities that have received the most grants recently.
detalle_convocatoriaGet complete details of a specific grant call.
comparar_convocatoriasCompare multiple grant calls side by side.
subvenciones_innovacionFind R&D and innovation grants.
subvenciones_empleoFind employment and hiring incentive grants.
subvenciones_pymesFind grants specifically for SMEs.
subvenciones_autonomosFind grants for self-employed workers.
subvenciones_energia_verdeFind grants for renewable energy and sustainability projects.
subvenciones_digitalizacionFind digital transformation grants (Kit Digital, etc.).
boe_hoyToday's BOE summary with key publications.
boe_por_fechaBOE summary for a specific date.
boe_seccionBOE publications filtered by section.
novedades_legislativasRecent legislative news from the last N days.
buscar_leyesSearch Spanish laws and regulations by topic.
buscar_por_rangoSearch legislation by legal type.
buscar_por_departamentoSearch legislation by issuing department/ministry.
buscar_por_materiaSearch legislation by subject matter.
legislacion_vigenteSearch only current (non-repealed) legislation.
legislacion_derogadaSearch repealed/historical legislation.
analizar_leyComplete analysis of a specific law.
estructura_leyGet the structure/index of a law.
articulo_leyGet a specific article from a law.
texto_completo_leyGet the full consolidated text of a law.
leyes_relacionadasFind laws related to a given legislation.
historial_modificacionesGet the modification history of a law.
departamentos_boeList all government departments with their codes.
rangos_legalesList all legal types (Ley, Real Decreto, etc.).
materias_boeList all subject matters with their codes.
normativa_fiscalFind tax and fiscal legislation.
normativa_laboralFind labor and employment legislation.
normativa_proteccion_datosFind data protection and privacy legislation.
normativa_medioambientalFind environmental legislation.
normativa_urbanisticaFind urban planning and construction legislation.
borme_hoyToday's BORME company registry summary.
borme_por_fechaBORME summary for a specific date.
borme_por_provinciaBORME filtered by province.
constituciones_empresasRecently incorporated companies.
disoluciones_empresasRecently dissolved companies.
nombramientos_cesesRecent executive appointments and removals.
operaciones_estadisticasList all available statistical operations from INE.
buscar_estadisticaSearch for statistical operations by topic.
tablas_operacionList tables available for a specific operation.
variables_operacionList variables available for a specific operation.
ipc_inflacionGet Consumer Price Index (CPI) and inflation data.
ipc_por_gruposGet CPI breakdown by product groups.
inflacion_subyacenteGet core inflation (excluding energy and fresh food).
pib_trimestralGet quarterly GDP growth data.
pib_por_sectoresGet GDP breakdown by economic sectors.
epa_paroGet unemployment rate from EPA survey.
epa_ocupadosGet employment figures from EPA survey.
epa_por_sexoGet employment data broken down by sex.
epa_por_edadGet employment data broken down by age groups.
epa_por_comunidadGet employment data by autonomous community.
paro_juvenilGet youth unemployment rate (under 25).
poblacion_espanaGet Spain's total population figures.
poblacion_por_ccaaGet population by autonomous community.
poblacion_por_edadGet population pyramid data.
movimiento_naturalGet birth and death statistics.
migracionesGet migration statistics.
esperanza_vidaGet life expectancy data.
turismoGet tourism statistics (arrivals, spending).
comercio_exteriorGet import/export statistics.
industriaGet industrial production index.
construccionGet construction sector statistics.
serviciosGet services sector statistics.
comercio_minoristaGet retail trade statistics.
precio_viviendaGet housing price index.
hipotecasGet mortgage statistics.
viviendas_iniciadasGet new housing starts data.
salariosGet wage and salary statistics.
costes_laboralesGet labor cost index.
empresas_activasGet active companies statistics (DIRCE).
condiciones_vidaGet living conditions survey data.
datos_tablaGet data from a specific INE table.
datos_serieGet data from a specific time series.
comparar_periodosCompare statistics between two periods.
explorar_catalogoExplore the open data catalog structure and categories.
categorias_disponiblesList all available themes/categories in the catalog.
publicadores_catalogoList organizations publishing data in the catalog.
datasets_recientesFind recently updated datasets.
buscar_datasetsSearch datasets by keywords.
datasets_por_temaFind datasets in a specific category/theme.
datasets_por_publicadorFind datasets from a specific publisher.
datasets_por_formatoFind datasets available in a specific format.
analizar_datasetGet detailed analysis of a specific dataset.
formatos_datasetList available download formats for a dataset.
datos_medio_ambienteFind environmental datasets (air quality, water, emissions).
datos_transporteFind transport and mobility datasets.
datos_turismoFind tourism datasets.
datos_economiaFind economic and business datasets.
datos_saludFind health-related datasets.
datos_educacionFind education datasets.
datos_culturaFind culture and heritage datasets.
datos_urbanismoFind urban planning and geographic datasets.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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