Route4me MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Route4me MCP or direct API to plan multi-stop routes, optimize delivery schedules, view driver assignments, and update route details through natural language.

Route4me logoRoute4me
Api Key

Route4Me is a Last Mile Routing API that automates route planning for logistics teams. It helps businesses save time and fuel with optimized, real-time delivery routes.

97 Tools

Try Route4me now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Route4me
Try asking
TOOLS

Supported Tools

Every Route4me action and event your agent gets out of the box.

Add Order Custom Field

Tool to add a new custom field definition for orders.

Add Route Note

Tool to add a note to a route or address destination.

Create Address

Tool to add a new address to the address book.

Create Avoidance Zone

Tool to create an avoidance zone with circular, rectangular, or polygon shape.

Create Location Type

Tool to create a new location type in the address book.

Create Master Route

Tool to create a new master route in Route4Me.

Create Custom Note Type

Tool to create a new custom note type in Route4me.

Create Route Optimization

Tool to create a new route optimization in Route4Me.

Create Optimization Profile

Tool to create a new optimization profile in Route4Me.

Create Order Custom Field

Tool to create a new custom field definition for orders.

Create Orders from Contacts

Tool to create orders from address book contacts.

Create Territory

Tool to create a new territory with circular, rectangular, or polygon shape.

Create Vehicle Capacity Profile

Tool to create a vehicle capacity profile with weight, volume, item count, and revenue limits.

Delete Address from Route

Tool to delete an address from a route.

Delete Addresses

Tool to delete addresses from the Route4Me address book.

Delete Avoidance Zone

Tool to delete an avoidance zone by territory_id.

Delete Configuration Setting

Tool to delete a member configuration setting by config_key.

Delete Current User

Tool to delete the current authenticated user account.

Delete Location Type

Tool to delete a location type from the address book.

Delete Optimization

Tool to remove optimization problems from the Route4Me database.

Delete Optimization Profile

Tool to delete an optimization profile by ID.

Delete Order Custom Field

Tool to delete an order custom field by ID.

Delete Route V4

Tool to delete one or more routes by route_id.

Delete Territory

Tool to delete a territory by territory_id.

Delete Vehicle Capacity Profile by ID

Tool to delete a vehicle capacity profile by ID.

Dispatch Routes

Tool to approve or revoke routes for execution in Route4Me.

Display Datatable Config

Tool to retrieve datatable configuration for vehicle capacity profiles.

Duplicate Routes

Tool to duplicate one or more existing routes.

Find Address

Tool to retrieve detailed information about a specific address from the Route4Me address book.

Geocode Address

Tool to geocode an address and obtain its coordinates.

Geocode Address (Body)

Tool to geocode an address by sending a body payload with the address and options.

Bulk Geocode Addresses

Tool to geocode multiple addresses in a single request.

Geocode Address Forward

Tool to convert an address to geographic coordinates using forward geocoding.

Get Activity Feed

Tool to retrieve activities from the Route4Me activity feed with optional filtering and pagination.

Get Address

Tool to get address/destination information from a route.

Get Address Book Groups

Tool to retrieve address book groups from Route4Me.

Get Addresses from Address Book

Tool to retrieve addresses from the Route4Me address book.

Get Async Export Tracking History

Tool to save tracking history file via async export.

Get All Territories (Avoidance Zones v5)

Tool to retrieve all avoidance zones (territories) using API v5.

Get Avoidance Zone By ID

Tool to retrieve a specific avoidance zone by its territory ID.

Get Clustered Locations

Tool to retrieve locations grouped by geographic proximity using geohash clustering.

Get Current Member Information

Tool to retrieve the current authenticated member's information.

Get Activity Feed

Tool to retrieve all activities from the Route4Me activity feed.

Get Last Scheduled Route for Member

Tool to retrieve the most recently scheduled route for a specific member as of today.

Get Location Heatmap

Tool to retrieve a heat map of location clusters from the address book.

Get Location Service-Time Heatmap

Tool to retrieve location service-time heatmap data for address book locations.

Get Location Type

Tool to get location type details by ID.

Get Member Configuration Settings

Tool to get member configuration settings with optional filtering.

Get Note Custom Types

Tool to retrieve all custom note types configured for the account.

Get Optimization Profile

Tool to retrieve detailed information about an optimization profile by its unique identifier.

