A zero-dependency Model Context Protocol server that gives an AI agent isMalicious threat intelligence: reputation verdicts for IP addresses, domains, URLs, file hashes, email addresses and phone numbers, the CVE catalog, the isinjected gate that scans untrusted content for prompt injection before the agent acts on it, and a scanner that reads one whole email message for phishing and malware.
Install
{
"mcpServers": {
"ismalicious": {
"command": "npx",
"args": ["-y", "@ismalicious/mcp-server"],
"env": {
"ISMALICIOUS_API_KEY": "your-api-key",
"ISMALICIOUS_API_SECRET": "your-api-secret"
}
}
}
}
Keys: https://ismalicious.com/app/account. Free keys exist. Without the two
variables the server still starts, offering only bootstrap_key, which mints a
free key from an email address and uses it for the session (see below).
Registry name: com.ismalicious/mcp-server
(https://registry.modelcontextprotocol.io/v0/servers?search=ismalicious).
Remote (Streamable HTTP)
The same server runs at https://api.ismalicious.com/mcp, for clients that
connect to a URL instead of starting a process. Send the key pair with every
request:
Authorization: Bearer <apiKey>:<apiSecret>
The base64 of <apiKey>:<apiSecret>, or an X-API-KEY header carrying it,
works too. Claude Code:
claude mcp add --transport http ismalicious https://api.ismalicious.com/mcp \
--header "Authorization: Bearer <apiKey>:<apiSecret>"
Clients that take a JSON entry (Cursor and others):
{
"mcpServers": {
"ismalicious": {
"url": "https://api.ismalicious.com/mcp",
"headers": { "Authorization": "Bearer <apiKey>:<apiSecret>" }
}
}
}
What differs from the local server:
- No
check_password_exposure. Its promise is that the password never leaves your machine; over HTTP it would reach ours whole. Run the local server for it. - No
bootstrap_key. Get a free key at https://ismalicious.com/app/account. - Listing needs no key, calling does. Without a key,
initialize,tools/listandpinganswer (so directory crawlers see the tools) and any tool call gets 401. A key that is sent is checked againstGET /gate/quota, which bills nothing, and a refused one gets 401 on any request; an accepted one is not checked again for 5 minutes. - Stateless. Each POST carries one JSON-RPC message (or a batch of up to
10, run in order, with at most one
tools/call), answered asapplication/json; no session, no SSE stream (GETanswers 405). A request needs a string or numberid: without one onlynotifications/*are handled, and anything else is dropped unanswered. Without a key, a body is limited to 64 KiB. Anotifications/cancelledarrives in another request and cancels nothing; closing the connection cancels the call it carries. Theismalicious://quotaresource reports the scan meter, never the request headers of earlier calls. - Deadlines.
check_indicatorsstops at 50 s instead of 60 s, under the edge's own timeout; the others keep theirs. A call the client stopped waiting for is still billed, so give the client at least 60 s per call (OpenSRE's MCP gateway:timeout_secondsof 90, since its 30 s default covers a listing session and a calling session together). - Billing is the same. Each tool call costs what it costs locally, and the result cache (see Latency) is shared across your requests for the same key, so a repeat within its lifetime is still free. The environment variables below do not apply.
Every lookup tool is read-only (readOnlyHint: true). For a gateway that only
lets certified read-only tools run without confirmation, such as OpenSRE's MCP
gateway, nine remote tools qualify: scan_before_use, check_url,
check_indicator, get_cve, recent_cves, search_indicators,
check_indicators, scan_email, exploited_cves. The three
vulnerability-monitoring tools added in 0.8.0 change the account and say so
(readOnlyHint: false, destructiveHint: false): watch_domain and
watch_dependencies start watching a source (idempotentHint: true: adding
it again returns the one already watched), ack_finding sets a finding's
status.
To serve it yourself, @ismalicious/mcp-server/streamable-http exports
handleStreamableHttp(request, options) on web-standard Request and
Response.
Tools
| Tool | What it answers | Cost |
|---|---|---|
scan_before_use |
Prompt-injection scan plus link reputation over a block of untrusted text. block | warn | allow. |
1 scan |
check_url |
Reputation of one URL, domain or IP before fetching it. block | warn | allow. |
1 scan |
check_indicator |
The one tool for any single indicator: IP, domain, URL, file hash (MD5, SHA-1, SHA-256), email address or phone number, defanged or not. verdict (malicious/suspicious/clean/unknown — never clean for an email address or phone number), a headline you can relay verbatim, recommendedAction (block/review/allow/unverified), risk 0-100, citing threat blocklists, up to three evidence reasons, infrastructure (cloud, CDN, Tor exit…), first/last seen, network, registration or file context. fast by default (no live DNS, WHOIS or OTX call; a cold hash may wait ~2.5 s on CIRCL). Under 4 KB. |
1 request |
get_cve |
One CVE by id: description, CVSS, EPSS, CISA KEV status and due date, exploitation evidence where recorded (SSVC, Exploit-DB, Nuclei, MSRC), affected packages and fixed versions (OSV.dev), vendor advisories (CSAF), references. No recorded evidence is not proof of no exploitation. The only CVE path. | 1 request |
recent_cves |
Latest CVEs, optional severity, at most 20. |
1 request |
search_indicators |
Domains the corpus lists that look like a brand or domain — typosquats, homoglyphs, other TLDs or hosts, phishing-word combinations — most dangerous first. total_hits counts the upstream sample; truncated is true when omission is known, null when unknown. Follow up with check_indicators for verdicts. |
1 request on api.ismalicious.com; burst limit only on the default base |
check_indicators |
Up to 100 indicators of any of the six kinds in one call: per row malicious, recommendedAction (block/escalate/review/monitor/allow/unverified), risk, blocklist count, categories, lookupStatus, infrastructure. Each unique indicator sent charges one request, including rows the API cannot type; SHA-512, TLSH and ssdeep rows are refused locally and cost nothing. Plans cap the batch (Free 10, Basic 50, Pro 100). |
1 request per indicator |
check_password_exposure |
Whether a password, or its SHA-1 or NTLM hash, is in known breach dumps (Have I Been Pwned's Pwned Passwords) and how many times. A password is hashed locally; only the first 5 hex digits of the hash are sent. | 1 request |
scan_email |
Scan one email message for phishing and malware: raw eml or parsed message. verdict (malicious/suspicious/clean/inconclusive), recommendedAction (quarantine/review/warn/deliver), risk 0-100, a headline to relay, the strongest reasons, coverage.skipped. malicious needs a listing in the dataset; clean needs your own system's DMARC pass and a sender domain the dataset knows as established; deliver never releases a message another engine held. From a raw message, attachments are also read for structure; it never runs an attachment or fetches a link. |
1 scan per message |
exploited_cves |
CVEs with attested exploitation in the last days (default 7): confirmed (CISA KEV, CISA SSVC active, or two independent catalogues) or reported (one), confirmed first, with severity, CVSS, EPSS, first and last evidence, KEV date, patch, sources and the indicators tagged with each this week (absent when unknown). Works without a key. |
1 request with a key; IP rate limit without |
watch_domain |
Start vulnerability monitoring of a public website: its headers, generator tag, versioned scripts and ports are read now and daily, each versioned component matched against CVEs. Returns the source, the components and the open findings with priority and fix. | 1 watched source of the plan |
watch_dependencies |
Start vulnerability monitoring of a project from its lockfile or SBOM text (package-lock.json, composer.lock, requirements.txt, Gemfile.lock, Cargo.lock, CycloneDX JSON; at most 5 MiB). Dependencies matched by version against OSV and NVD ranges, dev dependencies left out by default. | 1 watched source of the plan |
ack_finding |
Set one finding's status: ACKNOWLEDGED, PATCHED, NOT_AFFECTED, or SNOOZED until a date (90 days at most). It reopens by itself on KEV or reported exploitation. |
— |
bootstrap_key |
Only without a configured key: mint a free key from an email, one per IP per day. | — |
The default search API reads a bare keyword as its .com (paypal →
paypal.com) and returns at most 500 listed lookalikes. limit only reduces
that sample. Only listed domains are returned and a name buried in a longer
hostname is not matched, so an empty answer does not prove that no lookalike
exists.
The MCP result labels total_hits_scope as upstream_sample. Legacy or custom
API responses without completeness metadata produce truncated: null.
Scans and requests are two meters: https://ismalicious.com/api-docs.
Indicator types
check_indicator and check_indicators type each indicator before any
request, the way the API does:
| Kind | Recognised as |
|---|---|
| IP | IPv4, IPv6 (including ::ffff:1.2.3.4 and [2001:db8::1]), or a CIDR. |
| URL | A scheme (https://…, or the typo https:/…) and a host that is a dotted domain or an IP, or a / after such a host. Sent with the scheme and host lowercased, the userinfo and a root dot after the host (evil.com./) dropped. Judged on its host. |
| File hash | MD5 (32 hex), SHA-1 (40) or SHA-256 (64), bare or labelled (sha256:…, SHA256: …, MD5=…). An imphash is 32 hex characters and is looked up as an MD5. |
| Email address | One @, no / or :// (so http://user@host/ stays a URL), a domain of two or more labels. Lowercased. Name <user@host> and mailto:user@host?subject=… are read as the address. |
| Phone number | Digits, spaces and + - . ( ) only, + first if at all, 7 to 15 digits. +… and 00… are international; pass country (ISO 3166-1 alpha-2) for a national number such as 06 12 34 56 78; without it, 10 digits read as North American. |
| Domain | Two or more labels of letters, digits, hyphens and underscores (non-ASCII letters too, when the label has a punycode form), an optional :port, 253 characters at most. An allowlist: nothing else is sent as a domain. |
Every value is NFKC-normalised first, so full-width forms from CJK text
(090−1234−5678, user@evil.com, evil.com) read as their ASCII
selves, and an ideographic full stop (。) separates labels. Numbers are read
as typeset before the phone rule applies, and that form is what is sent:
no-break and thin spaces become spaces, typographic dashes and the minus sign
become -, (+33) 6 … becomes +33 6 …, +44 (0)20 … loses the national
(0), 030/1234567 its slash, tel: links their ;ext=… parameters, and a
trailing extension (x123, ext. 123) is dropped. A contact link is read as
the address or number it holds, with or without //: mailto:, tel:,
sms: (and its ?body=…), callto:, and sip: when its user part is a
number. So is a spreadsheet export's =+1…, ="+1…" or '+1….
Input that is none of these is refused before any request (invalid_params;
in a batch, a row with an error, not sent and not charged), never sent as a
domain: an @ the email rule rejects ("john doe"@example.com,
user@localhost, user@evil.com/), digits and separators the phone rule
rejects (12345), a number written with its keypad letters
(+1-800-FLOWERS), a URL whose host is not a dotted domain or an IP
(https://intranet/), and anything else that is not a hostname (localhost,
*.evil.com, spaces, quotes or brackets). Sent as a domain, each came back
"not listed", which read as clean / allow.
Defang
