METAR Server
БесплатноНе проверенFetches and parses METAR/TAF aviation weather data from NOAA with caching and human-readable formatting.
Описание
Fetches and parses METAR/TAF aviation weather data from NOAA with caching and human-readable formatting.
README
MCP server for fetching and parsing METAR aviation weather data from NOAA's Aviation Weather Center.
Installation
Poetry (Development)
poetry install
Docker (Production)
docker-compose up -d
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 -v
Docker Commands
# Build and start
docker-compose up -d
# View logs
docker-compose logs -f
# Stop
docker-compose down
# Rebuild
docker-compose up -d --build
Tools
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
Установка METAR Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/mangobanaani/metarmcpFAQ
METAR Server MCP бесплатный?
Да, METAR Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для METAR Server?
Нет, METAR Server работает без API-ключей и переменных окружения.
METAR Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить METAR Server в Claude Desktop, Claude Code или Cursor?
Открой METAR Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare METAR Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
