METAR MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
METAR MCP Server
MCP server for fetching and parsing METAR aviation weather data from NOAA's Aviation Weather Center.
Installation
Poetry (Development)
poetry installDocker (Production)
docker-compose up -dRelated MCP server: Aviation Weather MCP Server
Usage
MCP Client Configuration
Poetry
Add to your MCP client configuration file:
{
"mcpServers": {
"metar": {
"command": "poetry",
"args": ["run", "python", "/path/to/metarmcp/server.py"],
"cwd": "/path/to/metarmcp"
}
}
}Docker
Add to your MCP client configuration file:
{
"mcpServers": {
"metar": {
"command": "docker",
"args": ["exec", "-i", "metar-mcp-server", "python", "server.py"]
}
}
}Running Tests
poetry run pytest test_metar.py -vDocker Commands
# Build and start
docker-compose up -d
# View logs
docker-compose logs -f
# Stop
docker-compose down
# Rebuild
docker-compose up -d --buildTools
fetch_metar
Fetch raw METAR data for an airport by ICAO code.
Parameters:
icao_code(string): Airport code (e.g., EFHK, KJFK, EGLL)
parse_metar
Parse raw METAR string into structured JSON.
Parameters:
metar(string): Raw METAR string
Returns:
{
"station": "EFHK",
"time": "021720Z",
"wind": {"direction": 180, "speed_kt": 12},
"visibility": "9999",
"temperature": 12,
"dewpoint": 8,
"pressure_hPa": 1013,
"clouds": ["FEW020", "BKN050"]
}get_cached_metar
Get METAR data with 30-minute caching.
Parameters:
icao_code(string): Airport code
Returns:
Cached data if fresh (<30 min)
Fresh data from API if cache expired
Features
Fetch real-time METAR and TAF data from NOAA
Parse METAR/TAF into structured JSON
Human-readable formatting with descriptions
SQLite caching (30-minute TTL)
Full test coverage
Docker support with security best practices
Data Source
NOAA Aviation Weather Center: https://aviationweather.gov/
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Airport METAR/TAF weather and FAA delays by airport code. $0.003/call via x402.
Flight and sky conditions for agents, from METAR/TAF and airports to aurora and satellite passes.
Official airport weather: METAR observations and TAF forecasts from the NOAA Aviation Weather Center
Get US weather forecasts, active and recent alerts, and current observations.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides real-time access to official aviation weather data including METARs, TAFs, and PIREPs directly from aviationweather.gov. It enables users to query airport observations, forecasts, and pilot reports through natural language within Claude.-
- AlicenseNot gradedqualityDmaintenanceProvides access to aviation weather data from aviationweather.gov, enabling LLMs to fetch and analyze METAR, TAF, PIREPs, AIRMETs, and other aviation weather information.20 npm7MIT
- AlicenseNot gradedqualityBmaintenanceGet US weather forecasts, active alerts, and current observations via the National Weather Service API.291 npm2Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides weather forecasts, current conditions, and alerts for US locations using the National Weather Service API.1-