Skip to main content
Glama

Notam Watch

An MCP server and analyst workspace that turns FAA flight and NOTAM data into prioritized, plain-language aviation safety information.

Built for the 2026 GSA MCP Server and SI Agent Government Hackathon.

A pilot does not need every notice in the National Airspace System. They need to know which notices matter to this flight, at this altitude, on this route, at this time.

Notices to Air Missions (NOTAMs) communicate runway closures, temporary flight restrictions, unmanned aircraft activity, navigation outages, and other operational hazards. They are essential, but the volume, abbreviations, and lack of flight-specific context can make the most important notice difficult to find.

Notam Watch uses the Model Context Protocol (MCP) to connect an AI assistant to time-stamped FAA data and purpose-built aviation analysis tools. Instead of summarizing every available notice, it helps pilots and analysts identify what deserves attention first. It can lower the priority of notices that evidence confirms are off route, outside the flight's altitude, or inactive at the relevant time, while keeping unresolved cases visible for human review.

This is decision-support software. It does not replace an official FAA briefing, air traffic control, dispatch, or pilot judgment.

The analyst workspace brings the map, priority queue, and plain-language MCP assistant into one view. The displayed data is a time-stamped replay, not current operational traffic.

For Judges: Source Review Guide

The submitted PowerPoint, evaluation document, and video present the problem, demonstration, and measured results. This repository provides the implementation evidence behind those materials; judges are not expected to deploy or run it.

GSA criterion

Where to look

What it demonstrates

Mission alignment

The problem and operational experience

Reduces NOTAM information overload for pilots and 24-hour aviation analysts while preserving uncertainty and official-procedure boundaries.

Technical quality

MCP registration, tool contracts, query layer, and testing

Read-only MCP server, FAA data integration, PostGIS route and airspace analysis, typed tool contracts, freshness metadata, and automated tests.

Innovation

Why MCP matters

Connects language-model reasoning to route, altitude, schedule, geometry, live position, and flight-plan evidence rather than relying on text search alone.

Presentation support

Agent orchestration, dashboard data model, user interface, and MLflow evaluation

The source behind the map-centered workspace, visible MCP tool calls, plain-language explanations, and evaluation results shown in the submitted video and documents.

Suggested source review path

  1. Start with src/server/app.py to see the MCP server, resources, prompts, and tool registration.

  2. Review src/server/tools/ for the six typed MCP tool contracts exposed to AI clients.

  3. Review src/server/tool_resources/queries/ for the deterministic route, altitude, time, geometry, and freshness logic.

  4. Review agent-app/agent.py and agent-app/static/index.html for tool selection, evidence labeling, and the analyst experience shown in the video.

  5. Review agent-app/evaluation.py for the mission-focused MLflow evaluation demonstrated in the submitted materials.

How to read the project without being a programmer

Think of the project as five connected parts:

Project part

Plain-language role

Source evidence

MCP server

The front desk. It tells an AI assistant which aviation capabilities are available and accepts structured requests.

src/server/app.py

MCP tools

Six specialized questions the assistant can ask, such as “What matters along this route?” or “Which flights are approaching a restriction?”

src/server/tools/

Aviation analysis

The calculator. It compares routes, locations, times, altitudes, and hazard boundaries using FAA data.

src/server/tool_resources/queries/

Analyst workspace

The visual experience shown in the video: map, priority information, chat, tool-use labels, and evaluation results.

agent-app/

Evaluation

The quality check. It asks repeatable mission questions and records whether the agent used evidence, selected the right capability, and produced a useful answer.

agent-app/evaluation.py

The language model does not independently calculate whether a flight intersects a hazard. The MCP tools retrieve and calculate the aviation evidence; the model selects a tool and explains the returned result in more familiar language.

Quick glossary

  • NOTAM — a time-sensitive aviation notice about a condition such as a runway closure, navigation outage, temporary restriction, or unmanned-aircraft activity.

  • MCP — a standard way for an AI application to discover and call approved tools instead of inventing an answer or connecting directly to every system.

  • TFR — a temporary flight restriction affecting a defined area, time, and sometimes altitude range.

  • Flight plan — the filed or planned route and supporting details used to evaluate what may affect a flight before departure.

  • PostGIS — the mapping capability used by the database to compare flight paths with aviation hazard areas.

  • MLflow — the evaluation and tracing system used to record what the agent did, which tools it called, how long it took, and how the answer was scored.

