Cover image
Try Now
2025-04-01

Servidor MCP para interacciones Aviation LLM

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

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 observations
    • get-taf: Get terminal aerodrome forecasts
    • get-pireps: Get pilot reports near an airport
    • get-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

  1. Clone this repository:

    git clone https://github.com/yourusername/aviation-weather-mcp-server.git
    cd aviation-weather-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Build the server (this will fetch the latest Swagger definition, generate the API client, and compile the TypeScript):

    npm run build
    
  4. Start the server:

    npm start
    

Using with Claude for Desktop

To use this server with Claude for Desktop:

  1. Edit your Claude for Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the server to the configuration:

    {
      "mcpServers": {
        "aviation-weather": {
          "command": "node",
          "args": [
            "/absolute/path/to/aviation-weather-mcp-server/build/index.js"
          ]
        }
      }
    }
    
  3. 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 code
  • packages/aviation-weath-api: Autogenerate API client for Aviation Weather .gov

Building the aviation weather client

The build process follows these steps:

  1. npm run aviation-weather-api:clean: delete the existing client
  2. npm run aviation-weather-api:fetch: Fetches the latest Swagger definition from aviationweather.gov
  3. npm run aviation-weather-api:generate: Generates a typed TypeScript client from the Swagger definition

Building and running the app

  1. npm run build: Build the javascript client
  2. npm 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

  1. The server fetches the latest Swagger definition from aviationweather.gov
  2. The OpenAPI Generator creates a type-safe client from this definition
  3. The server uses this client to make API calls with proper typing
  4. Error handling and response formatting ensure a smooth experience

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • HiveNexus
  • Un bot de chat de IA para equipos pequeños y medianos, que apoyan modelos como Deepseek, Open AI, Claude y Gemini. 专为中小团队设计的 ai 聊天应用 , 支持 Deepseek 、 Open ai 、 Claude 、 Géminis 等模型。

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

    Reviews

    1 (1)
    Avatar
    user_WMc0EnsP
    2025-04-16

    As an avid user of MCP applications, the Gmail MCP Server by cristip73 has truly exceeded my expectations. Its seamless integration and robust performance make email management incredibly efficient. The intuitive user interface and welcome message are perfect for both tech-savvy users and beginners. I highly recommend checking it out! You can find more details here: https://mcp.so/server/MCP-email-server/cristip73.