mcp-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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_metar-0.1.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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