Related MCP server: Flight MCP Server

The Problem: NOTAM Overload Without Flight Context

Traditional NOTAM retrieval can answer, “What notices exist?” The operational question is harder:

  • Which notices intersect this flight's planned or remaining route?

  • Will the notice be active when the aircraft reaches it?

  • Does the aircraft's altitude overlap the affected altitude range?

  • Is a nearby flight actually entering restricted airspace, or merely passing above or beside it?

  • Which notice deserves attention first?

  • Which conclusions are confirmed, and which remain uncertain because altitude, schedule, terrain, or freshness evidence is incomplete?

The difference between a large notice list and a useful briefing is context. Notam Watch combines that context before asking the model to explain it.

The Solution

The project has two user-facing components:

  1. Notam Watch Service — a standardized, read-only MCP interface over live and reference aviation data.

  2. Notam Watch — an analyst dashboard and AI assistant that uses the MCP server, shows which tools were called, and applies the returned evidence to the map and priority queue.

The MCP tools perform the deterministic retrieval and geospatial analysis. The language model selects the appropriate tool, prioritizes the returned evidence, explains aviation terminology, and communicates uncertainty in plain language.

The Operational Experience

The dashboard is designed around the workflow of a 24-hour aviation analyst:

  • A national map displays flight positions, relevant NOTAM reference locations, and route context.

  • Summary cards highlight critical notices, high-priority notices, unresolved cases, and flights currently on screen.

  • A priority queue explains why each notice is shown and which flights are associated with it.

  • The assistant accepts everyday-language questions about flights, routes, airports, temporary restrictions, and safety notices.

  • Every answer is labeled as either MCP-grounded or model-only.

  • MCP-grounded answers display the exact tools selected by the agent.

  • Selecting a NOTAM produces a plain-language explanation for users who do not routinely read coded NOTAM text.

  • Question-specific tool evidence filters the dashboard, connecting the answer to visible flights and hazards.

  • A one-time startup briefing names the MCP tool used to populate the temporary flight restriction snapshot. Manual refreshes preserve the current map location.

Six MCP Tools, One Operational Workflow

MCP tool

Operational question it answers

find_flight_plan

“What future or planned flight matches this airline flight number, origin, and approximate departure time?”

get_route_notams

“Which departure, en-route, and arrival notices matter to this planned flight?”

get_flights_approaching_notams

“Which flights are inside or approaching an active temporary restriction or special-use airspace?”

get_flight_briefing

“What should this currently tracked flight know about first?”

find_route_deviations_near_notams

“Which flights are moving away from their planned routes near newly active NOTAM areas?”

search_notams

“What current runway, approach, airspace, or unmanned-aircraft notices match this airport or location?”

The server also exposes five reusable MCP prompts and an nfs://info/server resource describing its capabilities and data boundaries.

Try: “I’m flying from JFK to Washington National (KDCA) at 30,000 feet. Which flight safety notices matter most, and why?”

Why MCP Matters Here

Without MCP, an AI assistant may produce a fluent explanation without retrieving current evidence. With MCP:

  • Tool descriptions tell the model which aviation capability to select.

  • Typed inputs constrain flight, airport, time, altitude, location, and hazard filters.

  • Structured outputs preserve callsigns, routes, timing, altitude relationships, NOTAM identifiers, geometry evidence, and freshness metadata.

  • The UI can show exactly when a tool was used and replay the same evidence on the map.

  • The server remains reusable by clients other than this demonstration app.

The result is not simply a chatbot connected to a database. It is a governed interface between an AI agent and aviation-specific analytical capabilities.

Architecture

flowchart LR
    NMS[FAA NMS NOTAMs] --> PIPE[Ingestion and normalization]
    SWIM[FAA SWIM / TFMS flights] --> PIPE
    NASR[FAA airports and aircraft reference] --> PIPE
    SUA[Special-use airspace] --> PIPE
    PIPE --> GOLD[(PostgreSQL / PostGIS gold layer)]
    GOLD --> MCP[Notam Watch Service]
    MCP --> AGENT[AI agent]
    AGENT --> UI[Notam Watch]
    UI --> MAP[Map and priority queue]
    AGENT --> MLFLOW[MLflow traces and evaluation]

