This guide walks you through connecting Mapbox to Pydantic AI using the Composio tool router. By the end, you'll have a working Mapbox agent that can batch geocode these 10 addresses, get directions from times square to jfk, reverse geocode this latitude and longitude, embed a styled map for our office location through natural language commands.
This guide will help you understand how to give your Pydantic AI agent real control over a Mapbox account through Composio's Mapbox MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








