io.github.daedalus/mcp-metar
MCP server for METAR/TAF aviation weather data
Open source Open in the app JSON README (API)
About
MCP server for METAR/TAF aviation weather data
Details
- Kind
- MCP servers
- Topic
- Maps, weather & travel
- Publisher
- daedalus
- Origin
- official
- Category
- ferramentas
- Transport
- local
- Version
- 0.1.0
- Last push
- 2026-04-21T19:27:05Z
- Repository state
- ativo
- Language
- Python
- License
- MIT
- Added
- 2026-08-29 03:02:40
- Updated
- 2026-08-29 03:02:40
- Origin id
io.github.daedalus/mcp-metar
README
# mcp-metar
> MCP server for METAR/TAF aviation weather data
[](https://pypi.org/project/mcp-metar/)
[](https://pypi.org/project/mcp-metar/)
[](https://codecov.io/gh/daedalus/mcp-metar)
[](https://github.com/astral-sh/ruff)
mcp-name: io.github.daedalus/mcp-metar
## Install
```bash
pip install mcp-metar
```
## Usage
```python
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:
```json
{
"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
```bash
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