Get Route Destination By ID

Tool to get a route address/destination by its ID.

Get Route Info

Tool to get detailed route information by route ID.

Get Route List

Tool to retrieve a list of routes with filtering and pagination.

Get Route Settings

Tool to get route settings with detailed information including waypoints, optimization settings, and delivery details.

Get Territories with Location Counts

Tool to retrieve territories with location counts for geographic analysis.

Get Territory

Tool to retrieve territory information by ID or get all territories.

Submit Device Tracking Data

Tool to submit device GPS tracking information to Route4Me.

Get Tracking History Export

Tool to export tracking history file from Route4Me.

Get User By ID

Tool to retrieve a sub-user by their unique ID.

Get User Locations

Tool to view locations of all users/drivers in real-time.

Get User Modification History

Tool to get user modification history from Route4Me.

Get User Template

Tool to retrieve the template of a sub-user with detailed information including contact information, preferences, and account status.

Get User Information (v4)

Tool to retrieve authenticated user information in v4 format.

Get Vehicles

Tool to retrieve details of vehicles in the organization.

Get Vehicle Capacity Profile As Datatable

Tool to retrieve vehicle capacity profiles in datatable format with pagination.

Get Vehicle Capacity Profile by ID

Tool to retrieve a specific vehicle capacity profile by its ID.

Get Vehicle Capacity Profile Page Config

Tool to retrieve vehicle capacity profile page configuration including unit settings.

Get Vehicle Capacity Profiles

Tool to retrieve vehicle capacity profiles with weight, volume, and item constraints.

List Location Types

Tool to retrieve location type definitions used in the address book system.

List Optimization Profiles

Tool to retrieve optimization profiles with settings and configuration details.

List Optimizations

Tool to get a list of all optimizations or retrieve a single optimization by ID.

List Order Custom Fields

Tool to retrieve all order custom field definitions from Route4Me v5.

List Route Directions

Tool to get detailed route directions including turn-by-turn navigation information for each stop.

List Team Users

Tool to get the list of team members/users in the account.

List Users By IDs

Tool to retrieve detailed information about team members by their member IDs.

List Team Users (Paginated)

Tool to get a paginated list of team members/users in the account.

Lookup For New Destination

Tool to lookup optimal routes for inserting a new destination.

Merge Routes

Tool to merge multiple routes into a single target route.

Move Route Destination

Tool to move a destination from one route to another.

Preview Route Assignment

Tool to generate a preview of route assignments based on filters, grouping, sorting, and assignment strategy without applying changes.

Re-run Optimization

Tool to re-optimize an existing optimization problem by updating route parameters and/or addresses.

Reverse Geocode Address

Tool to reverse geocode coordinates to obtain an address.

Set Destination Status

Tool to set or update the status of a route destination.

Set Route Rating

Tool to set a rating for a route.

Set Route Tracking Data

Tool to insert tracking data for a route.

Update Address

Tool to update an existing address in the Route4Me address book.

Update Avoidance Zone

Tool to update an existing avoidance zone.

Update Location Type

Tool to update an existing location type in the address book.

Update Member Configuration Setting

Tool to update a member configuration setting.

Update Custom Note Type

Tool to update an existing custom note type in Route4Me.

Update Optimization Profile

Tool to update an existing optimization profile.

Update Order Custom Field

Tool to update an existing order custom field in Route4Me.

Update Routes

Tool to bulk update multiple routes in a single operation.

Update Route Settings

Tool to update route settings including optimization parameters, distance units, and device types.

Update Route V4

Tool to update route parameters and addresses in Route4Me.

Update Territory

Tool to update an existing territory.

Update Vehicle Capacity Profile By ID

Tool to update an existing vehicle capacity profile by ID.

SETUP GUIDE

Connect Route4me MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Get current vehicle list for route planning' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Route4me API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Route4me Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'List all vehicles available for route planning'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Route4me actions with your Agent

Why Use Composio?

AI Native Route4me Integration

  • Supports both Route4me MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Route4me data

Managed Auth

  • Built-in API Key handling with secure storage and rotation
  • Central place to manage, scope, and revoke Route4me access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Route4me
  • Scoped, least privilege access to Route4me resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Route4me requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Route4me.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Route4me tool your agent needs.Free to start.

Start building