Skip to main content
Glama

ThinAir Geo MCP 服务器

通过 MCP 将您的 AI 连接到地理编码、路线规划、交通、天气和地点搜索——共 10 种工具。

npm version License: MIT

功能简介

ThinAir Geo 是一个 Model Context Protocol (MCP) 服务器,使 AI 智能体能够访问生产级的地理空间工具,无需进行 API 集成。

  • 地理编码 — 正向、反向、自动补全、结构化及交叉路口地理编码

  • 路线规划 — 包含 7 种车辆配置(含卡车/货运)的逐向导航

  • 交通 — 美国 30 多个大都市区的实时交通状况

  • 天气 — 当前天气状况及预报

  • 地点搜索 — 周边兴趣点 (POI) 和位置发现

Related MCP server: ThinAir Data

产品链接

工具

工具

描述

geocode

将地址或地点名称转换为坐标

reverse_geocode

将坐标转换为地址

autocomplete

输入时的实时地址建议

structured_geocode

使用单独的地址组件进行地理编码

intersection_geocode

解析交叉路口

directions

带有车辆配置的逐向路线规划

isochrone

生成出行时间可达性多边形

search_places

查找附近的 POI 和地点

get_traffic

实时交通状况

get_weather

当前天气及预报

车辆配置

配置

使用场景

car_default

标准驾驶

truck_53

53 英尺干货车 / 全货运

truck_box26

箱式货车 / 中型货车

truck_tanker

可运输危险品的货车

motorcycle

两轮车路线规划

bike

自行车

walk

步行

快速入门

Claude Desktop

添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "thinair-geo": {
      "command": "npx",
      "args": ["-y", "@thinairtelematics/geo"],
      "env": {
        "THINAIR_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor / Windsurf / 其他 MCP 客户端

{
  "mcpServers": {
    "thinair-geo": {
      "command": "npx",
      "args": ["-y", "@thinairtelematics/geo"],
      "env": {
        "THINAIR_API_KEY": "your-api-key"
      }
    }
  }
}

远程 / 可流式传输 HTTP

{
  "mcpServers": {
    "thinair-geo": {
      "type": "http",
      "url": "https://geo.thinair.co/mcp",
      "headers": {
        "Authorization": "Bearer your-api-key"
      }
    }
  }
}

npm 包

npmjs.com/package/@thinairtelematics/geo

此前发布为 thinair-geo(现已弃用,推荐使用此作用域包)。

许可证

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