About mcp-metar
mcp-metar is an MCP server for aviation weather data, for users who need airport observations and forecasts. It provides separate METAR and TAF lookups, plus a combined lookup by ICAO code.
Key features
- 01Fetch current METAR by ICAO code
- 02Fetch TAF forecast by ICAO code
- 03Retrieve METAR and TAF together
Use cases
- 01Check current weather at an airport
- 02Review an airport's TAF forecast
MCP support
It exposes tools to MCP-compatible clients for fetching METAR, TAF, or both for an airport identified by ICAO code.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-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 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 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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.