Mcp Metar

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

MCP server for METAR/TAF aviation weather data

已驗證STDIO僅桌面位置與生活

概覽

AI 產生的概覽

依 ICAO 代碼取得機場的 METAR 與 TAF 航空氣象報告。

可以做什麼
這個 MCP 伺服器提供三個航空氣象工具:get_metar 傳回機場目前的 METAR 觀測,get_taf 傳回終端機場預報(TAF),get_airport_weather 則同時傳回兩者。機場以 ICAO 代碼標示,例如 KJFK。這個套件也提供可直接在 Python 中呼叫的同名函式。
適用情境
適合助理需要目前或預報機場天氣的場合,例如飛行計畫、簡報,或回答某個機場的天氣狀況。它是單一用途的窄範圍伺服器,只有在工作流程涉及航空氣象查詢時才值得加入。
執行需求
以 stdio 本機程序執行,從 PyPI 安裝 mcp-metar(pip install mcp-metar),因此需要 Python 環境。未宣告任何身分驗證、環境變數或標頭。取得氣象資料需要網路存取。
安裝前請注意
這個伺服器只讀取氣象資料,未描述任何寫入、傳送或刪除動作。它會把所請求的 ICAO 代碼傳送到外部氣象資料來源,且不要求任何憑證。資料準確性與可用性取決於該上游來源。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Metar,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-metar

MCP server for METAR/TAF aviation weather data

[PyPI] [Python] [Coverage] [Ruff]

mcp-name: io.github.daedalus/mcp-metar

Install

bash
pip install mcp-metar

Usage

python
from mcp_metar import get_metar, get_taf, get_airport_weather
# Get current METAR for an airportmetar = get_metar("KJFK")print(metar)
# Get TAF forecasttaf = get_taf("KJFK")print(taf)
# Get both METAR and TAFweather = get_airport_weather("KJFK")print(weather["metar"])print(weather["taf"])

MCP Server

This package provides an MCP server that can be used with MCP-compatible clients. Configure your client with:

json
{  "mcpServers": {    "mcp-metar": {      "command": "mcp-metar",      "env": {}    }  }}

Available Tools

  • get_metar: Fetch current METAR weather data for an airport by ICAO code
  • get_taf: Fetch TAF (Terminal Aerodrome Forecast) for an airport by ICAO code
  • get_airport_weather: Fetch both METAR and TAF for an airport by ICAO code

Development

bash
git clone https://github.com/daedalus/mcp-metar.gitcd mcp-metarpip install -e ".[test]"
# run testspytest
# formatruff format src/ tests/
# lintruff check src/ tests/
# type checkmypy src/

License

MIT

來源:README.md,提交 16c1ef9

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分