Routific MCP by usefulapi
Optimize vehicle routes and same-day pickups and deliveries, and read job results in Routific.
Should I use this
Quality & Safety
Findings (2)
- LOWin routific_optimize_pickups_deliveries
- LOWin routific_submit_pickups_deliveries_job
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"routific": {
"url": "https://routific.usefulapi.io/mcp"
}
}
}Remote endpoints
https://routific.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (5)
🟢routific_optimize_routes(visits, fleet, options)
Plan the fastest routes for a fleet that serves a set of stops, with time windows and capacity. Synchronous; times out after about 20 seconds, so use routific_submit_route_job above 60 visits. Routific API: POST /v1/vrp.
Input Schema
{
"type": "object",
"properties": {
"visits": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "A location: an address name, or coordinates."
},
"start": {
"description": "Earliest arrival, hh:mm.",
"type": "string"
},
"end": {
"description": "Latest finish, hh:mm.",
"type": "string"
},
"duration": {
"description": "Time spent at the stop, in minutes.",
"type": "number",
"minimum": 0
},
"load": {
"description": "Load added (positive) or removed (negative) at the stop.",
"type": "number"
}
},
"required": [
"location"
],
"additionalProperties": {},
"description": "One stop with its time window, service time and load."
},
"description": "Map of visit ID to stop. The IDs are yours; the routes refer to them."
},
"fleet": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"start_location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "Where the route starts, usually the depot."
},
"end_location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "Where the route ends."
},
"shift_start": {
"type": "string",
"description": "Shift start, hh:mm."
},
"shift_end": {
"type": "string",
"description": "Shift end, hh:mm."
},
"capacity": {
"description": "Load the vehicle can carry.",
"type": "number"
}
},
"required": [
"start_location",
"end_location",
"shift_start",
"shift_end"
],
"additionalProperties": {},
"description": "One vehicle or driver with its shift."
},
"description": "Map of vehicle ID to vehicle. The IDs are yours."
},
"options": {
"description": "Engine options. Other documented keys (balance, squash_durations, max_visit_lateness, avoid_tolls, geocoder) pass through.",
"type": "object",
"properties": {
"traffic": {
"description": "Traffic speed: faster (default), fast, normal, slow or very slow. Slow adds margin to travel times.",
"type": "string"
},
"polylines": {
"description": "Return an encoded polyline for each route.",
"type": "boolean"
},
"min_vehicles": {
"description": "Use the fewest vehicles that can serve all stops.",
"type": "boolean"
}
},
"additionalProperties": {}
}
},
"required": [
"visits",
"fleet"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢routific_submit_route_job(visits, fleet, options)
Start a route plan for a large problem (up to 2500 visits) as a background job. Returns a job_id; read it with routific_get_job. Routific API: POST /v1/vrp-long.
Input Schema
{
"type": "object",
"properties": {
"visits": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "A location: an address name, or coordinates."
},
"start": {
"description": "Earliest arrival, hh:mm.",
"type": "string"
},
"end": {
"description": "Latest finish, hh:mm.",
"type": "string"
},
"duration": {
"description": "Time spent at the stop, in minutes.",
"type": "number",
"minimum": 0
},
"load": {
"description": "Load added (positive) or removed (negative) at the stop.",
"type": "number"
}
},
"required": [
"location"
],
"additionalProperties": {},
"description": "One stop with its time window, service time and load."
},
"description": "Map of visit ID to stop. The IDs are yours; the routes refer to them."
},
"fleet": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"start_location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "Where the route starts, usually the depot."
},
"end_location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "Where the route ends."
},
"shift_start": {
"type": "string",
"description": "Shift start, hh:mm."
},
"shift_end": {
"type": "string",
"description": "Shift end, hh:mm."
},
"capacity": {
"description": "Load the vehicle can carry.",
"type": "number"
}
},
"required": [
"start_location",
"end_location",
"shift_start",
"shift_end"
],
"additionalProperties": {},
"description": "One vehicle or driver with its shift."
},
"description": "Map of vehicle ID to vehicle. The IDs are yours."
},
"options": {
"description": "Engine options. Other documented keys (balance, squash_durations, max_visit_lateness, avoid_tolls, geocoder) pass through.",
"type": "object",
"properties": {
"traffic": {
"description": "Traffic speed: faster (default), fast, normal, slow or very slow. Slow adds margin to travel times.",
"type": "string"
},
"polylines": {
"description": "Return an encoded polyline for each route.",
"type": "boolean"
},
"min_vehicles": {
"description": "Use the fewest vehicles that can serve all stops.",
"type": "boolean"
}
},
"additionalProperties": {}
}
},
"required": [
"visits",
"fleet"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢routific_optimize_pickups_deliveries(visits, fleet, options)
Plan same-day pickup and delivery routes: each order is picked up before it is dropped off by the same driver. Synchronous; use routific_submit_pickups_deliveries_job above 30 orders. Routific API: POST /v1/pdp.
Input Schema
{
"type": "object",
"properties": {
"visits": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"pickup": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "A location: an address name, or coordinates."
},
"start": {
"description": "Earliest arrival, hh:mm.",
"type": "string"
},
"end": {
"description": "Latest finish, hh:mm.",
"type": "string"
},
"duration": {
"description": "Time spent at the stop, in minutes.",
"type": "number",
"minimum": 0
},
"load": {
"description": "Load added (positive) or removed (negative) at the stop.",
"type": "number"
}
},
"required": [
"location"
],
"additionalProperties": {},
"description": "Where the item is picked up."
},
"dropoff": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "A location: an address name, or coordinates."
},
"start": {
"description": "Earliest arrival, hh:mm.",
"type": "string"
},
"end": {
"description": "Latest finish, hh:mm.",
"type": "string"
},
"duration": {
"description": "Time spent at the stop, in minutes.",
"type": "number",
"minimum": 0
},
"load": {
"description": "Load added (positive) or removed (negative) at the stop.",
"type": "number"
}
},
"required": [
"location"
],
"additionalProperties": {},
"description": "Where the item is dropped off. Must be after the pickup."
}
},
"required": [
"pickup",
"dropoff"
],
"additionalProperties": {},
"description": "One same-day order: a pickup and a dropoff done by the same driver."
},
"description": "Map of order ID to pickup and dropoff. The IDs are yours; the routes refer to them."
},
"fleet": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"start_location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "Where the route starts, usually the depot."
},
"end_location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "Where the route ends."
},
"shift_start": {
"type": "string",
"description": "Shift start, hh:mm."
},
"shift_end": {
"type": "string",
"description": "Shift end, hh:mm."
},
"capacity": {
"description": "Load the vehicle can carry.",
"type": "number"
}
},
"required": [
"start_location",
"end_location",
"shift_start",
"shift_end"
],
"additionalProperties": {},
"description": "One vehicle or driver with its shift."
},
"description": "Map of vehicle ID to vehicle. The IDs are yours."
},
"options": {
"description": "Engine options. Other documented keys (balance, squash_durations, max_visit_lateness, avoid_tolls, geocoder) pass through.",
"type": "object",
"properties": {
"traffic": {
"description": "Traffic speed: faster (default), fast, normal, slow or very slow. Slow adds margin to travel times.",
"type": "string"
},
"polylines": {
"description": "Return an encoded polyline for each route.",
"type": "boolean"
},
"min_vehicles": {
"description": "Use the fewest vehicles that can serve all stops.",
"type": "boolean"
}
},
"additionalProperties": {}
}
},
"required": [
"visits",
"fleet"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢routific_submit_pickups_deliveries_job(visits, fleet, options)
Start a same-day pickup and delivery plan for a large problem as a background job. Returns a job_id; read it with routific_get_job. Routific API: POST /v1/pdp-long.
Input Schema
{
"type": "object",
"properties": {
"visits": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"pickup": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "A location: an address name, or coordinates."
},
"start": {
"description": "Earliest arrival, hh:mm.",
"type": "string"
},
"end": {
"description": "Latest finish, hh:mm.",
"type": "string"
},
"duration": {
"description": "Time spent at the stop, in minutes.",
"type": "number",
"minimum": 0
},
"load": {
"description": "Load added (positive) or removed (negative) at the stop.",
"type": "number"
}
},
"required": [
"location"
],
"additionalProperties": {},
"description": "Where the item is picked up."
},
"dropoff": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "A location: an address name, or coordinates."
},
"start": {
"description": "Earliest arrival, hh:mm.",
"type": "string"
},
"end": {
"description": "Latest finish, hh:mm.",
"type": "string"
},
"duration": {
"description": "Time spent at the stop, in minutes.",
"type": "number",
"minimum": 0
},
"load": {
"description": "Load added (positive) or removed (negative) at the stop.",
"type": "number"
}
},
"required": [
"location"
],
"additionalProperties": {},
"description": "Where the item is dropped off. Must be after the pickup."
}
},
"required": [
"pickup",
"dropoff"
],
"additionalProperties": {},
"description": "One same-day order: a pickup and a dropoff done by the same driver."
},
"description": "Map of order ID to pickup and dropoff. The IDs are yours; the routes refer to them."
},
"fleet": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"start_location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "Where the route starts, usually the depot."
},
"end_location": {
"type": "object",
"properties": {
"name": {
"description": "Address or place name. Routific geocodes it when lat and lng are not set.",
"type": "string"
},
"lat": {
"description": "Latitude. Set with lng to skip geocoding.",
"type": "number"
},
"lng": {
"description": "Longitude. Set with lat to skip geocoding.",
"type": "number"
}
},
"additionalProperties": {},
"description": "Where the route ends."
},
"shift_start": {
"type": "string",
"description": "Shift start, hh:mm."
},
"shift_end": {
"type": "string",
"description": "Shift end, hh:mm."
},
"capacity": {
"description": "Load the vehicle can carry.",
"type": "number"
}
},
"required": [
"start_location",
"end_location",
"shift_start",
"shift_end"
],
"additionalProperties": {},
"description": "One vehicle or driver with its shift."
},
"description": "Map of vehicle ID to vehicle. The IDs are yours."
},
"options": {
"description": "Engine options. Other documented keys (balance, squash_durations, max_visit_lateness, avoid_tolls, geocoder) pass through.",
"type": "object",
"properties": {
"traffic": {
"description": "Traffic speed: faster (default), fast, normal, slow or very slow. Slow adds margin to travel times.",
"type": "string"
},
"polylines": {
"description": "Return an encoded polyline for each route.",
"type": "boolean"
},
"min_vehicles": {
"description": "Use the fewest vehicles that can serve all stops.",
"type": "boolean"
}
},
"additionalProperties": {}
}
},
"required": [
"visits",
"fleet"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢routific_get_job(jobId)
Read a background route job by job_id. Status is pending, processing, finished or error; a finished job's route plan is in output. Routific API: GET /jobs/{id}.
Input Schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"minLength": 1,
"description": "Job ID from routific_submit_route_job or routific_submit_pickups_deliveries_job."
}
},
"required": [
"jobId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence