Skip to content

What you need

Key neededA free key, sent in the X-API-Key header
Endpointhttps://threatcluster.io/mcp, streamable HTTP; npx threatcluster-mcp for stdio
ToolsTen read-only tools; most cost 1 or 2 credits, a search 5
ClientsClaude Desktop, Claude Code, Cursor, VS Code, Windsurf, Zed

One-click install: Cursor and VS Code

Signed in, each button creates an API key named for the editor and opens its install prompt.

Sign in to install in one click Cursor and VS Code install with a key made for them. You can also add the server by hand with the settings below.

Revoke the key any time under Settings, API keys. The manual setups below work too.

Prerequisites

  • A ThreatCluster account (Free works) and an API key from Settings → API
  • A client that speaks streamable HTTP: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf or Zed
  • For the stdio fallback only: Node 18+, so npx -y threatcluster-mcp can run the same tools locally

A free key gets 100 credits a day, 30 requests a minute, a 7-day lookback and the five read scopes. On claude.ai you need no key: see the Claude guide.

Setup: Claude Code

claude mcp add --transport http threatcluster https://threatcluster.io/mcp --header "X-API-Key: tc_live_..."

Then ask, for example, "an alert just came in mentioning CVE-2026-83549, what does ThreatCluster know and which clusters is it in". Claude calls get_vulnerability and search_threats and cites the URLs it gets back.

Stdio fallback:

claude mcp add threatcluster -e THREATCLUSTER_API_KEY=tc_live_... -- npx -y threatcluster-mcp

Setup: Claude Desktop

Settings → Developer → Edit Config opens claude_desktop_config.json. Add the server and restart.

{
  "mcpServers": {
    "threatcluster": {
      "type": "http",
      "url": "https://threatcluster.io/mcp",
      "headers": { "X-API-Key": "tc_live_..." }
    }
  }
}

Stdio fallback: replace that block with "command": "npx", "args": ["-y", "threatcluster-mcp"], "env": { "THREATCLUSTER_API_KEY": "tc_live_..." }.

Setup: Cursor

Use the one-click button, or add this to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).

{
  "mcpServers": {
    "threatcluster": {
      "url": "https://threatcluster.io/mcp",
      "headers": { "X-API-Key": "tc_live_..." }
    }
  }
}

Setup: VS Code

Create .vscode/mcp.json in the workspace. VS Code prompts for the key and keeps it in its secret store.

{
  "inputs": [
    { "type": "promptString", "id": "tc-key", "description": "ThreatCluster API key", "password": true }
  ],
  "servers": {
    "threatcluster": {
      "type": "http",
      "url": "https://threatcluster.io/mcp",
      "headers": { "X-API-Key": "${input:tc-key}" }
    }
  }
}

Setup: Windsurf and Zed

Windsurf reads ~/.codeium/windsurf/mcp_config.json with the same mcpServers block as Claude Desktop. Zed takes a context_servers entry in settings.json:

{
  "context_servers": {
    "threatcluster": {
      "url": "https://threatcluster.io/mcp",
      "headers": { "X-API-Key": "tc_live_..." }
    }
  }
}

Check your key without a client

curl -s https://threatcluster.io/mcp \
  -H "X-API-Key: tc_live_..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

It answers with the tool list, or 401 if the key is missing or invalid. For stdio, THREATCLUSTER_API_KEY=... npx -y threatcluster-mcp --check shows where the key came from and where it goes, never the key.

Tools and what they cost

Costs are API credits. An empty result or an error is refunded.

ToolAnswersAPICredits
search_threatskeyword search over incident clusters; tries the phrase, then all words, then any wordGET /threats?keyword=1 per term searched, max 8 calls
search_everythingclusters, entity profiles and dark-web hits in one callGET /search5 a search (a miss retries word by word)
newest_threatswhat is new in 1h / 24h / 7d / 30d, by first report or by momentumGET /threats1
get_threatone cluster in full: summary, timeline, articles, entities; include_iocs adds validated indicatorsGET /threats/{identifier}, GET /threats/{identifier}/iocs1 (+1 with include_iocs)
leak_site_victimsleak-site listings by sector / group / country / victim, plus a tally of the whole windowGET /darkweb/ransomware/victims, GET /darkweb/ransomware/victims/facets2
lookup_entityprofile of an actor, malware family, tool, vendor, product, country, industry or CVEGET /entities/search, GET /entities/{type}/{value}2
get_vulnerabilityone CVE: CVSS, EPSS, KEV with due date, exploits, vendors, productsGET /vulnerabilities/{cve_id}1
exploited_vulnerabilitiesCVEs in a window filtered to KEV / public exploit / severity / vendor / productGET /vulnerabilities1
trending_entitiesactors, malware, tools, vendors, CVEs, countries rising over a windowGET /entities/trending1
api_budgetcredits and rate state from the last responses; no API call—0

