{
  "markdown": "# mcp-metar\n\n> MCP server for METAR/TAF aviation weather data\n\n[![PyPI](https://img.shields.io/pypi/v/mcp-metar.svg)](https://pypi.org/project/mcp-metar/)\n[![Python](https://img.shields.io/pypi/pyversions/mcp-metar.svg)](https://pypi.org/project/mcp-metar/)\n[![Coverage](https://codecov.io/gh/daedalus/mcp-metar/branch/main/graph/badge.svg)](https://codecov.io/gh/daedalus/mcp-metar)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\nmcp-name: io.github.daedalus/mcp-metar\n\n## Install\n\n```bash\npip install mcp-metar\n```\n\n## Usage\n\n```python\nfrom mcp_metar import get_metar, get_taf, get_airport_weather\n\n# Get current METAR for an airport\nmetar = get_metar(\"KJFK\")\nprint(metar)\n\n# Get TAF forecast\ntaf = get_taf(\"KJFK\")\nprint(taf)\n\n# Get both METAR and TAF\nweather = get_airport_weather(\"KJFK\")\nprint(weather[\"metar\"])\nprint(weather[\"taf\"])\n```\n\n## MCP Server\n\nThis package provides an MCP server that can be used with MCP-compatible clients. Configure your client with:\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-metar\": {\n      \"command\": \"mcp-metar\",\n      \"env\": {}\n    }\n  }\n}\n```\n\n### Available Tools\n\n- `get_metar`: Fetch current METAR weather data for an airport by ICAO code\n- `get_taf`: Fetch TAF (Terminal Aerodrome Forecast) for an airport by ICAO code\n- `get_airport_weather`: Fetch both METAR and TAF for an airport by ICAO code\n\n## Development\n\n```bash\ngit clone https://github.com/daedalus/mcp-metar.git\ncd mcp-metar\npip install -e \".[test]\"\n\n# run tests\npytest\n\n# format\nruff format src/ tests/\n\n# lint\nruff check src/ tests/\n\n# type check\nmypy src/\n```\n\n## License\n\nMIT",
  "bytes": 1690,
  "sha": "ab973824b4de522be9303ac2414f0ad024cd52de26ab488b98c426d4dfcf810b",
  "repo_slug": "daedalus/mcp-metar",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_daedalus_mcp_metar_2e89d6a6/readme"
}