io.github.daedalus/mcp-metar

السجل الرسمي الخرائط والسفر والطقس

MCP server for METAR/TAF aviation weather data

ماذا يمكنك أن تفعل مع io.github.daedalus/mcp-metar؟

  • 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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package mcp-metar
Claude Code
claude mcp add mcp-metar -- uvx mcp-metar==0.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "mcp-metar": {
            "command": "uvx",
            "args": [
                "mcp-metar==0.1.0"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. mcp-metar
  2. Install
  3. Usage
  4. MCP Server
  5. Development
  6. License

mcp-metar

MCP server for METAR/TAF aviation weather data

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

Install

pip install mcp-metar

Usage

from mcp_metar import get_metar, get_taf, get_airport_weather

# Get current METAR for an airport
metar = get_metar("KJFK")
print(metar)

# Get TAF forecast
taf = get_taf("KJFK")
print(taf)

# Get both METAR and TAF
weather = 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:

{
  "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

git clone https://github.com/daedalus/mcp-metar.git
cd mcp-metar
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

License

MIT

الأسئلة الشائعة

ما هو io.github.daedalus/mcp-metar؟

MCP server for METAR/TAF aviation weather data

كيف أثبّت io.github.daedalus/mcp-metar؟

يعمل على جهازك. في Claude Code: claude mcp add mcp-metar -- uvx mcp-metar==0.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.daedalus/mcp-metar إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.daedalus/mcp-metar مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.daedalus/mcp-metar؟

ينشره daedalus. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.