SkyddsrumsKollen — Swedish Civil-Defence Shelters

io.github.jannegpriv由 GitHub 帳號 jannegpriv 發布v0.3.1更新於 Oct 24, 2026

Find Sweden's nearest civil-defence shelters (skyddsrum): search, details, stats. Data: MSB.

已驗證Streamable HTTP可網頁執行位置與生活網頁搜尋與抓取

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,可依地點、地址或座標尋找瑞典民防避難所(skyddsrum),並提供避難所詳情與全國統計。

可以做什麼
搜尋瑞典地點與地址以取得座標,使用限定在瑞典境內的 OpenStreetMap Nominatim,每次最多回傳 5 個候選。依 WGS84 座標尋找最近的避難所,依距離排序,最多回傳 25 個,含地址、容量與距離。依地址文字或瑞典地產編號搜尋避難所,支援忽略重音的子字串比對。依 SkyddsrumsKollen id 取得單一避難所詳情,包括地址、容量、座標與頁面連結。取得全國統計:登記避難所總數、總容量以及最近一次從 MSB 同步的日期。
適用情境
適合需要尋找瑞典附近民防避難所、依地址或 id 查詢特定避難所,或回報全國避難所數量與容量的情境。較適用於防災、安全與在地資訊類問題,而非一般地圖用途。
執行需求
遠端 streamable HTTP 端點;未宣告本機執行環境、帳號、API 金鑰或請求標頭。需要網路存取,地點搜尋依賴限定在瑞典境內的 OpenStreetMap Nominatim。
安裝前請注意
所有工具皆為唯讀查詢,不涉及寫入、付款或憑證。地點查詢會傳送至 OpenStreetMap Nominatim,避難所資料來自 MSB,可能落後於最近一次同步。結果僅限瑞典。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 SkyddsrumsKollen — Swedish Civil-Defence Shelters,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.jannegpriv%2Fskyddsrumskollen/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "skyddsrumskollen-swedish-civil-defence-s": {
      "type": "http",
      "url": "https://tjovnwtrzrneiaqmigqe.supabase.co/functions/v1/mcp"
    }
  }
}

工具

5

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.

輸入參數query必填

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.

輸入參數lat必填lng必填limit

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).

輸入參數limitquery必填

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.

輸入參數id必填

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).

無需輸入參數。

版本歷史

1
  1. v0.3.1最新Sep 16, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。