MCP 서버

SkyddsrumsKollen — Swedish Civil-Defence Shelters

io.github.jannegpriv/skyddsrumskollen
지도 및 위치 공개 · 연결 가능 MCP 2025-11-25

이 MCP로 할 수 있는 일

Locates Swedish civil-defence shelters, returns shelter details and nearby results, and provides national shelter statistics.

find_nearby_shelters
Find nearby shelters
Find the nearest Swedish civil-defence shelters (skyddsrum) to a WGS84 position, sorted by distance. Returns up to 25 shelters (limit 1-25, default 10; fractions are floored and the effective limit is echoed) with address (street or Swedish property designation), capacity (number of people) and distance in km. The dataset has no separate municipality field — the address is the location identifier. Use search_location first if you only have a place name. Coverage is Sweden only (lat 55.0-69.5, lng 10.0-24.5 WGS84) — positions outside return status 'no_coverage' instead of results. Note: in Sweden you are not assigned to a specific shelter — in an emergency, use whichever shelter or protective space you can reach.
읽기 전용 외부 접근 가능 멱등성
입력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['lat', 'lng'], 'properties': {'lat': {'type': 'number', 'maximum': 90, 'minimum': -90, 'description': 'Latitude, WGS84 decimal degrees. Coverage: 55.0-69.5 (Sweden).'}, 'lng': {'type': 'number', 'maximum': 180, 'minimum': -180, 'description': 'Longitude, WGS84 decimal degrees. Coverage: 10.0-24.5 (Sweden).'}, 'limit': {'type': 'number', 'maximum': 25, 'minimum': 1, 'description': 'Max number of shelters (default 10). Fractions are floored.'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'url': {'$ref': '#/properties/server_version'}, 'info': {'$ref': '#/properties/server_version'}, 'query': {'type': 'object', 'properties': {'lat': {'type': ['number', 'null']}, 'lng': {'$ref': '#/properties/query/properties/lat'}, 'limit': {'$ref': '#/properties/query/properties/lat'}}, 'additionalProperties': False}, 'status': {'$ref': '#/properties/server_version'}, 'shelters': {'type': 'array', 'items': {'type': 'object', 'properties': {'id': {'$ref': '#/properties/server_version'}, 'lat': {'$ref': '#/properties/query/properties/lat'}, 'lng': {'$ref': '#/properties/query/properties/lat'}, 'url': {'$ref': '#/properties/server_version'}, 'type': {'$ref': '#/properties/server_version'}, 'address': {'$ref': '#/properties/server_version'}, 'capacity': {'$ref': '#/properties/query/properties/lat'}, 'distance_km': {'$ref': '#/properties/query/properties/lat'}}, 'additionalProperties': False}}, 'attribution': {'$ref': '#/properties/server_version'}, 'server_build': {'$ref': '#/properties/server_version'}, 'server_version': {'type': ['string', 'null']}}, 'additionalProperties': False}
get_shelter
Get shelter details
Get details for one Swedish civil-defence shelter by its SkyddsrumsKollen id (the UUID from a previous tool result or from a skyddsrumskollen.nu/skyddsrum/<id> URL). Returns found=true with address, capacity, coordinates and the shelter's page URL — or found=false (a successful response, not an error) when no shelter has that id; a malformed id is rejected as an INVALID_ARGUMENT error.
읽기 전용 외부 접근 가능 멱등성
입력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'minLength': 1, 'description': 'Shelter id (UUID) from find_nearby_shelters, search_shelters or a skyddsrumskollen.nu URL.'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'url': {'$ref': '#/properties/server_version'}, 'info': {'$ref': '#/properties/server_version'}, 'found': {'type': ['boolean', 'null']}, 'shelter': {'anyOf': [{'type': 'object', 'properties': {'id': {'$ref': '#/properties/server_version'}, 'lat': {'type': ['number', 'null']}, 'lng': {'$ref': '#/properties/shelter/anyOf/0/properties/lat'}, 'url': {'$ref': '#/properties/server_version'}, 'type': {'$ref': '#/properties/server_version'}, 'address': {'$ref': '#/properties/server_version'}, 'capacity': {'$ref': '#/properties/shelter/anyOf/0/properties/lat'}, 'distance_km': {'$ref': '#/properties/shelter/anyOf/0/properties/lat'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'attribution': {'$ref': '#/properties/server_version'}, 'server_build': {'$ref': '#/properties/server_version'}, 'server_version': {'type': ['string', 'null']}}, 'additionalProperties': False}
get_shelter_stats
Get national shelter statistics
Get national statistics for Sweden's civil-defence shelters: total number of registered shelters, total capacity (people), and when the dataset was last synced from MSB (the Swedish Civil Contingencies Agency).
읽기 전용 외부 접근 가능 멱등성
입력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
출력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'url': {'$ref': '#/properties/server_version'}, 'info': {'$ref': '#/properties/server_version'}, 'attribution': {'$ref': '#/properties/server_version'}, 'server_build': {'$ref': '#/properties/server_version'}, 'data_age_days': {'$ref': '#/properties/total_shelters'}, 'data_is_stale': {'type': ['boolean', 'null']}, 'server_version': {'type': ['string', 'null']}, 'total_capacity': {'$ref': '#/properties/total_shelters'}, 'total_shelters': {'type': ['number', 'null']}, 'data_last_synced': {'$ref': '#/properties/server_version'}}, 'additionalProperties': False}
search_location
Search location
Search for a Swedish place (city, town, street address) and return matching coordinates. Uses OpenStreetMap Nominatim limited to Sweden. Returns up to 5 candidates with name, lat and lon. Use the coordinates with find_nearby_shelters.
읽기 전용 외부 접근 가능 멱등성
입력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'query': {'type': 'string', 'minLength': 1, 'description': "Place name or address to search for, e.g. 'Huddinge' or 'Drottninggatan 5, Stockholm'."}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'url': {'$ref': '#/properties/server_version'}, 'info': {'$ref': '#/properties/server_version'}, 'results': {'type': 'array', 'items': {'type': 'object', 'properties': {'lat': {'type': ['number', 'null']}, 'lon': {'$ref': '#/properties/results/items/properties/lat'}, 'name': {'$ref': '#/properties/server_version'}}, 'additionalProperties': False}}, 'attribution': {'$ref': '#/properties/server_version'}, 'server_build': {'$ref': '#/properties/server_version'}, 'server_version': {'type': ['string', 'null']}}, 'additionalProperties': False}
search_shelters
Search shelters by address
Search Swedish civil-defence shelters by ADDRESS text — a street name or Swedish property designation (fastighetsbeteckning), e.g. 'Storgatan' or 'Jupiter Mindre 14'. Matches are verified accent-insensitive substring matches on the address field ('Sodra' matches 'Södra', but only addresses actually containing the text are returned). The dataset has NO municipality or city field, so this tool cannot list shelters in a town — for 'shelters in <place>' use search_location + find_nearby_shelters instead. Returns total_matches (with total_is_exact=false when the count is a lower bound) plus the largest shelters first (limit 1-25, default 10; fractions are floored and the effective limit is echoed).
읽기 전용 외부 접근 가능 멱등성
입력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'limit': {'type': 'number', 'maximum': 25, 'minimum': 1, 'description': 'Max number of shelters returned (default 10). Fractions are floored.'}, 'query': {'type': 'string', 'minLength': 1, 'description': "Address text: street name or property designation, e.g. 'Storgatan' or 'Norrmalm 2'."}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'url': {'$ref': '#/properties/server_version'}, 'info': {'$ref': '#/properties/server_version'}, 'query': {'type': 'object', 'properties': {'limit': {'type': ['number', 'null']}, 'query': {'$ref': '#/properties/server_version'}}, 'additionalProperties': False}, 'shelters': {'type': 'array', 'items': {'type': 'object', 'properties': {'id': {'$ref': '#/properties/server_version'}, 'lat': {'$ref': '#/properties/query/properties/limit'}, 'lng': {'$ref': '#/properties/query/properties/limit'}, 'url': {'$ref': '#/properties/server_version'}, 'type': {'$ref': '#/properties/server_version'}, 'address': {'$ref': '#/properties/server_version'}, 'capacity': {'$ref': '#/properties/query/properties/limit'}, 'distance_km': {'$ref': '#/properties/query/properties/limit'}}, 'additionalProperties': False}}, 'attribution': {'$ref': '#/properties/server_version'}, 'server_build': {'$ref': '#/properties/server_version'}, 'total_matches': {'$ref': '#/properties/query/properties/limit'}, 'server_version': {'type': ['string', 'null']}, 'total_is_exact': {'type': ['boolean', 'null']}}, 'additionalProperties': False}
추가됨
get_shelter_stats
2026년 9월 17일 12:42 PM
추가됨
get_shelter
2026년 9월 17일 12:42 PM
추가됨
search_shelters
2026년 9월 17일 12:42 PM
추가됨
find_nearby_shelters
2026년 9월 17일 12:42 PM
추가됨
search_location
2026년 9월 17일 12:42 PM