Skip to main content
Glama

mcp-metar

MCP server for METAR/TAF aviation weather data

PyPI Python Coverage Ruff

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

Install

pip install mcp-metar

Related MCP server: Node.js MCP Weather Server

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

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-metar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server