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.

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, Brazilian Portuguese.
  • 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.

Installation

pip install custovox-churn-signal

Need more?

custovox.ai — Full customer intelligence platform. From $89/month. https://custovox.ai

Metadata

Release files for custovox-churn-signal 1.0.0

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.0
File Size Uploaded Provenance Actions
custovox_churn_signal-1.0.0.tar.gz 5.7 kB Without provenance Details for custovox_churn_signal-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.1 kB

Release files / custovox_churn_signal-1.0.0.tar.gz

Download URL custovox_churn_signal-1.0.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3379bdacddb50e6e72d8dfebf074abdbd5a8efc5123d6a14447a27442d8eccd4
BLAKE2b-256 checksum
How to use checksums
dd634a28878fc0617d6d296995656378ab2761bddcb4f42d328330e52c774f42
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.0-py3-none-any.whl

Download URL custovox_churn_signal-1.0.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb9b7ace47449ae6a7343eb97daa89ac88184b890a586e1b091f01da3d6e73cb
BLAKE2b-256 checksum
How to use checksums
02ec03b51a74561a72f2f7e741a4aa9f5f01a2eb392153665fa2f07651927be8
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.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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