Truvek Comply
Pre-send compliance checker for email and SMS. Checks messages against four major laws before you send them — returns a verdict, findings, and fixes.
Works as an MCP server. Add it to Claude and ask it to check your emails in plain English.
Laws covered
| Law | Region | Channel |
|---|---|---|
| Spam Act 2003 | Australia | Email + SMS |
| CAN-SPAM Act | United States | |
| CASL | Canada | Email + SMS |
| GDPR / ePrivacy Directive | European Union | Email + SMS |
| TCPA | United States | SMS |
What it checks
| Rule | Laws | Severity |
|---|---|---|
| Consent missing (opt-in required) | Spam Act, CASL, GDPR | Block |
| Opt-out not confirmed | CAN-SPAM | Review |
| Inferred/implied consent risk | Spam Act, CASL | Review |
| Sender not identified | All four laws | Block |
| No unsubscribe mechanism | All four laws | Block |
| Unsubscribe requires login | Spam Act, CASL, GDPR | Review |
| Physical mailing address missing | CAN-SPAM, CASL | Block |
| Transactional email with promotional content | Spam Act, CAN-SPAM, CASL | Review |
| SMS alphanumeric sender ID unregistered | ACMA (AU, from Jul 2026) | Info |
| SMS prior written consent missing | TCPA (US) | Block |
| SMS opt-in consent missing | ePrivacy (EU) | Block |
Add to Claude
Claude Desktop — add this to your claude_desktop_config.json:
{
"mcpServers": {
"truvek-comply": {
"command": "truvek-comply"
}
}
}
Claude Code — run:
claude mcp add truvek-comply truvek-comply
Install
pip install truvek-comply
Requires Python 3.10+.
Usage
Once added, ask Claude to check an email:
"Check this email for compliance. We have express consent from subscribers who opted in via our website."
Specify a jurisdiction if you know your audience:
"Check this email against Australian law only."
Or check all jurisdictions at once (the default):
"Check this email — our list includes US, Canadian, and Australian subscribers."
Claude will call Truvek Comply and return a verdict — pass, review, or block — with findings tagged to the specific law they come from.
Tools
| Tool | What it does |
|---|---|
check_message |
Full compliance check — verdict, findings tagged by law, check ID |
classify_message |
Classify as marketing / transactional / transactional_with_promotion / unclear |
explain_rule |
Look up a specific rule by ID |
list_rules |
Return all rules with severity, jurisdiction, and fix guidance |
get_evidence |
Retrieve past check records from the local evidence log |
Parameters
check_message accepts:
| Parameter | Values | Default |
|---|---|---|
channel |
email, sms |
email |
consent |
express, inferred, none, unknown |
unknown |
sender_identified |
true, false |
false |
jurisdiction |
au, us, ca, eu, all |
all |
Consent by jurisdiction:
- AU / CA / EU: opt-in required —
noneorunknownblocks the send - US CAN-SPAM: opt-out model — prior consent not required, but opt-outs must be honoured
Background
Email and SMS marketing is regulated everywhere. ACMA (Australia) has issued fines over 7 million AUD for consent failures and 700K AUD for transactional emails containing promotional content. The FTC enforces CAN-SPAM with fines up to 51,744 USD per email. CRTC enforces CASL with penalties up to 10 million CAD per violation.
Truvek Comply is a pre-send compliance tool, not legal advice.
License
MIT
Metadata
Release files for truvek-comply 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| truvek_comply-0.1.0.tar.gz | 15.8 kB | Without provenance | Details for truvek_comply-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| truvek_comply-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for truvek_comply-0.1.0-py3-none-any.whl |
Total release size: 29.2 kB
Release files / truvek_comply-0.1.0.tar.gz
| Download URL | truvek_comply-0.1.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b5e0fae87b598dd71a972765a70ab11a9d1377db46bba475ad8bec98ece06ef
|
|
BLAKE2b-256 checksum How to use checksums |
f33ce7eb21ad1e52339045b4e1fc13952b12c90258f928132c13c4f18f5839b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / truvek_comply-0.1.0-py3-none-any.whl
| Download URL | truvek_comply-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87b843bf8de4c2324fa8cd75ac68bf6b8b576fed53a660c8f92be1e5376daa3c
|
|
BLAKE2b-256 checksum How to use checksums |
b3cadb41eb4897ce7c5486f76435d9785c84332ae11a801d74d507a533fbed94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Security for truvek-comply 0.1.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.