Skip to main content
Glama

ThinAir Geo MCP Server

Give your AI agent complete geospatial awareness — geocode addresses and intersections, route across multiple modes (auto, truck, bicycle, pedestrian), check live traffic and weather, draw reachability polygons, and search places. Confidence-scored results so your agent knows when to ask again. 19 tools via MCP.

19 MCP tools · Geocoding, routing, traffic, weather, places · Built for fleet-grade workflows

npm version License: MIT

> geocode "Bayport Terminal"
✓ matched: Bayport Terminal, Harris County, TX, USA
✓ confidence: 1.0  (method: search_venue)
✓ coordinates: 29.61345, -95.00292

Part of ThinAir

ThinAir Geo is the geospatial intelligence layer behind ThinAir fleet workflows: geocoding, routing context, address search, service-area visibility, map intelligence, traffic, weather, and reachability.

Related MCP server: ThinAir Data

Hosted product vs this repository

  • geo.thinair.co is the hosted ThinAir product.

  • This repository is the thin public MCP package/pointer for developers and AI-agent clients.

  • Production use may require a ThinAir account, API key, OAuth connection, or hosted workspace.

What It Does

ThinAir Geo is a Model Context Protocol (MCP) server that gives AI agents full-stack geospatial tooling — no API integration required. Coordinates you can actually route from: intersection-level precision with confidence scores, no silent fallbacks (returns an empty result instead of a city-centroid guess when uncertain).

  • Geocoding — Forward, reverse, intersection, and batch (50/call). Results include confidence and method so agents can branch on quality.

  • Routing — Multi-profile: auto, truck, bicycle, pedestrian, motorcycle. 10 truck-specific presets (dry van, flatbed, step-deck, tanker, box truck, auto-carrier, sprinter, double trailer, oversize) with hazmat / dimensions / weight / time-distance constraints native.

  • Traffic — Real-time conditions for 30+ US metros.

  • Weather — Current conditions and forecasts.

  • Place Search & Explore — Nearby POIs, locality discovery with population filtering.

  • Isochrones — Drive-time / walk-time reachability polygons (multiple bands per call).

Agent Discovery

Autonomous agents and directory crawlers can discover this server's capabilities without parsing this README. All three surfaces are live and served by the hosted product:

Surface

URL

Carries

Agent card (A2A)

https://geo.thinair.co/.well-known/agent-card.json

Protocol version, endpoint, transport, auth schemes, and all 19 skills

Skills index

https://geo.thinair.co/.well-known/skills.json

Machine-readable catalog of the 19 tools

LLM guide

https://geo.thinair.co/llms.txt

Plain-text orientation for language models

The MCP endpoint itself is https://geo.thinair.co/mcp (streamable-http; OAuth 2.1 keyless, or Authorization: Bearer).

Tools

Tool

Description

geocode

Convert addresses, place names, or intersections to coordinates

reverse_geocode

Convert coordinates to addresses

batch_geocode

Geocode up to 50 addresses in one call (returns geojson FeatureCollection)

directions

Turn-by-turn routing — auto, truck, bicycle, pedestrian, motorcycle

isochrone

Travel-time / -distance reachability polygons (multi-band)

traffic

Real-time traffic conditions

weather

Current conditions and forecasts

search_places

Find nearby POIs by category (gas, charging, food, lodging, …)

explore

Browse cities, neighborhoods, and venues by region

geocode_structured

Geocode from discrete address components (form / CRM fields) instead of free text

resolve_intersection

Resolve a named cross-street (street1 × street2) to a coordinate with a confidence score

distance_matrix

Road distances + travel times for every origin → destination pair (≤ 625 pairs)

locate

Snap a coordinate to the road network — road name, class, speed limit, legality, timezone, point elevation

map_match

Snap a raw GPS trace (2–100 points) to the road-accurate route actually driven

trace_attributes

Per-segment road attributes (names, classes, speed limits, surfaces) along a matched trace

geofence_contains

Point-in-polygon test against a GeoJSON polygon (one boolean per point)

