Skip to content
mapbox avatar

Mapbox Mcp Runtime Patterns

Integration patterns for the Mapbox MCP Server across pydantic-ai, Mastra, LangChain, and custom agents.

CCM score
61 of 100
skills.sh installs
1.5K
GitHub stars
88
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers runtime integration of Mapbox geospatial tools into AI agent frameworks, with per-framework reference guides for each
  • Includes offline Turf.js tools for distance, bearing, and area alongside API tools for routing, isochrones, and geocoding
  • Guides tool selection by distinguishing straight-line distance from route distance and category search from specific-place lookup
  • Designed for production AI applications that need geospatial capabilities without integrating multiple Mapbox APIs manually

Install

$ npx -y skills add mapbox/mapbox-agent-skills --skill mapbox-mcp-runtime-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Mapbox MCP Runtime Patterns

This skill provides patterns for integrating the Mapbox MCP Server into AI applications for production use with geospatial capabilities.

What is Mapbox MCP Server?

The Mapbox MCP Server is a Model Context Protocol (MCP) server that provides AI agents with geospatial tools:

Offline Tools (Turf.js):

  • Distance, bearing, midpoint calculations
  • Point-in-polygon tests
  • Area, buffer, centroid operations
  • Bounding box, geometry simplification
  • No API calls, instant results

Mapbox API Tools:

  • Directions and routing
  • Reverse geocoding
  • POI category search
  • Isochrones (reachability)
  • Travel time matrices
  • Static map images
  • GPS trace map matching
  • Multi-stop route optimization

Utility Tools:

  • Server version info
  • POI category list

Key benefit: Give your AI application geospatial superpowers without manually integrating multiple APIs.

Understanding Tool Categories

Before integrating, understand the key distinctions between tools to help your LLM choose correctly:

Distance: "As the Crow Flies" vs "Along Roads"

Straight-line distance (offline, instant):

Details

Repository
github.com/mapbox/mapbox-agent-skills
Categories
AI Agents & LLM Apps, Web3 & Crypto
First seen
Jun 3, 2026

More from mapbox/mapbox-agent-skills

All 18

Similar to Mapbox Mcp Runtime Patterns

More AI Agents & LLM Apps