Skip to main content

custovox-churn-signal

MCP server that scores the churn risk of a customer from the sequence of their messages (tickets, emails, chats), oldest first.

Quick start

pip install custovox-churn-signal
claude mcp add custovox-churn-signal -- uvx custovox-churn-signal
# Then ask Claude: "Score the churn risk of this customer from their last 5 messages: ..."
# Returns: churn_risk_score (0-100), risk_level, trend, key_signals, recommendation

Models are downloaded from Hugging Face on first start, then everything runs locally.

What it returns

One tool, score_churn_risk(messages, customer_id="unknown"):

  • churn_risk_score: 0-100 (higher = more at risk)
  • risk_level: low / medium / high / critical
  • trend: improving / stable / degrading / critical (sentiment of the second half of the messages vs the first half, from 3 messages)
  • key_signals: the warning signals found (negative last message, degrading trend, explicit intent to cancel or switch to a competitor, share of negative messages)
  • recommendation: a suggested follow-up action
  • messages_analyzed

How it works

  • Each message gets a 5-level sentiment (Very Negative → Very Positive) from one multilingual model (tabularisai/multilingual-sentiment-analysis; English, French, German, Spanish and Portuguese among the languages its model card lists).
  • The last message is checked for an explicit intent to cancel or to switch to a competitor with English zero-shot classification (facebook/bart-large-mnli), so this signal is most reliable in English.
  • The score is a transparent rule-based combination of these signals (average sentiment, trend, intent). It is a ranking to prioritize follow-up, not a trained or validated churn prediction.
  • Up to 20 messages per call; each message is read up to its first 512 characters. Runs locally: messages are not sent anywhere. Models are downloaded on first run.

About

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

Metadata

Release files for custovox-churn-signal 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for custovox-churn-signal 1.0.1
File Size Uploaded Provenance Actions
custovox_churn_signal-1.0.1.tar.gz 5.9 kB Without provenance Details for custovox_churn_signal-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for custovox-churn-signal 1.0.1
File Interpreter ABI Platform Actions
custovox_churn_signal-1.0.1-py3-none-any.whl Python 3 none any Details for custovox_churn_signal-1.0.1-py3-none-any.whl

Total release size: 10.4 kB

Release files / custovox_churn_signal-1.0.1.tar.gz

Download URL custovox_churn_signal-1.0.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
52f5f81b7327759cfd552ecc904ee08c9bb786fbbe7af223a8f96c9043b5d6b0
BLAKE2b-256 checksum
How to use checksums
b91fe235c9b72fead0437b3fdd3c127676323d158e1615215215c93e5997bc0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / custovox_churn_signal-1.0.1-py3-none-any.whl

Download URL custovox_churn_signal-1.0.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fc7e7cc50e3ddd3a3397403ffc573af6c8a4c579e7d2f661f546a55f67a54ed
BLAKE2b-256 checksum
How to use checksums
d0c971402a27d8fc3604ca960c1d81a7094d7cde7c8d4dbb7a2bd0cab4f33535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for custovox-churn-signal 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page