MCP server for METAR/TAF aviation weather data
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_metar-0.1.0.tar.gz.
File metadata
- Download URL: mcp_metar-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a875465626e6a93d3d4608331a8e7f6a02d5dbe85e339c7dd65f6db68bb4744e
|
|
| MD5 |
34757f19db0e31c069725591bbd0a017
|
|
| BLAKE2b-256 |
e925e6c3761c1cad0a86948cb0b8c2d628bd60ae96064b36ba807d3406295687
|
Provenance
The following attestation bundles were made for mcp_metar-0.1.0.tar.gz:
Publisher:
pypi-publish.yml on daedalus/mcp-metar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_metar-0.1.0.tar.gz -
Subject digest:
a875465626e6a93d3d4608331a8e7f6a02d5dbe85e339c7dd65f6db68bb4744e - Sigstore transparency entry: 1190707830
- Sigstore integration time:
-
Permalink:
daedalus/mcp-metar@b9f96e5f52f2e4fe641a991ad619b9fdecb03aa3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@b9f96e5f52f2e4fe641a991ad619b9fdecb03aa3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_metar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_metar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91475bef0a17068b002427539c3c10ebda03da517d377d66798dd6dba25fa770
|
|
| MD5 |
9ac10b0fff305d1cd108ee209b5be7b1
|
|
| BLAKE2b-256 |
dc081c63f9c018ccec163c8768f55e84139875a56b3a57ff2ac05ef55899118b
|
Provenance
The following attestation bundles were made for mcp_metar-0.1.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on daedalus/mcp-metar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_metar-0.1.0-py3-none-any.whl -
Subject digest:
91475bef0a17068b002427539c3c10ebda03da517d377d66798dd6dba25fa770 - Sigstore transparency entry: 1190707831
- Sigstore integration time:
-
Permalink:
daedalus/mcp-metar@b9f96e5f52f2e4fe641a991ad619b9fdecb03aa3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@b9f96e5f52f2e4fe641a991ad619b9fdecb03aa3 -
Trigger Event:
release
-
Statement type: