mcpField
M
mcp-metar

mcp-metar

Local
github.com/daedalusMaps & Travel0Updated 27w ago

About mcp-metar

mcp-metar is an MCP server for aviation weather data, for users who need airport observations and forecasts. It provides separate METAR and TAF lookups, plus a combined lookup by ICAO code.

Key features

  1. 01Fetch current METAR by ICAO code
  2. 02Fetch TAF forecast by ICAO code
  3. 03Retrieve METAR and TAF together

Use cases

  1. 01Check current weather at an airport
  2. 02Review an airport's TAF forecast

MCP support

It exposes tools to MCP-compatible clients for fetching METAR, TAF, or both for an airport identified by ICAO code.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"daedalus-mcp-metar": {
"command": "uvx",
"args": [
"mcp-metar"
]
}
}
}
Run commanduvx mcp-metar

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimcp-metar0.1.0

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

mcp-metar

MCP server for METAR/TAF aviation weather data

PyPI Python Coverage Ruff

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 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

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.