Skip to main content
Glama
CleanTalk MCP server

CleanTalk MCP server

Official
by CleanTalk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLEANTALK_AUTH_KEYYesAnti-Spam access key used by check_message, check_newuser and check_bot. Copy it from cleantalk.org/my > Services.
CLEANTALK_TIMEOUT_MSNoOptional request timeout in milliseconds.8000
CLEANTALK_DATABASE_API_KEYNoOptional 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 5 tools

Disambiguation4/5

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.

Naming Consistency3/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues