


Public Hosted Server: https://ourairports.caseyjhand.com/mcp
Overview
Airports, runways, navaids, and radio frequencies worldwide from the public-domain OurAirports dataset, bundled for offline use. Resolve an airport by any code, search by name or facets, and find the airports and navaids nearest a coordinate.
Tools
| Tool |
Description |
ourairports_search_airports |
Search exact airport codes, names, keywords, and facets. Ranked summaries with offset continuation; closed airports excluded by default. |
ourairports_search_runways |
Search runways by surface, dimensions, lighting, and airport facets, optionally nearest-first from a coordinate. One row per matching runway. |
ourairports_get_airport |
Full record for one airport resolved by any code (IATA/ICAO/GPS/local/ident), with its runways and radio frequencies inline. |
ourairports_find_airports |
Airports within a radius of a coordinate, ranked nearest-first by great-circle distance, with distance and bearing. |
ourairports_find_navaids |
Navigation aids near a coordinate, serving an airport, or sharing an exact navaid ident. |
ourairports_list_countries |
Countries with airport counts and optional nested regions, filtered by country and/or continent. The lookup table for valid country/region filters on both search tools. |
Resources
| Resource |
Description |
airport://{code} |
Single airport record by any code (IATA/ICAO/GPS/local/ident), with runways and frequencies inline. |
All data is also reachable via ourairports_get_airport — tool-only clients lose nothing. Not exposed as a resource list (enumerating 85k airports is a dump, not a discovery aid); discovery is ourairports_search_airports.
The OurAirports guide covers ambiguous codes and multi-tool airport, navaid, and runway queries. Plugin installs include it; MCP clients can read skill://ourairports-guide/SKILL.md.
Capability reference
Every tool result carries dataAsOf: when the bundled OurAirports data was published (ISO 8601 UTC), or null when the data directory has no snapshot record. It changes only when the data is refreshed. airport://{code} carries it too.
The four search/find tools accept offset (default 0). When more rows remain, pass nextOffset as the next request's offset, keeping the query unchanged; if dataAsOf differs from the first page's, the data was refreshed, so restart from offset 0. totalCount counts all filtered matches; truncated, shown, and cap describe a page with more results after it. A past-end page is empty but retains its total.
Page ceilings are 100 rows for search and 50 for find. Explicit positive integer limits above the ceiling clamp with a notice, request log, and counter increment. Set OURAIRPORTS_CLAMP_LIMITS=false to restore strict rejection. Omitted limits use OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), bounded by the tool's ceiling.
ourairports_search_airports tool
- Free-text search over name, municipality, and keywords; tokens are AND-matched (word order and partial words handled)
- Exact codes match across IATA, ICAO, GPS, local code, and ident; hyphenated codes match whole. A query that is one exact code leads with its holders and the airports whose municipality contains that word as a whole word; airports that only carry it in their name rank after them. Name tokens also accept
intl, rgnl, muni, fld, mem, ft, and mt alongside their full spellings, and st/saint and ste/sainte in both directions; the typed form keeps matching too. Letters such as ł, ø, and ß fold to ASCII, so lodz finds Łódź. Stopword-only or punctuation-only queries retain their no-searchable-terms result; use ourairports_get_airport for an explicit code
- Faceted filters:
country (two letters), region (two letters followed by one or two hyphen-separated segments of 1–3 letters/digits), type, and scheduled_service. Codes are case-insensitive with surrounding whitespace ignored; literal "" is unset, whitespace-only is invalid. Malformed codes fail argument validation; codes absent from the bundled tables raise unknown_country / unknown_region with discovery guidance. Valid codes with no matching airports remain empty successes
scheduled_service keeps airports with (true) or without (false) scheduled airline service; omit it for both. OurAirports records airline service at the field, not current schedules or routes
- Closed airports excluded by default; opt in with
include_closed, or set type to closed to select only closed airports
- An empty result's notice names the filters set and suggests only changes that could add rows
- Results carry the full code set, coordinates, and recorded keywords for chaining into
ourairports_get_airport. Ranking weighs an IATA match, airport type and scheduled service, and the query's words appearing in order in the airport name; within the code tier, a municipality holder wins a tie against a code-only holder
ourairports_search_runways tool
- Airport facets (
country, region, type, scheduled_service) narrow the airports first; runway facets (surface, min_length_ft, min_width_ft, lighted) then filter their runways
- Country/region facets follow the same shape, empty-string, normalization, and bundled-membership rules as
ourairports_search_airports; valid empty selections remain successful
surface accepts a case-insensitive substring or a nonempty array of substrings matched with OR. Raw values have no controlled vocabulary: asp matches ASP, ASPH, and Asphalt; con and pem cover other recorded surfaces
- Optional
latitude + longitude ranks qualifying runways by the parent airport's coordinates, with radius_km from 1–20,016 (default 100). Both coordinates are required together; a radius alone is invalid
- Returns one flat
{ airport, runway, distanceKm, bearingDeg } row per matching runway — an airport with three matching runways contributes three rows. Distance and bearing are null without coordinates; rows then retain dataset traversal order
lengthFt and min_length_ft are the full runway surface as OurAirports records it, including displaced thresholds and overruns — not usable takeoff or landing distance; each runway also carries leDisplacedThresholdFt / heDisplacedThresholdFt (null when none is recorded)
- A runway whose length or width is unknown is excluded when the matching
min_*_ft filter is set — never assumed to meet a threshold the data can't confirm
- Closed airports and closed runways are both excluded unless
include_closed_airports / include_closed_runways is set; type: closed selects runways at closed airports without the airport flag, while closed runways still need theirs
- An empty result's notice names the filters set,
surface included, and suggests only changes that could add rows
- Each runway also carries its end-center coordinates and elevation above mean sea level, distinct from displaced thresholds
ourairports_get_airport tool
- Resolves a single
code case-insensitively across all five identifier spaces (priority: ident → ICAO → IATA → GPS → local); surrounding whitespace is ignored
- Runways and radio frequencies inline;
include trims the response to a subset, and the output's included field distinguishes a relation omitted by include from one that genuinely has no records
- Echoes the airport's complete code set plus a
resolvedVia / resolutionNote; when other airports carry the same code, the note names each one (ident, country, code space) and says whether resolution priority or dataset row order picked this airport, so a wrong resolution is self-correcting — pass the other airport's ident
- Runways carry full-surface
lengthFt, per-end displaced thresholds, and each end center's latitude, longitude, and elevation in feet above mean sea level
- Airport detail includes recorded keywords,
wikipediaLink, and homeLink; valid web links are clickable in text output, and malformed recorded values remain visible as text
- Absent codes reported as
null; closed airports always resolve
unknown_code error with a recovery hint when no identifier space matches
ourairports_find_airports tool
- Great-circle (haversine) ranking, nearest-first, each result with
distanceKm and bearingDeg (degrees true) from the query point
radius_km (1–20,016, default 100); optional type and scheduled_service filters; include_closed opt-in, which type: closed does not need
- Coordinate in, ranked airports out — no geocoding; resolve place names to lat/lon upstream first
totalCount is the filtered in-radius count before paging; nextOffset reaches farther results
- Empty-radius guidance names the filters set and suggests only changes that could add rows: a wider radius below the global ceiling, dropping a filter, or the closed opt-in for an untyped search
ourairports_find_navaids tool
- Coordinate mode:
latitude + longitude (+ optional radius_km, 1–20,016, default 100) ranks navaids nearest-first with distance and bearing
- Airport mode:
airport_code returns the navaids serving that airport in dataset order, with distance and bearing from the airport reference point
- Ident mode:
ident matches an exact navaid code, case-insensitively after trimming, and returns all holders in dataset order, including navaids without an associated airport. type can narrow shared idents
- Exactly one complete mode required — overlapping modes, no mode, or incomplete coordinates raise
mode_conflict; incomplete-coordinate messages name the missing counterpart
frequencyKhz is the stored value for every type (a VOR on 114.5 MHz reads 114500); frequencyMhz carries the VHF frequency of a VOR or VOR-DME and the paired VHF frequency of a DME, TACAN, or VORTAC, and is null for NDB and NDB-DME, which tune in kHz; an upstream -1 placeholder reads as null
- Each navaid carries its service-volume metadata as recorded upstream:
usageType (HI, LO, BOTH, TERMINAL, RNAV), power, magneticVariationDeg (actual, positive east), slavedVariationDeg (the variation built into the radials), and dmeFrequencyKhz (the DME's paired VHF frequency) — null where the dataset has no value
totalCount is the match count before paging in every mode. Ident-mode results have null distance and bearing; airportIdent is populated only in airport mode
- Airport mode distinguishes "airport not found" (
unknown_code error) from "airport found but has no associated navaids" (empty list with a note)
- Airport mode adds a
resolutionNote when airport_code is also a code of other airports, naming them by ident — the same note ourairports_get_airport returns
ourairports_list_countries tool
- Optional
country and continent (AF, AN, AS, EU, NA, OC, SA) filters combine as AND; optional include_regions nests regions by their recorded country association (so KS-U-A belongs to XK)
- Use
{ "country": "US", "include_regions": true } for one country's regions. Unscoped include_regions returns the entire region table; unscoped and continent-only requests remain accepted
country uses the search tools' shape, normalization, and membership rules; "" is unset, whitespace-only is invalid, and an absent code raises unknown_country
- Airport counts exclude closed airports
- Countries sorted by name; the lookup table for valid
country / region filters used by ourairports_search_airports and ourairports_search_runways
- A country/continent mismatch returns an empty success with a notice naming both filters;
totalCount counts returned countries
airport://{code} resource
- Same record as
ourairports_get_airport, including the same resolutionNote — runways and radio frequencies always inline, so there is no include / included
code resolves case-insensitively across all five identifier spaces (priority: ident → ICAO → IATA → GPS → local)
unknown_code error with a recovery hint when no identifier space matches
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
OurAirports-specific: