Routific MCP by usefulapi
Optimize vehicle routes and same-day pickups and deliveries, and read job results in Routific.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- LOWin routific_optimize_pickups_deliveries
- LOWin routific_submit_pickups_deliveries_job
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"routific": {
"url": "https://routific.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://routific.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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}.
Eingabe-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
Nachweis