io.github.cyanheads/ourairports-mcp-server is an MCP server published by io.github.cyanheads, hosted at ourairports.caseyjhand.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 6 tools, including ourairports_search_airports, ourairports_search_runways, ourairports_get_airport, ourairports_find_airports, ourairports_find_navaids.
Offline global aviation reference: airports, runways, navaids, frequencies from OurAirports.
428 connections through 5 shared values. Tap any node.
Search the bundled OurAirports corpus by exact airport code, free text (name, municipality, keywords), and/or facets (country, region, type). All query terms must match. Text supports forward prefixes and common abbreviations such as intl. Exact code matches lead code-only searches, followed by ranked summaries favoring operational and larger airports. Use ourairports_get_airport for full records by code, ourairports_list_countries for valid country and region codes, and ourairports_find_airports for nearest airports. OurAirports is community-edited — not authoritative for flight operations.
| Parameter | Type | Description |
|---|---|---|
| type | string | Restrict to one airport type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed. |
| limit | integer | Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 100. Larger positive integers clamp to 100 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| query | string | Exact IATA, ICAO, GPS, local code or ident, or text from an airport name, municipality, or keywords. Omit to browse by facets. |
| offset | integer | Matching airports to skip. Defaults to 0. Use nextOffset to continue. |
| region | any | Region code from ourairports_list_countries with include_regions (e.g. US-WA or KS-U-A). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid. |
| country | any | Country code from ourairports_list_countries (e.g. US). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid. |
| include_closed | boolean | Include airports of type "closed". Off by default — closed airports pollute the live-flight grounding use case. |
{
"name": "ourairports_search_airports",
"title": "Search Airports",
"description": "Search the bundled OurAirports corpus by exact airport code, free text (name, municipality, keywords), and/or facets (country, region, type). All query terms must match. Text supports forward prefixes and common abbreviations such as intl. Exact code matches lead code-only searches, followed by ranked summaries favoring operational and larger airports. Use ourairports_get_airport for full records by code, ourairports_list_countries for valid country and region codes, and ourairports_find_airports for nearest airports. OurAirports is community-edited — not authoritative for flight operations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"large_airport",
"medium_airport",
"small_airport",
"heliport",
"seaplane_base",
"balloonport",
"closed"
],
"type": "string",
"description": "Restrict to one airport type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed."
},
"limit": {
"type": "integer",
"minimum": 1,
"description": "Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 100. Larger positive integers clamp to 100 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection."
},
"query": {
"type": "string",
"description": "Exact IATA, ICAO, GPS, local code or ident, or text from an airport name, municipality, or keywords. Omit to browse by facets."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Matching airports to skip. Defaults to 0. Use nextOffset to continue."
},
"region": {
"anyOf": [
{
"type": "string",
"const": ""
},
{
"type": "string",
"pattern": "^[A-Za-z]{2}(-[A-Za-z0-9]{1,3}){1,2}$",
"description": "Region code with one or two segments."
}
],
"description": "Region code from ourairports_list_countries with include_regions (e.g. US-WA or KS-U-A). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid."
},
"country": {
"anyOf": [
{
"type": "string",
"const": ""
},
{
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Two-letter country code."
}
],
"description": "Country code from ourairports_list_countries (e.g. US). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid."
},
"include_closed": {
"type": "boolean",
"default": false,
"description": "Include airports of type \"closed\". Off by default — closed airports pollute the live-flight grounding use case."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"airports",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "The limit that was applied. Present only when results were truncated."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"unknown_country",
"unknown_region"
],
"description": "Machine-readable failure mode. Declared by this tool: `unknown_country`: The country code is absent from the bundled country table. `unknown_region`: The region code is absent from the bundled region table. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Number of airports returned. Present only when results were truncated."
},
"notice": {
"type": "string",
"description": "Guidance for an empty page, continuation, or a clamped limit."
},
"airports": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"ident",
"type",
"name",
"latitudeDeg",
"longitudeDeg",
"elevationFt",
"continent",
"isoCountry",
"countryName",
"isoRegion",
"regionName",
"municipality",
"scheduledService",
"icaoCode",
"iataCode",
"gpsCode",
"localCode",
"keywords"
],
"properties": {
"id": {
"type": "number",
"description": "OurAirports internal integer id (the join key for runways/frequencies)."
},
"name": {
"type": "string",
"description": "Airport name."
},
"type": {
"type": "string",
"description": "Airport type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed."
},
"ident": {
"type": "string",
"description": "OurAirports universal identifier — globally unique; often equals the ICAO or GPS code."
},
"gpsCode": {
"type": [
"string",
"null"
],
"description": "GPS code, or null."
},
"iataCode": {
"type": [
"string",
"null"
],
"description": "3-letter IATA code, or null when the airport has none (~89% of fields)."
},
"icaoCode": {
"type": [
"string",
"null"
],
"description": "4-letter ICAO code, or null when the airport has none (~88% of fields)."
},
"keywords": {
"type": [
"string",
"null"
],
"description": "Recorded aliases and other search keywords, or null."
},
"continent": {
"type": [
"string",
"null"
],
"description": "Two-letter continent code (AF, AN, AS, EU, NA, OC, SA), or null."
},
"isoRegion": {
"type": [
"string",
"null"
],
"description": "ISO 3166-2 region code (e.g. US-WA), or null."
},
"localCode": {
"type": [
"string",
"null"
],
"description": "National/local code (e.g. FAA LID), or null."
},
"isoCountry": {
"type": [
"string",
"null"
],
"description": "ISO 3166-1 alpha-2 country code, or null."
},
"regionName": {
"type": [
"string",
"null"
],
"description": "Resolved region name, or null when the region code is unknown."
},
"countryName": {
"type": [
"string",
"null"
],
"description": "Resolved country name, or null when the country code is unknown."
},
"elevationFt": {
"type": [
"number",
"null"
],
"description": "Field elevation in feet, or null when unknown."
},
"latitudeDeg": {
"type": "number",
"description": "Latitude in decimal degrees (WGS84)."
},
"longitudeDeg": {
"type": "number",
"description": "Longitude in decimal degrees (WGS84)."
},
"municipality": {
"type": [
"string",
"null"
],
"description": "Served municipality, or null."
},
"scheduledService": {
"type": "boolean",
"description": "True when the airport has scheduled airline service."
}
},
"description": "An airport summary with its full (sparse) code set and coordinates.",
"additionalProperties": false
},
"description": "Matching airports, ranked best-first. Codes the airport lacks are null."
},
"truncated": {
"type": "boolean",
"description": "Present and true only when matches remain after this page."
},
"nextOffset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Offset for the next page with the same query."
},
"totalCount": {
"type": "number",
"description": "Total matching airports before offset and limit."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Search the bundled OurAirports corpus by airport and runway attributes. Returns one row per matching runway, paired with its airport. Supply latitude and longitude together to filter by radius and rank by distance to each parent airport. Surface matches any supplied fragment as a case-insensitive substring of the recorded surface. Lengths describe the full runway surface, including displaced thresholds and overruns. Minimum length and width filters exclude runways missing the corresponding measurement. Closed airports and runways are excluded unless their respective flags are set. Use nextOffset to continue the same query and ourairports_list_countries to find valid country and region codes. OurAirports is community-edited. Consult official sources for flight operations.
| Parameter | Type | Description |
|---|---|---|
| type | string | Restrict to runways at airports of one type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed. |
| limit | integer | Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 100. Larger positive integers clamp to 100 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection. |
| offset | integer | Matching runway rows to skip. Defaults to 0. Use nextOffset to continue. |
| region | any | Region code from ourairports_list_countries with include_regions (e.g. US-WA or KS-U-A). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid. |
| country | any | Country code from ourairports_list_countries (e.g. US). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid. |
| lighted | boolean | Filter by runway lighting: true for lighted runways only, false for unlighted only. Omit to include both. |
| surface | any | One fragment or a non-empty array of fragments. A runway qualifies when any fragment matches a case-insensitive substring of its recorded surface. For example, ["asp", "con", "pem"] matches records such as ASP, ASPH, CON, or PEM. |
| latitude | number | Query point latitude in decimal degrees (WGS84). Supply with longitude. |
| longitude | number | Query point longitude in decimal degrees (WGS84). Supply with latitude. |
| radius_km | number | Search radius in kilometers (1–20,016). Defaults to 100 when coordinates are supplied. |
| min_width_ft | number | Minimum runway width in feet (inclusive). Runways with an unknown width are excluded when this is set, never assumed to pass. |
| min_length_ft | number | Minimum length of the full runway surface in feet (inclusive), matched against lengthFt — which includes displaced thresholds and overruns, so this is not a usable-distance filter. Runways with an unknown length are excluded when this is set, never assumed to pass. |
| include_closed_runways | boolean | Include runways flagged closed. Off by default. |
| include_closed_airports | boolean | Include runways at airports of type "closed". Off by default. |
{
"name": "ourairports_search_runways",
"title": "Search Runways",
"description": "Search the bundled OurAirports corpus by airport and runway attributes. Returns one row per matching runway, paired with its airport. Supply latitude and longitude together to filter by radius and rank by distance to each parent airport. Surface matches any supplied fragment as a case-insensitive substring of the recorded surface. Lengths describe the full runway surface, including displaced thresholds and overruns. Minimum length and width filters exclude runways missing the corresponding measurement. Closed airports and runways are excluded unless their respective flags are set. Use nextOffset to continue the same query and ourairports_list_countries to find valid country and region codes. OurAirports is community-edited. Consult official sources for flight operations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"large_airport",
"medium_airport",
"small_airport",
"heliport",
"seaplane_base",
"balloonport",
"closed"
],
"type": "string",
"description": "Restrict to runways at airports of one type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed."
},
"limit": {
"type": "integer",
"minimum": 1,
"description": "Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 100. Larger positive integers clamp to 100 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Matching runway rows to skip. Defaults to 0. Use nextOffset to continue."
},
"region": {
"anyOf": [
{
"type": "string",
"const": ""
},
{
"type": "string",
"pattern": "^[A-Za-z]{2}(-[A-Za-z0-9]{1,3}){1,2}$",
"description": "Region code with one or two segments."
}
],
"description": "Region code from ourairports_list_countries with include_regions (e.g. US-WA or KS-U-A). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid."
},
"country": {
"anyOf": [
{
"type": "string",
"const": ""
},
{
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Two-letter country code."
}
],
"description": "Country code from ourairports_list_countries (e.g. US). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid."
},
"lighted": {
"type": "boolean",
"description": "Filter by runway lighting: true for lighted runways only, false for unlighted only. Omit to include both."
},
"surface": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "One surface fragment."
},
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "Surface fragments combined with OR."
}
],
"description": "One fragment or a non-empty array of fragments. A runway qualifies when any fragment matches a case-insensitive substring of its recorded surface. For example, [\"asp\", \"con\", \"pem\"] matches records such as ASP, ASPH, CON, or PEM."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Query point latitude in decimal degrees (WGS84). Supply with longitude."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Query point longitude in decimal degrees (WGS84). Supply with latitude."
},
"radius_km": {
"type": "number",
"maximum": 20016,
"minimum": 1,
"description": "Search radius in kilometers (1–20,016). Defaults to 100 when coordinates are supplied."
},
"min_width_ft": {
"type": "number",
"minimum": 0,
"description": "Minimum runway width in feet (inclusive). Runways with an unknown width are excluded when this is set, never assumed to pass."
},
"min_length_ft": {
"type": "number",
"minimum": 0,
"description": "Minimum length of the full runway surface in feet (inclusive), matched against lengthFt — which includes displaced thresholds and overruns, so this is not a usable-distance filter. Runways with an unknown length are excluded when this is set, never assumed to pass."
},
"include_closed_runways": {
"type": "boolean",
"default": false,
"description": "Include runways flagged closed. Off by default."
},
"include_closed_airports": {
"type": "boolean",
"default": false,
"description": "Include runways at airports of type \"closed\". Off by default."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"runways",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "The limit that was applied. Present only when results were truncated."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"incomplete_coordinates",
"unknown_country",
"unknown_region"
],
"description": "Machine-readable failure mode. Declared by this tool: `incomplete_coordinates`: Only one coordinate is supplied, or a radius is supplied without both coordinates. `unknown_country`: The country code is absent from the bundled country table. `unknown_region`: The region code is absent from the bundled region table. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Number of runway rows returned. Present only when results were truncated."
},
"notice": {
"type": "string",
"description": "Guidance for an empty page, continuation, or a clamped limit."
},
"runways": {
"type": "array",
"items": {
"type": "object",
"required": [
"airport",
"runway",
"distanceKm",
"bearingDeg"
],
"properties": {
"runway": {
"type": "object",
"required": [
"id",
"lengthFt",
"widthFt",
"surface",
"lighted",
"closed",
"leIdent",
"leLatitudeDeg",
"leLongitudeDeg",
"leElevationFt",
"leHeadingDegT",
"leDisplacedThresholdFt",
"heIdent",
"heLatitudeDeg",
"heLongitudeDeg",
"heElevationFt",
"heHeadingDegT",
"heDisplacedThresholdFt"
],
"properties": {
"id": {
"type": "number",
"description": "OurAirports runway id."
},
"closed": {
"type": "boolean",
"description": "True when the runway is closed."
},
"heIdent": {
"type": [
"string",
"null"
],
"description": "High-end runway designator (e.g. 34R), or null."
},
"leIdent": {
"type": [
"string",
"null"
],
"description": "Low-end runway designator (e.g. 16L), or null."
},
"lighted": {
"type": "boolean",
"description": "True when the runway is lighted."
},
"surface": {
"type": [
"string",
"null"
],
"description": "Surface material as recorded upstream (free text, e.g. ASP, CON, GRS), or null."
},
"widthFt": {
"type": [
"number",
"null"
],
"description": "Runway width in feet, or null when unknown."
},
"lengthFt": {
"type": [
"number",
"null"
],
"description": "Length of the full runway surface in feet, including displaced thresholds and overrun areas — not the usable takeoff or landing distance. Null when unknown."
},
"heElevationFt": {
"type": [
"number",
"null"
],
"description": "Elevation at the high-end center in feet above mean sea level, or null."
},
"heHeadingDegT": {
"type": [
"number",
"null"
],
"description": "High-end true heading in degrees, or null."
},
"heLatitudeDeg": {
"type": [
"number",
"null"
],
"description": "Latitude at the high-end center in decimal degrees (WGS84), or null."
},
"leElevationFt": {
"type": [
"number",
"null"
],
"description": "Elevation at the low-end center in feet above mean sea level, or null."
},
"leHeadingDegT": {
"type": [
"number",
"null"
],
"description": "Low-end true heading in degrees, or null."
},
"leLatitudeDeg": {
"type": [
"number",
"null"
],
"description": "Latitude at the low-end center in decimal degrees (WGS84), or null."
},
"heLongitudeDeg": {
"type": [
"number",
"null"
],
"description": "Longitude at the high-end center in decimal degrees (WGS84), or null."
},
"leLongitudeDeg": {
"type": [
"number",
"null"
],
"description": "Longitude at the low-end center in decimal degrees (WGS84), or null."
},
"heDisplacedThresholdFt": {
"type": [
"number",
"null"
],
"description": "Length of the displaced threshold at the high end (heIdent) in feet — part of lengthFt. Null when none is recorded."
},
"leDisplacedThresholdFt": {
"type": [
"number",
"null"
],
"description": "Length of the displaced threshold at the low end (leIdent) in feet — part of lengthFt. Null when none is recorded."
}
},
"description": "The matching runway — full-surface dimensions, surface, lighting, and per-end designators, headings, and displaced thresholds.",
"additionalProperties": false
},
"airport": {
"type": "object",
"required": [
"id",
"ident",
"type",
"name",
"latitudeDeg",
"longitudeDeg",
"elevationFt",
"continent",
"isoCountry",
"countryName",
"isoRegion",
"regionName",
"municipality",
"scheduledService",
"icaoCode",
"iataCode",
"gpsCode",
"localCode",
"keywords"
],
"properties": {
"id": {
"type": "number",
"description": "OurAirports internal integer id (the join key for runways/frequencies)."
},
"name": {
"type": "string",
"description": "Airport name."
},
"type": {
"type": "string",
"description": "Airport type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed."
},
"ident": {
"type": "string",
"description": "OurAirports universal identifier — globally unique; often equals the ICAO or GPS code."
},
"gpsCode": {
"type": [
"string",
"null"
],
"description": "GPS code, or null."
},
"iataCode": {
"type": [
"string",
"null"
],
"description": "3-letter IATA code, or null when the airport has none (~89% of fields)."
},
"icaoCode": {
"type": [
"string",
"null"
],
"description": "4-letter ICAO code, or null when the airport has none (~88% of fields)."
},
"keywords": {
"type": [
"string",
"null"
],
"description": "Recorded aliases and other search keywords, or null."
},
"continent": {
"type": [
"string",
"null"
],
"description": "Two-letter continent code (AF, AN, AS, EU, NA, OC, SA), or null."
},
"isoRegion": {
"type": [
"string",
"null"
],
"description": "ISO 3166-2 region code (e.g. US-WA), or null."
},
"localCode": {
"type": [
"string",
"null"
],
"description": "National/local code (e.g. FAA LID), or null."
},
"isoCountry": {
"type": [
"string",
"null"
],
"description": "ISO 3166-1 alpha-2 country code, or null."
},
"regionName": {
"type": [
"string",
"null"
],
"description": "Resolved region name, or null when the region code is unknown."
},
"countryName": {
"type": [
"string",
"null"
],
"description": "Resolved country name, or null when the country code is unknown."
},
"elevationFt": {
"type": [
"number",
"null"
],
"description": "Field elevation in feet, or null when unknown."
},
"latitudeDeg": {
"type": "number",
"description": "Latitude in decimal degrees (WGS84)."
},
"longitudeDeg": {
"type": "number",
"description": "Longitude in decimal degrees (WGS84)."
},
"municipality": {
"type": [
"string",
"null"
],
"description": "Served municipality, or null."
},
"scheduledService": {
"type": "boolean",
"description": "True when the airport has scheduled airline service."
}
},
"description": "The airport this runway belongs to. Codes the airport lacks are null.",
"additionalProperties": false
},
"bearingDeg": {
"type": [
"number",
"null"
],
"description": "Initial bearing to the parent airport in degrees true, or null without a query point."
},
"distanceKm": {
"type": [
"number",
"null"
],
"description": "Great-circle distance to the parent airport in kilometers, or null without a query point."
}
},
"description": "A runway paired with its airport (one row per matching runway).",
"additionalProperties": false
},
"description": "Matching runways, each paired with its airport. One row per runway — an airport with N matching runways contributes N rows."
},
"truncated": {
"type": "boolean",
"description": "Present and true only when matches remain after this page."
},
"nextOffset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Offset for the next page with the same query."
},
"totalCount": {
"type": "number",
"description": "Total matching runways before offset and limit."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Fetch the full record for one airport resolved by ANY code — IATA (SEA), ICAO (KSEA), GPS, national/local, or the OurAirports ident — with its runways and radio frequencies inline. The single `code` param is resolved case-insensitively across all five identifier spaces (priority: ident, then ICAO, IATA, GPS, local). The response always echoes the airport's complete code set and a resolutionNote naming which space matched; when other airports carry the same code, the note names each one (ident, country, code space) and why this airport won, so a wrong resolution is self-correcting — pass the other airport's ident to fetch it. Absent codes are reported as null, never an error. Runway lengths are the full runway surface (displaced thresholds and overruns included), not usable takeoff or landing distance. Closed airports always resolve. OurAirports is community-edited — not authoritative for flight operations.
| Parameter | Type | Description |
|---|---|---|
| code * | string | Any airport code: IATA (SEA), ICAO (KSEA), GPS code, national/local code, or the OurAirports ident. Case-insensitive; surrounding whitespace is ignored. |
| include | array | Which related records to include inline. Defaults to both. Pass a subset to trim the response. |
{
"name": "ourairports_get_airport",
"title": "Get Airport",
"description": "Fetch the full record for one airport resolved by ANY code — IATA (SEA), ICAO (KSEA), GPS, national/local, or the OurAirports ident — with its runways and radio frequencies inline. The single `code` param is resolved case-insensitively across all five identifier spaces (priority: ident, then ICAO, IATA, GPS, local). The response always echoes the airport's complete code set and a resolutionNote naming which space matched; when other airports carry the same code, the note names each one (ident, country, code space) and why this airport won, so a wrong resolution is self-correcting — pass the other airport's ident to fetch it. Absent codes are reported as null, never an error. Runway lengths are the full runway surface (displaced thresholds and overruns included), not usable takeoff or landing distance. Closed airports always resolve. OurAirports is community-edited — not authoritative for flight operations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"minLength": 1,
"description": "Any airport code: IATA (SEA), ICAO (KSEA), GPS code, national/local code, or the OurAirports ident. Case-insensitive; surrounding whitespace is ignored."
},
"include": {
"type": "array",
"items": {
"enum": [
"runways",
"frequencies"
],
"type": "string"
},
"default": [
"runways",
"frequencies"
],
"description": "Which related records to include inline. Defaults to both. Pass a subset to trim the response."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"airport",
"resolvedVia",
"resolutionNote",
"included",
"runways",
"frequencies"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"unknown_code"
],
"description": "Machine-readable failure mode. Declared by this tool: `unknown_code`: No airport matched the supplied code in any identifier space (IATA/ICAO/GPS/local/ident). Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"airport": {
"type": "object",
"required": [
"id",
"ident",
"type",
"name",
"latitudeDeg",
"longitudeDeg",
"elevationFt",
"continent",
"isoCountry",
"countryName",
"isoRegion",
"regionName",
"municipality",
"scheduledService",
"icaoCode",
"iataCode",
"gpsCode",
"localCode",
"keywords",
"wikipediaLink",
"homeLink"
],
"properties": {
"id": {
"type": "number",
"description": "OurAirports internal integer id (the join key for runways/frequencies)."
},
"name": {
"type": "string",
"description": "Airport name."
},
"type": {
"type": "string",
"description": "Airport type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed."
},
"ident": {
"type": "string",
"description": "OurAirports universal identifier — globally unique; often equals the ICAO or GPS code."
},
"gpsCode": {
"type": [
"string",
"null"
],
"description": "GPS code, or null."
},
"homeLink": {
"type": [
"string",
"null"
],
"description": "Recorded airport website link, or null."
},
"iataCode": {
"type": [
"string",
"null"
],
"description": "3-letter IATA code, or null when the airport has none (~89% of fields)."
},
"icaoCode": {
"type": [
"string",
"null"
],
"description": "4-letter ICAO code, or null when the airport has none (~88% of fields)."
},
"keywords": {
"type": [
"string",
"null"
],
"description": "Recorded aliases and other search keywords, or null."
},
"continent": {
"type": [
"string",
"null"
],
"description": "Two-letter continent code (AF, AN, AS, EU, NA, OC, SA), or null."
},
"isoRegion": {
"type": [
"string",
"null"
],
"description": "ISO 3166-2 region code (e.g. US-WA), or null."
},
"localCode": {
"type": [
"string",
"null"
],
"description": "National/local code (e.g. FAA LID), or null."
},
"isoCountry": {
"type": [
"string",
"null"
],
"description": "ISO 3166-1 alpha-2 country code, or null."
},
"regionName": {
"type": [
"string",
"null"
],
"description": "Resolved region name, or null when the region code is unknown."
},
"countryName": {
"type": [
"string",
"null"
],
"description": "Resolved country name, or null when the country code is unknown."
},
"elevationFt": {
"type": [
"number",
"null"
],
"description": "Field elevation in feet, or null when unknown."
},
"latitudeDeg": {
"type": "number",
"description": "Latitude in decimal degrees (WGS84)."
},
"longitudeDeg": {
"type": "number",
"description": "Longitude in decimal degrees (WGS84)."
},
"municipality": {
"type": [
"string",
"null"
],
"description": "Served municipality, or null."
},
"wikipediaLink": {
"type": [
"string",
"null"
],
"description": "Recorded Wikipedia link, or null."
},
"scheduledService": {
"type": "boolean",
"description": "True when the airport has scheduled airline service."
}
},
"description": "The resolved airport record, including its recorded links. Missing fields are null.",
"additionalProperties": false
},
"runways": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"lengthFt",
"widthFt",
"surface",
"lighted",
"closed",
"leIdent",
"leLatitudeDeg",
"leLongitudeDeg",
"leElevationFt",
"leHeadingDegT",
"leDisplacedThresholdFt",
"heIdent",
"heLatitudeDeg",
"heLongitudeDeg",
"heElevationFt",
"heHeadingDegT",
"heDisplacedThresholdFt"
],
"properties": {
"id": {
"type": "number",
"description": "OurAirports runway id."
},
"closed": {
"type": "boolean",
"description": "True when the runway is closed."
},
"heIdent": {
"type": [
"string",
"null"
],
"description": "High-end runway designator (e.g. 34R), or null."
},
"leIdent": {
"type": [
"string",
"null"
],
"description": "Low-end runway designator (e.g. 16L), or null."
},
"lighted": {
"type": "boolean",
"description": "True when the runway is lighted."
},
"surface": {
"type": [
"string",
"null"
],
"description": "Surface material as recorded upstream (free text, e.g. ASP, CON, GRS), or null."
},
"widthFt": {
"type": [
"number",
"null"
],
"description": "Runway width in feet, or null when unknown."
},
"lengthFt": {
"type": [
"number",
"null"
],
"description": "Length of the full runway surface in feet, including displaced thresholds and overrun areas — not the usable takeoff or landing distance. Null when unknown."
},
"heElevationFt": {
"type": [
"number",
"null"
],
"description": "Elevation at the high-end center in feet above mean sea level, or null."
},
"heHeadingDegT": {
"type": [
"number",
"null"
],
"description": "High-end true heading in degrees, or null."
},
"heLatitudeDeg": {
"type": [
"number",
"null"
],
"description": "Latitude at the high-end center in decimal degrees (WGS84), or null."
},
"leElevationFt": {
"type": [
"number",
"null"
],
"description": "Elevation at the low-end center in feet above mean sea level, or null."
},
"leHeadingDegT": {
"type": [
"number",
"null"
],
"description": "Low-end true heading in degrees, or null."
},
"leLatitudeDeg": {
"type": [
"number",
"null"
],
"description": "Latitude at the low-end center in decimal degrees (WGS84), or null."
},
"heLongitudeDeg": {
"type": [
"number",
"null"
],
"description": "Longitude at the high-end center in decimal degrees (WGS84), or null."
},
"leLongitudeDeg": {
"type": [
"number",
"null"
],
"description": "Longitude at the low-end center in decimal degrees (WGS84), or null."
},
"heDisplacedThresholdFt": {
"type": [
"number",
"null"
],
"description": "Length of the displaced threshold at the high end (heIdent) in feet — part of lengthFt. Null when none is recorded."
},
"leDisplacedThresholdFt": {
"type": [
"number",
"null"
],
"description": "Length of the displaced threshold at the low end (leIdent) in feet — part of lengthFt. Null when none is recorded."
}
},
"description": "A runway with full-surface dimensions, surface, lighting, and per-end designators, center positions and elevations, headings, and displaced thresholds.",
"additionalProperties": false
},
"description": "Runways for the airport. Empty when the airport has none OR when `runways` was not in `include` — check `included` to tell which."
},
"included": {
"type": "array",
"items": {
"enum": [
"runways",
"frequencies"
],
"type": "string"
},
"description": "Which related-record sets this response carries, echoing the effective `include` selection. A relation NOT listed here was omitted by `include` (its array is empty for that reason); a listed relation with an empty array genuinely has no records."
},
"frequencies": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"type",
"description",
"frequencyMhz"
],
"properties": {
"id": {
"type": "number",
"description": "OurAirports frequency id."
},
"type": {
"type": "string",
"description": "Frequency type/role (e.g. TWR, GND, ATIS, APP) as recorded upstream."
},
"description": {
"type": [
"string",
"null"
],
"description": "Human-readable description, or null."
},
"frequencyMhz": {
"type": [
"number",
"null"
],
"description": "Radio frequency in MHz (e.g. 122.9), or null when unknown."
}
},
"description": "An airport radio frequency (tower, ground, ATIS, etc.) in MHz.",
"additionalProperties": false
},
"description": "Radio frequencies in MHz. Empty when the airport has none OR when `frequencies` was not in `include` — check `included` to tell which."
},
"resolvedVia": {
"type": "string",
"description": "Which identifier space the code matched: ident, icao_code, iata_code, gps_code, or local_code."
},
"resolutionNote": {
"type": "string",
"description": "How the code resolved: the identifier space that matched and, when other airports carry the same code, why this one won (resolution priority or dataset row order) and each other airport's ident, country, and code space — pass that ident to fetch it."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Find airports within a radius of a latitude/longitude, ranked nearest-first by great-circle distance. Each result includes distance in kilometers and bearing in degrees true from the query point. Resolve place names to coordinates before calling. Use nextOffset to continue the same query. OurAirports is community-edited — not authoritative for flight operations.
| Parameter | Type | Description |
|---|---|---|
| type | string | Restrict to one airport type (e.g. large_airport for major fields only). |
| limit | integer | Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 50. Larger positive integers clamp to 50 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection. |
| offset | integer | Matching airports to skip. Defaults to 0. Use nextOffset to continue. |
| latitude * | number | Query point latitude in decimal degrees (WGS84), −90 to 90. |
| longitude * | number | Query point longitude in decimal degrees (WGS84), −180 to 180. |
| radius_km | number | Search radius in kilometers (1–20016). Defaults to 100. |
| include_closed | boolean | Include airports of type "closed". Off by default. |
{
"name": "ourairports_find_airports",
"title": "Find Airports",
"description": "Find airports within a radius of a latitude/longitude, ranked nearest-first by great-circle distance. Each result includes distance in kilometers and bearing in degrees true from the query point. Resolve place names to coordinates before calling. Use nextOffset to continue the same query. OurAirports is community-edited — not authoritative for flight operations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"latitude",
"longitude"
],
"properties": {
"type": {
"enum": [
"large_airport",
"medium_airport",
"small_airport",
"heliport",
"seaplane_base",
"balloonport",
"closed"
],
"type": "string",
"description": "Restrict to one airport type (e.g. large_airport for major fields only)."
},
"limit": {
"type": "integer",
"minimum": 1,
"description": "Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 50. Larger positive integers clamp to 50 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Matching airports to skip. Defaults to 0. Use nextOffset to continue."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Query point latitude in decimal degrees (WGS84), −90 to 90."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Query point longitude in decimal degrees (WGS84), −180 to 180."
},
"radius_km": {
"type": "number",
"default": 100,
"maximum": 20016,
"minimum": 1,
"description": "Search radius in kilometers (1–20016). Defaults to 100."
},
"include_closed": {
"type": "boolean",
"default": false,
"description": "Include airports of type \"closed\". Off by default."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"airports",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "The limit that was applied. Present only when results were truncated."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "Machine-readable failure mode."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Number of airports returned. Present only when results were truncated."
},
"notice": {
"type": "string",
"description": "Guidance for an empty page, continuation, or a clamped limit."
},
"airports": {
"type": "array",
"items": {
"type": "object",
"required": [
"airport",
"distanceKm",
"bearingDeg"
],
"properties": {
"airport": {
"type": "object",
"required": [
"id",
"ident",
"type",
"name",
"latitudeDeg",
"longitudeDeg",
"elevationFt",
"continent",
"isoCountry",
"countryName",
"isoRegion",
"regionName",
"municipality",
"scheduledService",
"icaoCode",
"iataCode",
"gpsCode",
"localCode",
"keywords"
],
"properties": {
"id": {
"type": "number",
"description": "OurAirports internal integer id (the join key for runways/frequencies)."
},
"name": {
"type": "string",
"description": "Airport name."
},
"type": {
"type": "string",
"description": "Airport type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed."
},
"ident": {
"type": "string",
"description": "OurAirports universal identifier — globally unique; often equals the ICAO or GPS code."
},
"gpsCode": {
"type": [
"string",
"null"
],
"description": "GPS code, or null."
},
"iataCode": {
"type": [
"string",
"null"
],
"description": "3-letter IATA code, or null when the airport has none (~89% of fields)."
},
"icaoCode": {
"type": [
"string",
"null"
],
"description": "4-letter ICAO code, or null when the airport has none (~88% of fields)."
},
"keywords": {
"type": [
"string",
"null"
],
"description": "Recorded aliases and other search keywords, or null."
},
"continent": {
"type": [
"string",
"null"
],
"description": "Two-letter continent code (AF, AN, AS, EU, NA, OC, SA), or null."
},
"isoRegion": {
"type": [
"string",
"null"
],
"description": "ISO 3166-2 region code (e.g. US-WA), or null."
},
"localCode": {
"type": [
"string",
"null"
],
"description": "National/local code (e.g. FAA LID), or null."
},
"isoCountry": {
"type": [
"string",
"null"
],
"description": "ISO 3166-1 alpha-2 country code, or null."
},
"regionName": {
"type": [
"string",
"null"
],
"description": "Resolved region name, or null when the region code is unknown."
},
"countryName": {
"type": [
"string",
"null"
],
"description": "Resolved country name, or null when the country code is unknown."
},
"elevationFt": {
"type": [
"number",
"null"
],
"description": "Field elevation in feet, or null when unknown."
},
"latitudeDeg": {
"type": "number",
"description": "Latitude in decimal degrees (WGS84)."
},
"longitudeDeg": {
"type": "number",
"description": "Longitude in decimal degrees (WGS84)."
},
"municipality": {
"type": [
"string",
"null"
],
"description": "Served municipality, or null."
},
"scheduledService": {
"type": "boolean",
"description": "True when the airport has scheduled airline service."
}
},
"description": "The airport record. Codes the airport lacks are null.",
"additionalProperties": false
},
"bearingDeg": {
"type": "number",
"description": "Initial bearing from the query point in degrees true (0–360, clockwise from north)."
},
"distanceKm": {
"type": "number",
"description": "Great-circle distance from the query point in kilometers."
}
},
"description": "An airport with its great-circle distance and bearing from the query point.",
"additionalProperties": false
},
"description": "Airports within the radius, nearest-first."
},
"truncated": {
"type": "boolean",
"description": "Present and true only when matches remain after this page."
},
"nextOffset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Offset for the next page with the same query."
},
"totalCount": {
"type": "number",
"description": "Airports within the radius that pass the type and include_closed filters, counted before offset and limit."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Find navigation aids (VOR, VOR-DME, DME, NDB, NDB-DME, TACAN, VORTAC) by exactly one mode: latitude+longitude with optional radius_km, airport_code for navaids serving an airport, or ident for every exact navaid-code holder. Coordinate results rank nearest-first with distance (km) and bearing (degrees true); airport and ident results retain dataset order. frequencyKhz is stored for every type; frequencyMhz is the VHF or paired-VHF frequency and is null for NDB and NDB-DME. Each navaid includes DME pairing, usage, power, and magnetic variation. totalCount counts filtered matches before paging; pass nextOffset as offset with the same query to continue. An unmatched ident or an airport with no associated navaids returns an empty list; an unknown airport_code is an error. Shared airport codes carry a resolutionNote naming the other airport idents. OurAirports is community-edited — not authoritative for flight operations.
| Parameter | Type | Description |
|---|---|---|
| type | string | Restrict to one navaid type: NDB, VOR-DME, VORTAC, TACAN, VOR, DME, or NDB-DME. |
| ident | string | Ident mode: exact navaid ident, case-insensitive with surrounding whitespace ignored. Returns all holders, including navaids with no associated airport. Mutually exclusive with coordinates and airport_code. |
| limit | integer | Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 50. Larger positive integers clamp to 50 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection. |
| offset | integer | Number of matching navaids to skip in the same query and data snapshot. Use nextOffset to continue. |
| latitude | number | Coordinate mode: query point latitude (−90 to 90). Provide with longitude; mutually exclusive with airport_code and ident. |
| longitude | number | Coordinate mode: query point longitude (−180 to 180). Provide with latitude. |
| radius_km | number | Coordinate mode: search radius in kilometers (1–20016). Defaults to 100. Ignored in airport and ident modes. |
| airport_code | string | Airport mode: any airport code (IATA/ICAO/GPS/local/ident); returns the navaids serving that airport. Case-insensitive; surrounding whitespace is ignored. Mutually exclusive with latitude/longitude and ident. |
{
"name": "ourairports_find_navaids",
"title": "Find Navaids",
"description": "Find navigation aids (VOR, VOR-DME, DME, NDB, NDB-DME, TACAN, VORTAC) by exactly one mode: latitude+longitude with optional radius_km, airport_code for navaids serving an airport, or ident for every exact navaid-code holder. Coordinate results rank nearest-first with distance (km) and bearing (degrees true); airport and ident results retain dataset order. frequencyKhz is stored for every type; frequencyMhz is the VHF or paired-VHF frequency and is null for NDB and NDB-DME. Each navaid includes DME pairing, usage, power, and magnetic variation. totalCount counts filtered matches before paging; pass nextOffset as offset with the same query to continue. An unmatched ident or an airport with no associated navaids returns an empty list; an unknown airport_code is an error. Shared airport codes carry a resolutionNote naming the other airport idents. OurAirports is community-edited — not authoritative for flight operations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"NDB",
"VOR-DME",
"VORTAC",
"TACAN",
"VOR",
"DME",
"NDB-DME"
],
"type": "string",
"description": "Restrict to one navaid type: NDB, VOR-DME, VORTAC, TACAN, VOR, DME, or NDB-DME."
},
"ident": {
"type": "string",
"minLength": 1,
"description": "Ident mode: exact navaid ident, case-insensitive with surrounding whitespace ignored. Returns all holders, including navaids with no associated airport. Mutually exclusive with coordinates and airport_code."
},
"limit": {
"type": "integer",
"minimum": 1,
"description": "Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 50. Larger positive integers clamp to 50 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of matching navaids to skip in the same query and data snapshot. Use nextOffset to continue."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Coordinate mode: query point latitude (−90 to 90). Provide with longitude; mutually exclusive with airport_code and ident."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Coordinate mode: query point longitude (−180 to 180). Provide with latitude."
},
"radius_km": {
"type": "number",
"default": 100,
"maximum": 20016,
"minimum": 1,
"description": "Coordinate mode: search radius in kilometers (1–20016). Defaults to 100. Ignored in airport and ident modes."
},
"airport_code": {
"type": "string",
"minLength": 1,
"description": "Airport mode: any airport code (IATA/ICAO/GPS/local/ident); returns the navaids serving that airport. Case-insensitive; surrounding whitespace is ignored. Mutually exclusive with latitude/longitude and ident."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"mode",
"airportIdent",
"navaids",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "The limit that was applied. Present only when results were truncated."
},
"mode": {
"enum": [
"coordinate",
"airport",
"ident"
],
"type": "string",
"description": "Which query mode was used."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"mode_conflict",
"unknown_code"
],
"description": "Machine-readable failure mode. Declared by this tool: `mode_conflict`: Coordinates are incomplete, multiple query modes were supplied, or no query mode was supplied. `unknown_code`: airport_code did not match any airport in any identifier space. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Number of navaids returned. Present only when results were truncated."
},
"notice": {
"type": "string",
"description": "Limit-clamp disclosure, continuation, past-end guidance, or an explanation of an empty match set."
},
"navaids": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"ident",
"name",
"type",
"frequencyKhz",
"frequencyMhz",
"latitudeDeg",
"longitudeDeg",
"elevationFt",
"isoCountry",
"dmeChannel",
"dmeFrequencyKhz",
"usageType",
"power",
"magneticVariationDeg",
"slavedVariationDeg",
"associatedAirport",
"distanceKm",
"bearingDeg"
],
"properties": {
"id": {
"type": "number",
"description": "OurAirports navaid id."
},
"name": {
"type": "string",
"description": "Navaid name."
},
"type": {
"type": "string",
"description": "Navaid type: NDB, VOR-DME, VORTAC, TACAN, VOR, DME, or NDB-DME."
},
"ident": {
"type": "string",
"description": "Navaid identifier (e.g. SEA)."
},
"power": {
"type": [
"string",
"null"
],
"description": "Transmitter power class as recorded upstream: HIGH, MEDIUM, LOW, or UNKNOWN. Null when not recorded."
},
"usageType": {
"type": [
"string",
"null"
],
"description": "Service-volume class as recorded upstream: HI, LO, BOTH, TERMINAL, or RNAV. Null when not recorded."
},
"bearingDeg": {
"type": [
"number",
"null"
],
"description": "Bearing from the query point in degrees true (coordinate mode); null in airport and ident modes."
},
"distanceKm": {
"type": [
"number",
"null"
],
"description": "Great-circle distance from the query point in km (coordinate mode); null in airport and ident modes."
},
"dmeChannel": {
"type": [
"string",
"null"
],
"description": "DME channel (e.g. 115X), or null."
},
"isoCountry": {
"type": [
"string",
"null"
],
"description": "ISO 3166-1 alpha-2 country code, or null."
},
"elevationFt": {
"type": [
"number",
"null"
],
"description": "Elevation in feet, or null when unknown."
},
"latitudeDeg": {
"type": "number",
"description": "Latitude in decimal degrees (WGS84)."
},
"frequencyKhz": {
"type": [
"number",
"null"
],
"description": "Frequency in kHz as stored upstream for every type. NDB and NDB-DME are tuned on this value directly; VOR and VOR-DME carry their VHF frequency and DME, TACAN, and VORTAC their paired VHF frequency (VOR 114.5 MHz is stored as 114500). Null when unknown."
},
"frequencyMhz": {
"type": [
"number",
"null"
],
"description": "frequencyKhz / 1000 for VOR and VOR-DME (the VHF frequency) and for DME, TACAN, and VORTAC (the paired VHF frequency, which for some TACAN channels lies above 118 MHz). Null for NDB and NDB-DME, which are tuned in kHz, and when the frequency is unknown."
},
"longitudeDeg": {
"type": "number",
"description": "Longitude in decimal degrees (WGS84)."
},
"dmeFrequencyKhz": {
"type": [
"number",
"null"
],
"description": "Paired VHF frequency of the DME or TACAN component in kHz (divide by 1000 for MHz), on every type that has one — including NDB-DME, where it differs from frequencyKhz. Null when the navaid has no DME component recorded."
},
"associatedAirport": {
"type": [
"string",
"null"
],
"description": "Ident of the airport this navaid serves, or null for standalone enroute navaids."
},
"slavedVariationDeg": {
"type": [
"number",
"null"
],
"description": "Magnetic variation built into the radials of a VOR, VOR-DME, VORTAC, or TACAN in degrees, positive east — the reference radials are measured from, which can differ from magneticVariationDeg. Null when not recorded."
},
"magneticVariationDeg": {
"type": [
"number",
"null"
],
"description": "Actual magnetic variation at the navaid site in degrees, positive east. Null when not recorded."
}
},
"description": "A navaid with its frequency (kHz, plus MHz where the type has a VHF frequency), type, position, DME pairing, service volume, power, magnetic variation, and — in coordinate mode — distance and bearing from the query point.",
"additionalProperties": false
},
"description": "Matching navaids. Nearest-first in coordinate mode; dataset order in airport and ident modes."
},
"truncated": {
"type": "boolean",
"description": "Present and true only when matching navaids remain after this page."
},
"nextOffset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Offset for the next page using the same query. Absent on final and past-end pages."
},
"totalCount": {
"type": "number",
"description": "Navaids matching the selected mode and type filter before offset and limit."
},
"airportIdent": {
"type": [
"string",
"null"
],
"description": "In airport mode, the resolved airport ident the navaids were matched against; null in coordinate and ident modes."
},
"resolutionNote": {
"type": "string",
"description": "Airport mode, present only when airport_code is also a code of other airports: the identifier space that matched, why this airport won, and each other airport's ident, country, and code space."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}List countries and valid country/region filter codes for ourairports_search_airports and ourairports_search_runways, with airport counts excluding closed airports. Restrict to country for one country's regions; country and continent combine as AND. include_regions without a scope returns the entire region table, so prefer country for a one-country lookup. Unscoped and continent-only requests remain available.
| Parameter | Type | Description |
|---|---|---|
| country | any | Country code from ourairports_list_countries (e.g. US). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid. |
| continent | string | Restrict to one continent: AF (Africa), AN (Antarctica), AS (Asia), EU (Europe), NA (North America), OC (Oceania), SA (South America). |
| include_regions | boolean | When true, nest each country's ISO 3166-2 regions (with airport counts) under it. Off by default to keep the response compact. |
{
"name": "ourairports_list_countries",
"title": "List Countries",
"description": "List countries and valid country/region filter codes for ourairports_search_airports and ourairports_search_runways, with airport counts excluding closed airports. Restrict to country for one country's regions; country and continent combine as AND. include_regions without a scope returns the entire region table, so prefer country for a one-country lookup. Unscoped and continent-only requests remain available.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"country": {
"anyOf": [
{
"type": "string",
"const": ""
},
{
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Two-letter country code."
}
],
"description": "Country code from ourairports_list_countries (e.g. US). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid."
},
"continent": {
"enum": [
"AF",
"AN",
"AS",
"EU",
"NA",
"OC",
"SA"
],
"type": "string",
"description": "Restrict to one continent: AF (Africa), AN (Antarctica), AS (Asia), EU (Europe), NA (North America), OC (Oceania), SA (South America)."
},
"include_regions": {
"type": "boolean",
"default": false,
"description": "When true, nest each country's ISO 3166-2 regions (with airport counts) under it. Off by default to keep the response compact."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"countries",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"unknown_country"
],
"description": "Machine-readable failure mode. Declared by this tool: `unknown_country`: The country code is absent from the bundled country table. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"notice": {
"type": "string",
"description": "Guidance when the country and/or continent filters matched no countries."
},
"countries": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"name",
"continent",
"airportCount"
],
"properties": {
"code": {
"type": "string",
"description": "Country code to pass as country to ourairports_search_airports or ourairports_search_runways."
},
"name": {
"type": "string",
"description": "Country name."
},
"regions": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"name",
"airportCount"
],
"properties": {
"code": {
"type": "string",
"description": "ISO 3166-2 region code (e.g. US-WA)."
},
"name": {
"type": "string",
"description": "Region name."
},
"airportCount": {
"type": "number",
"description": "Number of non-closed airports in the region."
}
},
"description": "A region within a country, with its non-closed airport count.",
"additionalProperties": false
},
"description": "Regions within the country with airport counts. Present only when include_regions is true."
},
"continent": {
"type": [
"string",
"null"
],
"description": "Two-letter continent code (AF, AN, AS, EU, NA, OC, SA), or null."
},
"airportCount": {
"type": "number",
"description": "Number of non-closed airports in the country."
}
},
"description": "A country present in the dataset, with its non-closed airport count and ISO code.",
"additionalProperties": false
},
"description": "Countries present in the dataset, sorted by name."
},
"totalCount": {
"type": "number",
"description": "Number of countries returned."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Static, offline aviation reference data (airports, runways, navaids, radio frequencies) from the public-domain OurAirports dataset — no API key, no rate limit, no upstream. Resolve any airport by a single `code` (IATA/ICAO/GPS/local/ident) with ourairports_get_airport; the `airport://{code}` resource mirrors it. Search by name or facets with ourairports_search_airports (closed airports excluded by default). Ground a coordinate in the nearest airports with ourairports_find_airports (no geocoding — resolve place names to lat/lon upstream first). Navaid frequencies are stored in kHz for every type; airport frequencies are in MHz. The data is community-edited and as fresh as the last build — not authoritative for real flight operations.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.