Metadata-Version: 2.5
Name: custovox-ticket-scorer
Version: 1.0.2
Summary: Support ticket scoring MCP: priority + category + sentiment + escalation risk. Multilingual sentiment. By custovox.ai
Project-URL: Homepage, https://custovox.ai
Project-URL: Repository, https://github.com/jeremdecustovox/custovox-ai
Project-URL: Documentation, https://custovox.ai
Author: CustoVox.ai
License: MIT
Keywords: customer-support,custovox,mcp,nlp,ticket-scoring,zero-shot
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: torch>=2.0.0
Requires-Dist: transformers>=4.40.0
Description-Content-Type: text/markdown

# custovox-ticket-scorer

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

MCP server that scores support tickets: priority, category, sentiment and escalation risk, to decide which ticket to handle first.

## Quick start
```bash
pip install custovox-ticket-scorer
claude mcp add custovox-ticket-scorer -- uvx custovox-ticket-scorer
# Then ask Claude: "Score this ticket: 'I was charged twice and nobody answers my emails.'"
# Returns: priority, category, sentiment, escalation_risk (+ confidences)
```
Models are downloaded from Hugging Face on first start, then everything runs locally.

## Tools
- `score_ticket(text)`: `priority` (urgent / normal / low priority), `category` (billing issue, technical problem, delivery issue, product defect, account access, refund request, general inquiry, feature request), `sentiment` (5 levels), `escalation_risk` (low / medium / high), each with a confidence
- `score_ticket_batch(tickets)`: up to 20 tickets, sorted by escalation risk

## Limits
- Priority and category come from an English zero-shot model (`facebook/bart-large-mnli`): most accurate on English tickets.
- Sentiment uses a multilingual model (English, French, German, Spanish, Portuguese among others).
- Escalation risk is a simple rule: negative sentiment and urgent priority gives high; one of the two gives medium.
- Each ticket is read up to its first 512 characters. About 2 GB of models are downloaded on first start.

## About
Built by [CustoVox.ai](https://custovox.ai). This free server runs on your machine with open models.
The hosted platform at [custovox.ai](https://custovox.ai) covers 5 languages, voice, text and images, with reports and integrations. From $89/month.
