CleanTalk MCP server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLEANTALK_AUTH_KEY | Yes | Anti-Spam access key used by check_message, check_newuser and check_bot. Copy it from cleantalk.org/my > Services. | |
| CLEANTALK_TIMEOUT_MS | No | Optional request timeout in milliseconds. | 8000 |
| CLEANTALK_DATABASE_API_KEY | No | Optional Block Lists (Database API) key used by spam_check and email_check. Without it these two lookup tools return an error while the other three keep working. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
CleanTalk checks user-generated input for spam and verifies emails and IPs against a blocklist built from 1,000,000+ protected websites.
When to call which tool:
check_message: a visitor sent a comment, review, contact form, support ticket or chat message. Pass the text plus the sender's email and IP when known.
check_newuser: a visitor registered, subscribed, placed an order or voted (no message text). Pass email and/or IP.
check_bot: decide whether a visitor is a bot before showing content, decoding contacts or allowing an action. Pass the IP.
spam_check: look up the reputation of up to 100 IPs or emails at once (spam activity, frequency, network type, disposable email) without recording a request in the CleanTalk dashboard.
email_check: verify that an email address really exists (mailbox check) before sending mail or trusting a lead.
Results: "allow: 0" or "isSpam: true" means block or send to moderation. codes explain the reason (BL = blocklisted, EMAIL_NOT_EXISTS, FAST_SUBMIT, STOP_LIST, ...). Each check_message / check_newuser call is logged in the CleanTalk dashboard under the returned requestId, so do not call them for test data in bulk. spam_check and email_check are read-only lookups.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_messageA | Spam verdict for a comment, review, contact form, support ticket or chat message. Checks the text (links, stop words, spam templates), the sender's email and IP against the CleanTalk blocklist and behaviour data. Returns isSpam, codes and the request id. Use check_newuser for forms without a message. |
| check_newuserA | Spam verdict for a registration, newsletter subscription, order, booking or poll vote: anything without a message text. Pass at least email or ip. Checks the sender against the CleanTalk blocklist, verifies the email domain and mailbox, and uses behaviour data when an event_token is given. |
| check_botA | Decide whether a visitor is a bot right now, by IP address and optional Bot Detector event token. Returns isBot and botExpectation (0 to 1). Use it before showing contacts, granting access or counting a visit. |
| spam_checkA | Look up up to 100 IP addresses and/or email addresses in the CleanTalk blocklist database (built from spam activity on 1,000,000+ websites). For each record returns spam_rate (0 or 1), frequency (how many sites saw spam from it), appears (1 = currently in the blocklist), network_type, country, disposable_email, exists, dates. Read-only, nothing is logged in the dashboard. Good for lead lists, user audits and allowlist decisions. |
| email_checkA | Check that up to 100 email addresses really exist (mailbox verification via the domain's mail servers). For each address returns EXISTS, NOT_EXISTS, MX_FAIL or MX_ERROR. Read-only. Use it to clean lead lists or reject fake sign-ups before sending email. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
The three verdict tools are separated cleanly along a stated axis: check_message for message-bearing submissions, check_newuser for registrations/orders without text, and check_bot for IP-only bot decisions. spam_check and email_check overlap somewhat with the per-record checks (same blocklist/email lookups), but the descriptions distinguish them as bulk, read-only lookups of up to 100 records versus single-submission verdicts.
Two conventions coexist: check_message, check_newuser, check_bot use a verb_noun prefix, while spam_check and email_check use a noun_verb suffix, and 'newuser' is unseparated. The split roughly tracks verdict tools versus bulk lookups, so it is readable, but an agent cannot predict a name from the pattern alone.
Five tools is tightly scoped to a spam/bot/email-checking service, with each tool earning its place and no redundant or filler entries. Nothing feels thin because the two bulk tools cover many records per call.
The surface covers the domain's main jobs: single-submission spam verdicts (with and without text), bot detection, bulk blocklist lookup, and mailbox verification. Minor gaps remain, such as reporting a misclassification back to CleanTalk or retrieving dashboard logs/stats, but agents can work around these.