place_get

Look up a place by its stable ThinAir id (ta_place_… / ta_intersection_…)

quota

Inspect your current plan, daily usage, and remaining capacity (free, never debits)

issue_api_key

Mint a fresh API key for the current tenant (counts as 1 query)

Truck Vehicle Profiles

Pass any of these as vehicle_profile on directions or isochrone to set dimensions automatically:

Profile

Dimensions / Use case

DRY_VAN_53

53′ dry van — standard US freight (default)

FLATBED_48

48′ flatbed, loaded height 14′

FLATBED_40

40′ flatbed, regional / specialty

STEP_DECK

Step-deck / drop-deck, 11′3″ upper-deck clearance

TANKER

Liquid/gas tanker (pair with hazmat=true)

BOX_TRUCK_26

26′ box truck, local delivery

AUTO_CARRIER

Car hauler / auto transport

SPRINTER_VAN

Cargo van, last-mile (9′ tall)

DOUBLE_TRAILER

Twin 28′ pups, LTL long-haul (92′ total)

OVERSIZE

Permitted oversize loads — override dimensions per haul

Individual params (truck_height, truck_weight, truck_length, axle_count, etc.) override the preset.

Quick Start

Add to your client's MCP config (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "thinair-geo": {
      "url": "https://geo.thinair.co/mcp"
    }
  }
}

The OAuth flow completes at first use — no manual token setup required. Free tier: 15 requests/day, no card.

API key (for non-OAuth clients)

{
  "mcpServers": {
    "thinair-geo": {
      "url": "https://geo.thinair.co/mcp",
      "headers": {
        "Authorization": "Bearer ta_live_..."
      }
    }
  }
}

Get a key at https://geo.thinair.co/connect.

npx (CLI / scripts)

npx -y @thinairtelematics/geo

Prints a config block to stdout for your client. Same OAuth-keyless option as above by default.

Not for secrets

Do not commit API keys. Use OAuth where supported or pass API keys through your MCP client's secure environment/header configuration.

npm Package

npmjs.com/package/@thinairtelematics/geo

Previously published as thinair-geo (now deprecated in favor of the scoped package).

License

MIT © ThinAir Telematics

Available Tools

19 tools
batch_geocodeA

Geocode multiple addresses, intersections, or place queries in one request with structured per-record results. Use for bulk operations instead of repeated single geocode calls. Max 50 per batch.

directionsA

Generate routes, ETAs, and turn-by-turn directions between locations. Prefer the preset arg (car_default, truck_53, truck_tanker, bike, walk, transit, etc.) — presets bake in freight baselines so trucks actually stay on freight corridors. Raw costing + truck_* knobs remain for advanced callers. ETAs are ISO-8601 in the destination's local timezone.

distance_matrixA

Compute road distances and travel times for every origin -> destination pair. Endpoints accept free-text addresses or 'lat,lon'; N x M is capped at 625 pairs. Use for fleet dispatch, nearest-depot, and bulk ETA tables.

exploreA

BROWSING / DISCOVERY search — cities, neighbourhoods, or mixed venues near a location. Supports population filtering ('cities > 100k'), distance/population sorting, and layer filtering. For specific POI categories, use search_places instead.

geocodeA

Convert an address, place name, street, or intersection into coordinates and structured location results. Use when input is text and you need coordinates before routing, weather, or search. Supports street-level resolution and proximity biasing.

geocode_structuredA

Geocode from discrete address components (address, locality, region, postalcode, country) instead of one free-text string. Use when input is already fielded (forms, CRM, stop tables) — skips free-text parsing. At least one component required. For named intersections use resolve_intersection.

geofence_containsB

Test one or more points for containment inside a caller-supplied GeoJSON polygon (or MultiPolygon / Feature / FeatureCollection). Pure geometry — boundary points count as contained. Returns one boolean per input point.

isochroneB

Generate travel-time or travel-distance reachability polygons from an origin. Pass MULTIPLE bands in one call — e.g. contours_minutes:[10,20,30] returns three nested polygons in a single response. Output is GeoJSON ready for Mapbox / Leaflet.

issue_api_keyA

Mint a fresh API key for your current authenticated user/tenant. Useful for CLI workflows, key rotation, or MCP clients that hide the configured Bearer. The new key is tied to your existing plan. Counts as 1 query against your daily quota.

locateA

Snap one coordinate to the road network and return the matched road's context: name, road class, speed limit, bearing, snap distance, side of street, truck legality, toll/ferry/highway/bridge/tunnel flags, and IANA timezone. Optional point elevation via include_elevation. Returns matched:false when no routable road is near — never a guess.

map_matchA

Snap a raw GPS trace (2-100 points) to the road network and return the road-accurate route actually driven: matched geometry, distance, time, road names, and a 0-1 confidence. For planning a route between places use directions.

place_getA

Look up a place by its stable ThinAir id (ta_place_... / ta_intersection_...) as returned in the id field of geocode, reverse_geocode, search_places, or resolve_intersection. Returns canonical name, label, layer, and coordinates.

quotaA

Check current usage, remaining limits, plan, and quota breakdown for the caller. FREE TO CALL — never counts against your quota, never blocked by it. Use this proactively when the user asks about usage or seems near limits.

resolve_intersectionA

Resolve a NAMED cross-street (street1 × street2 within a locality/region/country) to a single best coordinate with a confidence score and a fleet-safe fallback. For free-form streets use geocode.

reverse_geocodeB

Convert coordinates into the nearest address, street, or place. Use when starting from GPS coordinates or a map position.

search_placesA

CATEGORY-specific POI search near a point — gas stations, truck stops, restaurants, charging stations, etc. Use this when the user has a specific TYPE of place in mind. For broader DISCOVERY (e.g. 'cities within 50 miles'), use explore instead.

trace_attributesA

Return per-segment road/network attributes for a matched GPS trace (2-100 points): road names, classes, speed limits, surfaces, truck-route flags, and segment lengths, plus a matcher confidence score. For just the matched route line use map_match.

trafficA

Retrieve live traffic conditions, congestion, and speed for a location. Coverage: live data for ~30 major US metros; returns degraded or empty values outside these areas. For rural coordinates, qualify the response.

weatherA

Get current and forecast weather for a location, including severe weather alerts and minute-by-minute precipitation. Use for destination conditions, travel planning, or route risk assessment.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 19 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: geocoding variants (free-text, structured, batch, reverse, intersection), routing (directions, map matching, trace, distance matrix), search (places vs explore), and utilities (traffic, weather, locate, geofence, place_get, quota, issue_api_key). No overlapping functionality.

    Naming Consistency4/5

    Most tools use a verb_noun pattern (reverse_geocode, search_places, resolve_intersection, etc.), though a few are single-word verbs (directions, traffic, weather, explore, locate, quota, geocode). The convention is lower_snake_case throughout, and the pattern is predictable despite minor inconsistency.

    Tool Count4/5

    19 tools is slightly above the ideal range but justified given the breadth of geo functionality: geocoding, routing, traffic, weather, POI search, map matching, geofencing, and account management. Each tool earns its place; the set is not bloated.

    Completeness5/5

    The tool surface covers the full lifecycle for geographic queries: input (various geocoding), routing (directions, distance matrix, isochrones), map matching, POI search, traffic, weather, geofencing, and account management. No obvious gaps for a query-only geo API.

    Maintenance

    ActivityActive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Connect any AI to PostgreSQL, MySQL, or SQL Server — 24 dialect-aware tools for query, schema, optimization, and more.
      23
      15 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Geospatial API tools for AI agents — geocoding, reverse geocoding, routing, isochrone, distance matrix, static maps, H3 hexagons, elevation, GPS map-matching, point-in-polygon, address normalisation, timezone lookup, and batch geocoding. Built on OpenStreetMap infrastructure. Cost-effective alternative to Google Maps API.
      18
      MIT