
Aviation Weather MCP Server
Provides aviation weather information through a Model Context Protocol server, enabling access to METARs, TAFs, PIREPs, and route weather data for informational purposes only.
README
Aviation Weather MCP Server
This is a Model Context Protocol (MCP) server that provides aviation weather information for flight planning. It connects to the Aviation Weather API to fetch METARs, TAFs, PIREPs, and other data.
DISCLAIMER
DO NOT USE THIS TOOL FOR FLIGHT PLANNING OR IN-FLIGHT DECISION MAKING.
IMPORTANT DISCLAIMER: This Aviation Weather MCP server provides weather data sourced from aviationweather.gov for informational purposes only. The information provided by this tool should NEVER be used as the sole source for flight planning or in-flight decision making.
Weather data may be incomplete, delayed, or inaccurate. Additionally, the large language model interpreting this data may misunderstand or incorrectly represent critical information. Always consult official aviation weather sources and obtain a proper weather briefing from authorized providers before any flight.
This tool is not FAA-approved, is not a replacement for certified weather services, and should be used only as a supplementary reference. The developers assume no liability for decisions made based on information provided by this tool.
ALWAYS verify critical weather information through official channels.
Features
- Type-safe API client automatically generated from the official Aviation Weather API Swagger definition
- MCP tools for weather data:
get-metar
: Get current weather observationsget-taf
: Get terminal aerodrome forecastsget-pireps
: Get pilot reports near an airportget-route-weather
: Get comprehensive weather for a route between two airports
Setup
Prerequisites
- Node.js 18 or higher
- npm or yarn
- curl (for fetching the Swagger YAML)
Installation
-
Clone this repository:
git clone https://github.com/yourusername/aviation-weather-mcp-server.git cd aviation-weather-mcp-server
-
Install dependencies:
npm install
-
Build the server (this will fetch the latest Swagger definition, generate the API client, and compile the TypeScript):
npm run build
-
Start the server:
npm start
Using with Claude for Desktop
To use this server with Claude for Desktop:
-
Edit your Claude for Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the server to the configuration:
{ "mcpServers": { "aviation-weather": { "command": "node", "args": [ "/absolute/path/to/aviation-weather-mcp-server/build/index.js" ] } } }
-
Restart Claude for Desktop
Example Queries
Once connected to Claude, you can ask questions like:
- "What's the current weather at KJFK?"
- "Is there a TAF available for KORD?"
- "I'm planning to fly from KBOS to KPHL tomorrow. What's the weather looking like?"
- "Are there any PIREPs near KDEN?"
Development
Project Structure
src/index.ts
: Main server codepackages/aviation-weath-api
: Autogenerate API client for Aviation Weather .gov
Building the aviation weather client
The build process follows these steps:
npm run aviation-weather-api:clean
: delete the existing clientnpm run aviation-weather-api:fetch
: Fetches the latest Swagger definition from aviationweather.govnpm run aviation-weather-api:generate
: Generates a typed TypeScript client from the Swagger definition
Building and running the app
npm run build
: Build the javascript clientnpm run start
: Run the MCP server
Adding More Tools
To add new tools to the server, follow this pattern:
server.tool(
"tool-name",
{
// Zod schema for parameters
param1: z.string().describe("Parameter description"),
param2: z.number().optional().describe("Optional parameter")
},
async ({ param1, param2 }) => {
try {
// Implementation
return {
content: [{
type: "text",
text: "Response text"
}]
};
} catch (error) {
return {
content: [{
type: "text",
text: `Error: ${error.message}`
}],
isError: true
};
}
}
);
How It Works
- The server fetches the latest Swagger definition from aviationweather.gov
- The OpenAPI Generator creates a type-safe client from this definition
- The server uses this client to make API calls with proper typing
- Error handling and response formatting ensure a smooth experience
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.