Skip to main content

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

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

Metadata

Release files for mcp-metar 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-metar 0.1.0
File Size Uploaded
mcp_metar-0.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-metar 0.1.0
File Interpreter ABI Platform
mcp_metar-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / mcp_metar-0.1.0.tar.gz

Download URL mcp_metar-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a875465626e6a93d3d4608331a8e7f6a02d5dbe85e339c7dd65f6db68bb4744e
BLAKE2b-256 checksum
How to use checksums
e925e6c3761c1cad0a86948cb0b8c2d628bd60ae96064b36ba807d3406295687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

Release files / mcp_metar-0.1.0-py3-none-any.whl

Download URL mcp_metar-0.1.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91475bef0a17068b002427539c3c10ebda03da517d377d66798dd6dba25fa770
BLAKE2b-256 checksum
How to use checksums
dc081c63f9c018ccec163c8768f55e84139875a56b3a57ff2ac05ef55899118b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page