daedalus/mcp-metar
MCP server for METAR/TAF data
Platform-specific configuration:
{
"mcpServers": {
"mcp-metar": {
"command": "npx",
"args": [
"-y",
"mcp-metar"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
> MCP server for METAR/TAF aviation weather data
[](https://pypi.org/project/mcp-metar/) [](https://pypi.org/project/mcp-metar/) [](https://github.com/astral-sh/ruff)
pip install mcp-metarfrom 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"])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": {}
}
}
}get_metar: Fetch current METAR weather data for an airport by ICAO codeget_taf: Fetch TAF (Terminal Aerodrome Forecast) for an airport by ICAO codeget_airport_weather: Fetch both METAR and TAF for an airport by ICAO codegit 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/MIT
Loading reviews...