Metadata-Version: 2.5
Name: custovox-visual
Version: 1.0.2
Summary: Customer photo triage MCP: English caption + likely issue category for hotel room, product return and retail photos. By custovox.ai
Project-URL: Homepage, https://custovox.ai/?utm_source=pypi&utm_medium=directory&utm_campaign=devcampagne-2026-11
Project-URL: Repository, https://github.com/jeremdecustovox/custovox-ai
Project-URL: Documentation, https://custovox.ai/?utm_source=pypi&utm_medium=directory&utm_campaign=devcampagne-2026-11
Author: CustoVox.ai
License: MIT
Keywords: custovox,ecommerce,hospitality,image-analysis,mcp,nlp,visual-analysis
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: mcp<2,>=1.0.0
Requires-Dist: pillow>=10.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: torch>=2.0.0
Requires-Dist: transformers>=4.40.0
Description-Content-Type: text/markdown

# custovox-visual

[![jeremdecustovox/custovox-ai MCP server](https://glama.ai/mcp/servers/jeremdecustovox/custovox-ai/badges/score.svg)](https://glama.ai/mcp/servers/jeremdecustovox/custovox-ai)

<!-- mcp-name: io.github.jeremdecustovox/custovox-visual -->

MCP server for a first triage of customer-submitted photos (hotel rooms, product returns, retail, support tickets).

## Quick start
```bash
pip install custovox-visual
claude mcp add custovox-visual -- uvx custovox-visual
# Then ask Claude: "Triage this customer photo: https://example.com/room.jpg (context: hospitality)"
# Returns: description, detected_issue, issue_confidence, severity, suggested_action
```
Models are downloaded from Hugging Face on first start, then everything runs locally.

## What it returns
One tool, `analyze_customer_image(image_url, context="general")` — `image_url` is an image URL or the image as a base64 string:
- `description`: an English caption of the image
- `detected_issue`: the most likely issue category (cleanliness, damage or defect, missing item, safety, maintenance, presentation, incorrect item, packaging, or no visible issue; with `context="hospitality"`: room cleanliness, missing amenities, maintenance, bathroom, bed or linen, view or room quality, or no visible problem)
- `issue_confidence`: the score of that category
- `severity`: none / low / medium / high, derived from that score
- `suggested_action`

## How it works
- The image is captioned in English by `Salesforce/blip-image-captioning-base`.
- The caption is then classified into the issue categories with English zero-shot classification (`facebook/bart-large-mnli`). The category is inferred from the caption, not from the pixels directly: an issue the caption does not mention is not detected.
- `severity` reflects how confident the classification is, not how serious the issue is. Use it to sort photos for human review, not as a final verdict.
- Runs locally; the only network call is downloading the image when you pass a URL. Models are downloaded on first run.

## About
Built by [CustoVox.ai](https://custovox.ai/?utm_source=github&utm_medium=readme&utm_campaign=devcampagne-2026-11). This free server runs on your machine with open models.
The hosted platform at [custovox.ai](https://custovox.ai/?utm_source=github&utm_medium=readme&utm_campaign=devcampagne-2026-11) covers 5 languages, voice, text and images, with reports and integrations. From $89/month.
