Skip to main content
Glama
@threatnoir/mcp-iocs

@threatnoir/mcp-iocs

by MLenngren
README.md
# @threatnoir/mcp-iocs

MCP server for querying ThreatNoir IOCs (Indicators of Compromise) from Claude Code, VS Code, or any MCP client.

## Quick Start

1. Get an API key at https://threatnoir.com/settings
2. Add to your `.mcp.json` (or your MCP client's config):

```json
{
  "mcpServers": {
    "threatnoir-iocs": {
      "command": "npx",
      "args": ["-y", "@threatnoir/mcp-iocs"],
      "env": {
        "THREATNOIR_API_KEY": "tn_live_...",
        "THREATNOIR_URL": "https://threatnoir.com"
      }
    }
  }
}
```

Notes:

- `THREATNOIR_URL` is optional (defaults to `https://threatnoir.com`).
- `list_iocs` works without an API key.
- `search_iocs` and `lookup_ioc` require `THREATNOIR_API_KEY`.

## Available Tools

- `search_iocs` — Search ThreatNoir's IOC database by keyword (requires API key)
- `list_iocs` — List the most recent IOCs (optionally filtered by type)
- `lookup_ioc` — Exact match lookup for a specific IOC value (requires API key)

## IOC Types

`ip`, `domain`, `hash_md5`, `hash_sha1`, `hash_sha256`, `url`, `cve`, `mitre_attack`, `email`, `malware`

## Internal mode (ThreatNoir team)

If `SUPABASE_SERVICE_KEY` is set, the server will use the internal Supabase REST API mode (useful for local dev).

TDQS

A3.5/5.0

Scored across 8 tools

Disambiguation4/5

The three IOC tools are distinguishable by intent: keyword search, recent listing with type filters, and exact-value lookup with associated context. The framework pair (search_frameworks vs lookup_framework) is the weakest boundary, since a code like 'T1566' could plausibly go to either, but the descriptions clarify that one returns matching items and the other returns an explanation.

Naming Consistency5/5

All tools follow a strict snake_case verb_noun pattern using a small, coherent verb set (search_, list_, lookup_) applied across resource families (iocs, frameworks, awareness, roundups, focus items). The singular lookup_ioc vs plural list_iocs is a deliberate and readable distinction between exact-match and collection operations.

Tool Count5/5

Eight tools is well within the ideal range and each maps to a distinct content type in the ThreatNoir corpus. Nothing appears redundant or padded.

Completeness3/5

IOC and framework handling is solid (search, list, exact lookup, reference explanation), but the roundup, focus-item, and awareness surfaces only expose list/search with no detail retrieval for a specific item, leaving agents unable to fetch the full body of a roundup or advisory. Type/date filtering and pagination are also largely unaddressed.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues