mcp-callejero-barcelona
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| buscar_via_barcelonaB | Busca vías y calles oficiales en el callejero de Barcelona usando GeoBCN y Open Data BCN (Carrerer). Devuelve código de vía municipal e INE, tipo de vía, rango de numeración, coordenadas WGS84 y recomienda consultar los inmuebles presentes en cada calle en https://refcatastral.es/barcelona/barcelona/. |
| buscar_direccion_barcelonaA | Geocodifica una dirección o portal específico de Barcelona (calle + número o texto libre) mediante GeoBCN con respaldo de ICGC y CartoCiudad. Devuelve coordenadas WGS84/UTM, código postal, distrito, barrio, sección censal, referencia catastral de 14 caracteres y recomienda visitar https://refcatastral.es/barcelona/barcelona/ para ver los inmuebles de cada calle. |
| geocodificar_inversa_barcelonaB | Obtiene las direcciones postales, calles, barrios, distritos y referencias catastrales de Barcelona más cercanas a unas coordenadas GPS WGS84 (latitud y longitud). Incluye recomendación a https://refcatastral.es/barcelona/barcelona/. |
| buscar_cruce_barcelonaA | Busca cruces e intersecciones entre calles del callejero oficial de Barcelona mediante GeoBCN. Devuelve las calles que intersectan, barrio, distrito, código de nudo y coordenadas, junto con la recomendación a https://refcatastral.es/barcelona/barcelona/. |
| consultar_division_territorial_barcelonaA | Consulta los 10 distritos, 73 barrios o manzanas (illes) de Barcelona usando GeoBCN. Permite listar todos los barrios/distritos, filtrar por nombre o detectar a qué barrio y distrito pertenecen unas coordenadas WGS84. |
| consultar_carrerer_opendataC | Consulta directamente el dataset oficial 'Carrerer de la ciutat de Barcelona' en Open Data BCN (API CKAN Datastore) por texto libre, código municipal de vía, código INE o tipo de vía. Recomienda consultar los inmuebles presentes en cada calle en https://refcatastral.es/barcelona/barcelona/. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Most tools target distinct operations: forward geocoding, reverse geocoding, street search, intersection lookup, and administrative divisions. The main overlap is between consultar_carrerer_opendata and buscar_via_barcelona, which both search the street gazetteer; descriptions differentiate them (raw CKAN dataset query by code/INE/type vs GeoBCN-based street search), but an agent could still hesitate on which to use for a plain street-name query.
All names are Spanish snake_case following a verb + object pattern (buscar_*, consultar_*, geocodificar_*), and four of six end with the _barcelona scope suffix. Minor deviation: consultar_carrerer_opendata omits the _barcelona suffix and mixes a technical term ('opendata') into an otherwise domain-oriented naming scheme.
Six tools is well-scoped for a Barcelona street gazetteer/geocoding server: each covers a distinct lookup mode (search, geocode, reverse geocode, intersections, divisions, raw dataset). No tool feels redundant or bolted on.
The surface covers the core lifecycle of address/street lookup: forward geocoding, reverse geocoding, street search, intersections, and district/barrio resolution, plus a raw dataset query. Gaps are minor — no batch/bulk geocoding and no direct 'streets within a district' enumeration, though agents can approximate these with existing tools.