delivery-vision-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@delivery-vision-mcpCheck this parcel image for damage and severity"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
delivery-vision-mcp
An MCP (Model Context Protocol) server that exposes trained computer vision models as tools an AI agent can call directly, built for logistics and delivery use cases like Pathao, Redx, Carrybee, Steadfast etc.
Instead of connecting to someone else's vision service, this server wraps your own trained YOLO models so any MCP client (Claude Desktop, Claude Code, Cursor) can call them mid-conversation.
Tools
Tool | What it does |
| Detects damage on a parcel, returns type, affected area %, and severity |
| Runs damage detection across up to 20 images in one call, summarized |
| Counts boxes/parcels visible in an image |
| Checks whether a rider is wearing a helmet |
| Classifies vehicle type (bike, CNG, car, rickshaw, etc) |
| Lists tools and shows which models have weights loaded |
Related MCP server: mcp-see
What makes this more than a demo
Severity is more than confidence.
detect_package_damageblends detection confidence with how much of the frame the damage covers, so a small high-confidence scuff doesn't register the same as a crushed side.Batch support.
detect_damage_batchchecks a whole set of images (e.g. one hub's daily intake) in a single tool call instead of one at a time.No raw crashes. Every tool validates the image path and model weights first and returns a clean, readable message on failure, missing file, corrupt image, missing weights, instead of a stack trace reaching the agent.
Self-reporting.
list_available_toolsshows which models are actually loaded, so an agent (or you) can check readiness before calling a tool that will fail.
⚠️ Attention: This Won't Work Out of the Box
Before you get started, it's worth being upfront about one thing: this repo gives you the plumbing, not the intelligence. The server, the tool definitions, the error handling, the severity scoring, all of that is done. What it doesn't come with are the actual computer vision models.
That part is on you. You'll need to train your own YOLO model for each
capability you want to use, whether that's spotting a dented parcel,
counting boxes in a hub photo, checking if a rider has their helmet on, or
telling a CNG apart from a rickshaw. Once you've trained a model and have a
.pt weights file in hand, you just drop it into the models/ folder with
the right name, and that tool switches on automatically. No code to touch,
no config to rewrite.
Until you do that, the server will still run and Claude will still see all six tools, but calling one without weights behind it just gets you a polite "not ready yet" message instead of a real answer. So think of this less as a finished product and more as a well-built frame waiting for you to fill in the glass. The actual computer vision work, collecting images, labeling them, training the model, is the part that turns this from a nice piece of scaffolding into something that genuinely sees.
Setup
Install dependencies:
pip install -r requirements.txtAdd trained weights to
models/, one file per tool you want live:models/parcel-damage.pt— damage type detectionmodels/parcel-count.pt— box/parcel countingmodels/helmet-detection.pt— helmet vs no-helmet detectionmodels/vehicle-classify.pt— vehicle type classification
You don't need all four at once. Any tool whose weights are missing returns a clear setup message instead of crashing the server, so you can build this out incrementally.
Run the server locally to confirm it starts:
python server.py
Connect to Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"delivery-vision": {
"command": "python",
"args": ["/full/path/to/delivery-vision-mcp/server.py"]
}
}
}Restart Claude Desktop. It will list all six tools automatically and can call them when you share an image path (or a list of paths, for the batch tool) in conversation.
Why build this instead of just using an existing MCP server
Anyone can connect to Roboflow's or Groundlight's MCP server. This project demonstrates the other half of the skill: training your own CV models and exposing them as agent-callable tools, the part that actually requires computer vision expertise.
This server cannot be deployed
Maintenance
Related MCP Connectors
Roboflow computer vision for AI agents: datasets, annotation, versioning, workflows, inference.
Video, audio, and image processing for AI agents: convert, transcribe, upscale - 150+ operations.
Build and run visual creative-production workflows from your AI agent.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA computer vision service that allows Claude to perform object detection, segmentation, classification, and real-time camera analysis using state-of-the-art YOLO models.38MIT
- FlicenseAqualityNot gradedmaintenanceEnables AI agents to analyze images through vision AI providers (Gemini, OpenAI, Claude), performing tasks like image description, object detection with bounding boxes, region-specific analysis, and precise color extraction without consuming context window with raw pixels.4-
- AlicenseAqualityDmaintenanceEnables AI agents to analyze images, extract text, compare images, and analyze video through any OpenAI-compatible vision model.477 npm20MIT
- AlicenseAqualityBmaintenanceEnables AI agents to analyze images via user-configured cloud vision APIs (Gemini or OpenAI-compatible), returning structured results such as summaries, OCR text, and objects.41MIT