Data and analysis

  • FAA NMS NOTAMs provide current notices and published hazard geometry.

  • FAA SWIM/TFMS provides flight positions and planned routes.

  • NASR and aircraft reference data provide airport and aircraft context.

  • Special-use airspace data provides named areas and published schedules.

  • PostgreSQL/PostGIS performs route-corridor, area, proximity, and vertical relevance analysis.

  • Successful tool results include data_status freshness information.

The MCP server reads from the serving database but does not write to it. The Databricks ingestion pipeline runs separately from the MCP runtime.

Testing and Evaluation

MLflow agent evaluation

The application includes a nine-question mission-focused evaluation suite that runs through the real agent and MCP tools. It tests whether the system can:

  • Identify the most important notices for a planned flight.

  • Reduce noise using route and altitude evidence.

  • Prioritize arrival runway and approach impacts.

  • Find flights entering temporary or special-use airspace.

  • Separate confirmed altitude conflicts from altitude-unknown cases.

  • Identify route deviations without claiming unsupported causation.

  • Combine multiple MCP tools into a prioritized flight briefing.

  • Rank airport outages by operational impact.

  • Translate coded NOTAM text into plain language without changing its facts.

MLflow records tool selection, tool-call budget, tool errors, response latency, complete responses, and trace identifiers. Answer and mission quality can be scored when the LLM judges are enabled and available. The UI exposes these results in the Evaluate modal so reviewers can inspect individual answers rather than relying only on aggregate scores.

The documented nine-question run on November 20, 2026 recorded:

  • 9 of 9 mission questions completed.

  • 9 of 9 selected the expected MCP capability.

  • 9 of 9 stayed within the defined tool-call budget.

  • 0 failed evaluation cases.

These structural agent-evaluation results were saved in MLflow in the local Docker continuity environment. They are structural results, not judged answer quality, operational certification, or a replacement for human aviation review.

Automated tests

uv sync --group dev
uv run pytest
uv run ruff check .

The repository includes tests for tool contracts, query behavior, SQL rendering, schedule and altitude logic, dashboard normalization, and ingestion behavior.

Security and Operational Boundaries

  • The MCP server is read-only and exposes no operational write tools.

  • Database queries use typed inputs and parameterized SQL.

  • Credentials are supplied through environment variables or managed Databricks resources and are not committed to the repository.

  • Databricks app-to-app calls use the application service principal.

  • Tool responses expose freshness and uncertainty instead of allowing the model to imply certainty that the data does not support.

  • The agent is instructed not to invent flights, NOTAMs, destinations, or unsupported causal explanations.

  • All results remain advisory and must be verified through authoritative FAA and operational procedures.

Known Limitations and Future Work

  • Map markers show representative NOTAM locations; MCP filtering uses the full stored hazard geometry.

  • Without terrain elevation, the tool leaves above-ground-level altitude relationships unresolved rather than treating them as confirmed or irrelevant.

  • Live-flight conclusions depend on the freshness and completeness of the FAA source feeds.

  • Airline schedules and filed flight plans can change, and some future flights may not yet be available in TFMS.

  • As additional patterns were discovered in real data, the project required iterative changes to the data model. Production governance should preserve that ability while versioning tool and schema contracts.

Future Considerations

Roadmap only — not implemented in the current app or MCP server.

  • Route-specific weather alerts. Match new or materially changed icing, turbulence, and thunderstorm advisories to a flight's route, altitude, and expected time through the area. Show what changed and flag stale or missing weather information rather than treating it as clear conditions.

  • Rerouting after an FAA ground stop. Use FAA advisories and filed flight plans to show which departures are held and when restrictions change. Once restrictions allow it, compare published reroutes and later departure windows for dispatcher review. The service would not file flight plans, release flights, or issue clearances.

Start by replaying archived advisories and flight plans to measure warning lead time, missed impacts, and duplicate alerts.

Deployment and Continuity

The hackathon implementation was designed to run on Databricks Apps with a Lakebase PostgreSQL/PostGIS serving layer, Databricks model serving, and MLflow. The standalone Docker environment used to record the evaluation is not included in this source submission.

Databricks hackathon deployment

