Lead Scorer
Score and prioritize inbound leads.
View In AppBuilding your Route & Logistics Optimizer Agent is about connecting the right logistics data to an optimization workflow. Choose an agent-building platform, prepare your stops and fleet information, and connect the Route & Logistics Optimizer MCP.
Once connected, you can ask the agent to plan routes, assign jobs, organize vehicle loads, and re-optimize routes when new orders arrive.
The optimization engine handles the underlying routing problem rather than relying on a language model to guess a route.
Choose the AI agent platform your team already uses or is planning to standardize on.
Your selected platform must support connecting to a remote MCP server or the relevant MCP integration method.
The existing Saifs AI tutorial’s platform options and connection walkthroughs should remain in place. Verify the current MCP support and connection requirements of your chosen platform before configuring the agent.
The agent’s recommendations depend on the information you provide. You can begin with structured files, such as CSV exports, where supported by your chosen workflow. Prepare the relevant information for the task you want to perform:
For route planning, accurate addresses and suitable distance or travel-time data are especially important. The documented implementation approach can use a distance-matrix service such as OSRM or the Mapbox Matrix API. Access requirements depend on the service and deployment.
Choose a data and connection workflow that fits your existing setup.
For an initial trial, structured order and fleet files may be a practical way to prepare the information. For repeated operational use, an MCP connection allows a compatible agent client to invoke the documented optimization tools.
The appropriate route and travel-time data source must also be configured for the deployment. The source specification identifies self-hosted OSRM and the Mapbox Matrix API as options; API access and server configuration may be required.
Do not assume that uploading a spreadsheet automatically configures the distance service or connects the MCP.
These are separate parts of the workflow.
Connect the Route & Logistics Optimizer MCP through the supported configuration method for your chosen agent platform.
Once the connection is configured, use the documented tools according to the task:
Provide the required inputs for the selected tool, review the results, and check that the proposed plan reflects real operating conditions.
The existing platform-specific setup instructions and connection walkthroughs elsewhere in the tutorial should remain unchanged. Use the Route & Logistics Optimizer’s verified server endpoint and configuration details when those agent-specific connection details are available; do not reuse another MCP’s endpoint.
Pick your platform below. Connecting our MCP is the same idea on each one — you add it once, then sign in with your Saifs AI account.
Launch Claude Desktop. In the top-left corner, click the three-dot menu to open the app's main menu.
From the three-dot menu, hover over File. Click Settings (or press Ctrl + Comma).
In Settings, select the Developer tab. Click Edit Config at the bottom of the panel. A File Explorer window will open at the Claude config folder. Click to select claude_desktop_config.json.
With the config file open, add this server — not the generic Saifs AI MCP. This one is Route & Logistics Optimizer only. Then restart Claude.
Open the Cursor application on your desktop. On the home screen, choose Open project, Clone repo, or Connect via SSH to begin working on a project.
Click the gear icon (top right) or go to File → Settings. In the left panel, click Tools & Integrations. Scroll to MCP Tools and click Add Custom MCP.
After clicking Add Custom MCP, Cursor opens the MCP config file. Add this server — not the generic Saifs AI MCP. This one is Route & Logistics Optimizer only. Click Connect next to the new MCP server under MCP Tools to start the integration.
When prompted, select Open so Cursor can process the URI and start the login flow. Sign in with your Saifs AI account, then click Open to finish the connection and confirm the toggle is ON.
From the ChatGPT home page, go to Settings.
Click Connectors in the settings menu. Click Create in the browse connectors section.
Enter this server — not the generic Saifs AI MCP. This one is Route & Logistics Optimizer only. Then click Save.
Click Save. You can now ask the agent to plan routes, assign jobs, pack loads, and re-optimize when new orders arrive in ChatGPT.
Open the VS Code marketplace and install an MCP-compatible client.
Open the command palette, type MCP: add, and select MCP: Add Server to start the wizard. Search MCP: Add Server and choose HTTP (HTTP or Server-Sent Events) to connect to a remote MCP server.
Input this server URL — not the generic Saifs AI MCP. This one is Route & Logistics Optimizer only. Press Enter to confirm. When prompted, choose Global (all workspaces) or Workspace (this workspace only).
Allow the server to authenticate so VS Code can talk to the Route & Logistics Optimizer MCP. The MCP server should show as Running. That confirms the Route & Logistics Optimizer Agent is connected in VS Code.
Once connected, the Route & Logistics Optimizer Agent helps turn operational data into routing and assignment plans.
Here is how the documented capabilities can fit into a typical logistics workflow.
Each example below is a prompt you can ask after the MCP is connected, together with what the documented tool can return.
Suppose you manage a local distribution fleet. Each morning, you receive a list of delivery addresses, have several vehicles available, and need to meet delivery windows without exceeding vehicle capacities or shift limits. Instead of manually splitting the stops between drivers, provide the stops, vehicle information, and supported constraints to the agent.
Here is today’s delivery-stop data and our available fleet. Create an ordered route for each vehicle. Respect the delivery time windows, vehicle capacities, and maximum shift lengths provided in the data. Flag any stops or constraints that cannot be handled as supplied.
The optimize_routes tool generates ordered routes for the vehicles based on the supplied stops, fleet information, and constraints.
Review the resulting routes before dispatch. Check for incomplete addresses, unassigned stops, infeasible requirements, and operational restrictions that may not be represented in the data.
A technician or sales representative may need to visit multiple locations during a shift. Even with only one vehicle, the order of stops affects the overall route. Use the single-route optimization capability when you need to organize one person’s visits.
These are the locations my technician needs to visit today. Use the supplied stop data to find an efficient visiting order for one vehicle. Return the ordered stops and identify any location data that needs checking.
The optimize_single_route tool applies the Traveling Salesman Problem approach to organize the stop order for one vehicle or representative.
The quality of the route depends on the locations and the distance or travel-time information available to the optimizer. Confirm that the proposed order also makes sense for appointment times, service priorities, and the technician’s working day.
A field-service coordinator may have several technicians and multiple jobs to complete. Assigning jobs manually can make it difficult to compare the available options consistently. Provide the workers, jobs, and the relevant assignment-cost information.
Here are today’s available technicians, the jobs that need to be completed, and the assignment-cost information. Find an optimal worker-to-job assignment for the supplied costs. Explain the resulting assignments and flag any missing or incompatible information.
The assign_jobs tool uses the Hungarian-method assignment approach to find an optimal assignment for the supplied cost information.
The tool’s result depends on how the assignment costs and restrictions are represented. If a job requires a particular certification, skill, or service area, make sure that requirement is properly reflected in the inputs and supported by the workflow. Review the assignments before confirming them.
A distributor needs to load goods into vehicles without exceeding the capacity available in each vehicle. A clear load plan helps the dispatch team understand how the items can be distributed.
Here is the list of items to deliver and the capacities of our available vehicles. Create a load plan using the supplied information. Show how the items are grouped into vehicle loads and flag any items that cannot be accommodated.
The pack_loads tool creates load plans using the item and vehicle-capacity information provided.
The source describes bin-packing methods for this task. The resulting plan should still be checked against real-world loading rules, item dimensions where relevant, handling requirements, weight limits, and delivery sequence. Capacity alone may not capture every practical loading constraint.
The original dispatch plan may no longer be suitable when new orders arrive during the day. Rather than treating the morning’s route as fixed, the team can provide the current operational state and the new orders for re-optimization.
These are the current routes and fleet state. We have received the attached new orders. Re-optimize the routes using the updated information and existing constraints. Explain which routes or assignments have changed and identify any constraints that need manual review.
The reoptimize_midday tool is designed to update routes using the current state and new orders.
Before dispatching the revised plan, check whether drivers have already completed stops, whether any delivery windows have passed, and whether the updated data accurately reflects each vehicle’s position and status. The result is only as useful as the current state supplied to the optimizer.
A list of ordered stops is useful for analysis, but dispatchers and drivers may also need a visual representation of the route.
Generate a route map for route ID [your route ID]. Make the stop order easy to review so the dispatch team can check the planned sequence before sending it to the driver.
The route_map tool generates the route map associated with the supplied route ID using the configured mapping capability.
The route must exist in the relevant workflow, and the map capability must be configured. Review the displayed stops and route against the planned order before using the map operationally.
When a dispatcher needs to justify a routing decision, the final stop order alone may not be enough. They may need to understand the cost, the constraints that shaped the route, and how it compares with a simple stop order.
Explain route ID [your route ID]. Break down the route’s costs, identify the constraints that influenced the plan, and describe the estimated savings compared with a naive stop order. Make clear which figures come from the available route data.
The explain_route tool provides a route explanation, including the cost breakdown, constraint bindings, and savings compared with a naive stop order.
Treat the comparison as an estimate based on the route data and the chosen baseline, not as a guarantee of actual fuel or time savings. Real-world traffic, waiting time, address accuracy, and operational changes may affect the outcome.
Optimization helps organize a difficult decision, but the final plan must still work in the real world.
Review the proposed fleet routes and load plans for obvious operational issues using the information available. Identify missing or questionable address data, capacity or time-window concerns, and any decisions that need manual confirmation before dispatch.
Use the available route, constraint, and load-plan outputs to support a final review. Correct bad address data, confirm practical constraints, and apply manual overrides where needed.
The source specification identifies address and geocoding quality, solver runtime for large instances, and driver adoption as important risks. A practical workflow should allow dispatchers to correct inputs and override plans that are not workable.
The goal is not simply to generate a route. It is to create a plan that the dispatch team can understand, validate, and use.
Review every plan against real operating conditions before it goes to a driver.
Correct bad inputs and apply manual overrides where the proposed plan is not workable.
Score and prioritize inbound leads.
View In AppScore and prioritize inbound leads.
View In AppScore and prioritize inbound leads.
View In AppScore and prioritize inbound leads.
View In App