Every result carries cost, budget and a url on every cluster, entity, victim and CVE, so the model can cite what it used.

The analyst prompt

threatcluster_analyst tells the model to call tools first, state the period searched, cite every fact with its URL and treat leak-site listings as claims.

Errors

Errors come back as tool errors with the API's message. A 401 says to set THREATCLUSTER_API_KEY, a 429 carries Retry-After, and a 403 names the missing scope or the plan that lifts the lookback.

What a result looks like

search_threats with {"query": "Cleo Harmony", "days": 7, "limit": 3}, trimmed:

{
  "tool": "search_threats",
  "as_of": "2026-09-04T16:05:34Z",
  "cost": 3,
  "budget": {
    "remaining": 97,
    "limit": 100,
    "resets_at": "2026-09-05T00:00:00Z"
  },
  "query": "Cleo Harmony",
  "matched_stage": "any word",
  "window_searched": "7d",
  "api_calls": 3,
  "count": 2,
  "clusters": [
    {
      "short_id": "2532fa3d",
      "title": "Critical Cleo Harmony Vulnerability Exploited for Privilege Escalation",
      "date": "2026-09-02",
      "threat_score": 72.9,
      "summary": "A newly discovered authentication bypass vulnerability in Cleo Harmony, tracked as CVE-2026-84115, allows remote attacke…",
      "entities": {
        "ransomware_group": [
          "Cl0p"
        ],
        "cve": [
          "CVE-2026-0768",
          "CVE-2026-81578",
          "CVE-2026-82078"
        ],
        "platform": [
          "Cleo Harmony",
          "JFrog Artifactory",
          "Langflow"
        ]
      },
      "url": "https://threatcluster.io/cluster/critical-cleo-harmony-vulnerability-exploited-2532fa3d"
    },
    "…"
  ]
}

Budgets for agents

search_everything retries word by word, up to four words, when the phrase finds nothing. search_threats stops once three clusters match.

api_budget costs nothing and reports the day's remaining credits, so an agent can pace itself. A spent budget returns 429 with Retry-After and refills at 00:00 UTC.

For unattended agents, mint a scoped tc_agent_ key with scope downgrade and per-session request caps; see /cli.

Security

The key leaves the process only in the X-API-Key header. It is never logged, never written to disk and scrubbed from every error string.

Endpoints: API reference and OpenAPI document. Credits by plan: /pricing.

Problems you may hit

  • 401 unauthorized: the X-API-Key header is missing or the key is wrong. The body says "Send X-API-Key: tc_live_... or sign in with OAuth".
  • 405 method_not_allowed: the client opened a GET stream. The endpoint is stateless and takes JSON-RPC over POST only, so configure the streamable HTTP transport (for Claude Code, --transport http), not the older SSE one.
  • A tool returns nothing for an older story: a free key reads the last 7 days. The tools cannot reach further back than your plan allows.
  • The tools are read-only. They cannot create alert rules, feeds or webhooks; use the REST API for those.

Vendor documentation

Where a menu name or version here differs from theirs, theirs is current.

FAQ

What is MCP?

The Model Context Protocol, an open standard that lets an AI client call tools on a server. ThreatCluster serves its tools over it at threatcluster.io/mcp.

Do I need to install anything?

No. The tools are served from the API. Only clients limited to stdio need npx -y threatcluster-mcp, which needs Node 18 or later.

What does a miss cost?

Nothing. An empty result or an error is refunded.

Where does my key go?

Only into the X-API-Key header. It is never logged, never written to disk and scrubbed from every error string.