The Databricks architecture uses two Apps:

  1. Deploy the repository root as the mcp-nfs MCP server.

  2. Deploy agent-app/ as the nfs-aviation-agent dashboard.

The server reads from a Lakebase PostgreSQL/PostGIS serving layer. The agent app uses Databricks app resources for MCP access, model serving, and MLflow tracing. See agent-app/README.md and ingestion/README.md for deployment details.

MCP server development

Install uv, then run:

uv sync --group dev
uv run python main.py

The default transport is stdio, suitable for an MCP client. To use streamable HTTP:

MCP_TRANSPORT=streamable-http uv run python main.py

The default endpoints are:

  • MCP: http://localhost:8000/mcp

  • Health: http://localhost:8000/health

  • Version: http://localhost:8000/version

Repository Guide

src/server/       MCP server, tools, prompts, resources, and query layer
agent-app/        Map-centered analyst UI, agent, and MLflow evaluation
ingestion/        Databricks jobs and aviation data normalization
tests/            MCP server and dashboard tests

Tool implementation map

MCP tool

Query implementation

Primary SQL

find_flight_plan

queries/flight_plans.py

find_flight_plans.sql

get_route_notams

queries/route_notams.py

route_by_*.sql, route_great_circle.sql, hazards_along_route.sql, airport_notams.sql

get_flights_approaching_notams

queries/flights_approaching.py, queries/airspace.py

flights_approaching_hazards.sql, sua_published_times.sql, sua_airspace.sql

get_flight_briefing

queries/flight_briefing.py

flight_briefing.sql and route-corridor analysis

find_route_deviations_near_notams

queries/route_deviations.py

route_deviations.sql

search_notams

queries/search.py

search_notams.sql

Project Origin

The idea grew from earlier work on manually prioritizing and filtering NOTAMs. That work demonstrated both the value of flight-specific filtering and the cost of continually adding new rules as previously unseen data patterns appeared.

MCP provides a path to accelerate that modernization: keep the deterministic aviation analysis in reusable, testable tools while allowing different AI clients to ask operational questions in everyday language.

License

The Notam Watch project code, including the code that retrieves FAA data, is available under the MIT License. This license does not grant rights to FAA data obtained through SWIM or the NOTAM Management Service (NMS), or to third-party materials. Those remain subject to their applicable terms.

Available Tools

6 tools
find_flight_planFind filed flight plansA
Read-onlyIdempotent

Find current or future filed TFMS plans for a callsign.

Use before get_route_notams when a user gives an airline/ATC callsign but does not know the destination. Origin and destination are optional disambiguators. departure_time defaults to now and the search uses a symmetric time window. Results may include a filed plan without a live aircraft position. This is not an airline schedule lookup; if no TFMS plan is present, report that limitation rather than guessing.

Inputs: callsign (required), limit, origin, destination, +2 more. Returns: object

find_route_deviations_near_notamsOff-plan flights near NOTAMsA
Read-onlyIdempotent

Route-conformance scan: live flights that are off their TFMS planned route, paired with the nearest active NOTAM hazard area and whether their original plan crossed it.

Use for analyst questions such as "are flights deviating around the new TFR?" or "who is not following their filed route near NOTAM airspace?". A deviating flight whose plan crosses an active NOTAM area is a candidate avoidance/reroute; explain with that caveat.

Inputs: limit, near_notam_nm, min_deviation_nm, require_nearby_notam. Returns: object

get_flight_briefingLive flight briefingA
Read-onlyIdempotent

Everything known about one live flight: position, altitude, speed, aircraft type with FAA characteristics (wingspan, weight class, approach category), filed route and ETA, how far it is off its planned route right now, NOTAM hazard areas ahead on the remaining route, and destination airport NOTAMs around its ETA.

Use for "what should DAL636 know about?" or to check whether a specific flight is conforming to its plan.

Inputs: callsign (required), limit, corridor_nm. Returns: object

get_flights_approaching_notamsFlights entering NOTAM airspaceA
Read-onlyIdempotent

Airspace watch: live flights inside, or on course to enter, active NOTAM hazard areas (TFRs, restricted/special-use airspace, UAS areas, etc.) within the next horizon_minutes.

Use for controller/operations questions like "which flights are about to enter any TFR?" (hazard_type='tfr', nothing else - one call covers every active TFR nationwide; do NOT call search_notams first or loop per NOTAM), "which flights are heading into restricted area R-5206?" (airspace='R-5206') or "anything about to enter NOTAM airspace near DCA?" (airport='DCA', optionally with hazard_type). Give hazard_type alone (tfr/sua/warning), or a notam_id, an airspace, an airport, or a latitude/longitude (with radius_nm), optionally combined with hazard_type. Special use airspace activations (!SUA NOTAMs) are drawn with the FAA's charted SUA boundary. Each flight is projected along its TFMS planned route (or its current track if off-plan); results give minutes and distance to entry, current vs planned altitude relative to the NOTAM's altitude band, whether the NOTAM's daily/weekday schedule applies at entry, and the NOTAM text. NOTAMs publishing an identical area are evaluated separately, then merged per flight; hazard.same_area_notam_evidence retains each NOTAM's schedule and altitude assessment. counts splits encounters into 'confirmed' (altitude overlaps the band) and 'altitude_unknown' (including AGL bands that need terrain elevation); report both numbers, not just the total. Confirmed are listed first.

Inputs: limit, airport, airspace, latitude, +8 more. Returns: object

get_route_notamsNOTAMs for a planned flightA
Read-onlyIdempotent

Pre-flight NOTAM briefing for a flight from origin to destination.

Use when a pilot or dispatcher asks which NOTAMs matter for a trip. Builds the route from the flight's filed TFMS route (callsign), else a recent filed route for the same city pair, else the great circle. For each NOTAM hazard area in the corridor it returns: whether the route crosses it, distance off route, where along the route, estimated pass time and altitude, phase of flight, and whether the NOTAM is vertically overlapping then. Confirmed schedule-inactive hazards at the estimated pass time are excluded; unresolved schedules remain visible. Also returns departure and arrival airport NOTAMs (runways, ILS, approaches) whose schedules overlap those windows. Rank and explain them for the user; do not assume every listed NOTAM is a conflict.

Inputs: origin (required), destination (required), limit, callsign, +4 more. Returns: object

search_notamsSearch current NOTAMsA
Read-onlyIdempotent

Search current FAA NOTAMs by location, text, Q-code and/or distance from an airport, active at a given time (default now).

Use for direct lookups ("runway closures at KORD", "UAS NOTAMs near DCA"). For trip planning prefer get_route_notams; for live traffic prefer get_flights_approaching_notams.

Inputs: limit, location, active_at, radius_nm, +4 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    The tools target distinct workflows, and the descriptions explicitly say when to prefer get_route_notams over search_notams or get_flights_approaching_notams. However, get_flight_briefing, get_route_notams, find_route_deviations_near_notams, and get_flights_approaching_notams all combine flight/route data with NOTAM hazard overlays, so their boundaries rely heavily on the detailed usage guidance.

    Naming Consistency5/5

    All tool names use snake_case with a clear verb_noun pattern, using find/get/search consistently with the operation type. Longer names such as find_route_deviations_near_notams and get_flights_approaching_notams remain readable and predictable.

    Tool Count5/5

    Six tools is a well-scoped set for a NOTAM watch and flight-monitoring service. Each tool appears to earn its place by covering a distinct query mode: direct search, route briefing, flight briefing, live airspace watch, route deviation scan, and flight plan lookup.

    Completeness4/5

    The surface covers the core read-only workflows: finding NOTAMs, briefing a route or flight, watching live flights near hazards, detecting route deviations, and resolving filed plans. Minor gaps remain, such as a direct standalone get_notam-by-id operation, but the existing tools allow agents to work around most needs.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A real-time flight tracking interface for LLMs that connects AI assistants to live aircraft data from ADS-B Exchange, enabling searches by location, specific flight tracking, military aircraft monitoring, and aviation pattern discovery.
      4
      -
    • A
      license
      B
      quality
      B
      maintenance
      Enables flight planning and aviation operations through intelligent airport resolution, great-circle route calculation, and aircraft performance estimation. Supports 28,000+ airports worldwide and 190+ aircraft types for comprehensive flight planning via natural language.
      46
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time aircraft tracking data from OpenSky Network combined with FAA aircraft registry information, enabling rich aviation queries that merge live flight positions with technical specifications.
      1
      MIT