mcpField
M
mcp-threatintel

mcp-threatintel

Local
github.com/aplaceforallmystuffSecurity9Updated 11w ago

About mcp-threatintel

mcp-threatintel is an MCP server for security researchers, incident responders, and threat analysts. It combines lookups across configured intelligence sources and can return partial results when some sources are unavailable.

Key features

  1. 01Query IPs, domains, hashes, and URLs across sources
  2. 02Access OTX, AbuseIPDB, and GreyNoise
  3. 03Query abuse.ch intelligence projects
  4. 04Fetch Feodo Tracker data without a key
  5. 05Check configured source status

Use cases

  1. 01Investigate a suspicious IP or domain
  2. 02Check a file hash or URL
  3. 03Search threat pulses and malware samples
  4. 04Review active botnet C2 servers

MCP support

The project provides an MCP server that exposes threat-intelligence lookup and source-status tools to MCP clients. Tools are enabled according to configured API keys; Feodo Tracker requires no key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"aplaceforallmystuff-mcp-threatintel": {
"command": "npx",
"args": [
"-y",
"mcp-threatintel-server"
],
"env": {
"OTX_API_KEY": "<OTX_API_KEY>",
"ABUSEIPDB_API_KEY": "<ABUSEIPDB_API_KEY>",
"GREYNOISE_API_KEY": "<GREYNOISE_API_KEY>",
"ABUSECH_AUTH_KEY": "<ABUSECH_AUTH_KEY>"
}
}
}
}
Run commandnpx -y mcp-threatintel-server
Environment variables to set
OTX_API_KEYSecretAlienVault OTX API key (free at otx.alienvault.com)
ABUSEIPDB_API_KEYSecretAbuseIPDB API key (free at abuseipdb.com)
GREYNOISE_API_KEYSecretGreyNoise API key (free at greynoise.io)
ABUSECH_AUTH_KEYSecretabuse.ch Auth Key for URLhaus, MalwareBazaar, ThreatFox (free at auth.abuse.ch)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-threatintel-server1.0.1

Tools

6

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project README

MCP Threat Intel Server

npm version CI License: MIT MCP

MCP server providing unified access to multiple threat intelligence sources for security research and analysis.

Why Use This?

If you're doing security research, incident response, or threat analysis, this MCP server lets you:

  • Unified lookups - Query IPs, domains, hashes, and URLs across multiple sources simultaneously
  • Reduce context switching - No need to open multiple browser tabs for different intel sources
  • Correlate intelligence - See results from all configured sources in one response
  • Free tier friendly - Works with free API tiers, gracefully degrades when sources unavailable
  • Works without keys - Feodo Tracker (botnet C2s) works without any API keys

Features

CategoryCapabilities
Unified LookupsQuery IPs, domains, file hashes, URLs across all sources
AlienVault OTXThreat pulses, indicators of compromise, community intelligence
AbuseIPDBIP reputation, abuse reports, confidence scores
GreyNoiseInternet noise vs targeted attacks, scanner identification
abuse.chURLhaus, MalwareBazaar, ThreatFox, Feodo Tracker

Prerequisites

  • Node.js 18+
  • API keys for your preferred threat intelligence sources (see below)

Installation

Using npm (Recommended)
npx mcp-threatintel-server

Or install globally:

npm install -g mcp-threatintel-server
From Source
git clone https://github.com/aplaceforallmystuff/mcp-threatintel.git
cd mcp-threatintel
npm install
npm run build

Configuration

For Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "threatintel": {
      "command": "npx",
      "args": ["-y", "mcp-threatintel-server"],
      "env": {
        "OTX_API_KEY": "your-otx-api-key",
        "ABUSEIPDB_API_KEY": "your-abuseipdb-api-key",
        "GREYNOISE_API_KEY": "your-greynoise-api-key",
        "ABUSECH_AUTH_KEY": "your-abusech-auth-key"
      }
    }
  }
}
For Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "threatintel": {
      "command": "npx",
      "args": ["-y", "mcp-threatintel-server"],
      "env": {
        "OTX_API_KEY": "your-otx-api-key",
        "ABUSEIPDB_API_KEY": "your-abuseipdb-api-key",
        "GREYNOISE_API_KEY": "your-greynoise-api-key",
        "ABUSECH_AUTH_KEY": "your-abusech-auth-key"
      }
    }
  }
}
API Keys
ServiceRequiredFree TierGet Key
AlienVault OTXOptionalYes (unlimited)otx.alienvault.com
AbuseIPDBOptionalYes (1,000/day)abuseipdb.com
GreyNoiseOptionalYes (limited)greynoise.io
abuse.chOptionalYesauth.abuse.ch
Feodo TrackerNoYesPublic JSON feeds

Note: Tools are dynamically enabled based on which API keys you provide. Feodo Tracker works without authentication (public JSON feeds).

Usage Examples

Check Available Sources

"What threat intel sources are configured?"

"Show me threatintel status"

IP Investigation

"Check if 185.220.101.1 is malicious"

"Look up this IP across all threat intel sources"

Domain Analysis

"Is evil-domain.com known to be malicious?"

"Check domain reputation"

Malware Hash Lookup

"Look up this SHA256 hash in threat intel"

"Is this file hash known malware?"

URL Analysis

"Check if this URL is in any blocklists"

Botnet Tracking (No API Key Required)

"Show me active botnet C2 servers"

"Get Feodo tracker data for Emotet"

Threat Pulses

"Search OTX for recent ransomware pulses"

"Get latest threat intelligence pulses"

Available Tools

Status
ToolDescription
threatintel_statusCheck which threat intelligence sources are configured
Unified Lookups
ToolDescription
threatintel_lookup_ipLook up IP across all configured sources
threatintel_lookup_domainLook up domain across all configured sources
threatintel_lookup_hashLook up file hash (MD5/SHA1/SHA256) across sources
threatintel_lookup_urlLook up URL across sources
AbuseIPDB (requires API key)
ToolDescription
abuseipdb_checkCheck IP reputation and abuse history
AlienVault OTX (requires API key)
ToolDescription
otx_get_pulsesGet recent threat intelligence pulses
otx_search_pulsesSearch pulses by keyword
GreyNoise (requires API key)
ToolDescription
greynoise_ipCheck if IP is internet noise or targeted threat
URLhaus (requires abuse.ch auth key)
ToolDescription
urlhaus_lookupLook up URL, domain, or IP in URLhaus
urlhaus_recentGet recent malware URLs
MalwareBazaar (requires abuse.ch auth key)
ToolDescription
malwarebazaar_hashLook up malware sample by hash
malwarebazaar_recentGet recent malware samples
malwarebazaar_tagSearch samples by tag
ThreatFox (requires abuse.ch auth key)
ToolDescription
threatfox_iocsGet recent IOCs from ThreatFox
threatfox_searchSearch ThreatFox IOCs
Feodo Tracker (no key required)
ToolDescription
feodo_trackerGet active botnet C2 servers (QakBot, Emotet, Dridex, etc.)

Development

# Watch mode for development
npm run watch

# Build TypeScript
npm run build

# Run locally
node dist/index.js

Troubleshooting

"No threat intel sources configured"

You can use the server without any API keys - Feodo Tracker will still work. For other sources, add the appropriate API keys to your configuration.

"API error: 401 Unauthorized"

Your API key is invalid or expired. Generate a new one from the respective service.

"API error: 429 Too Many Requests"

You've exceeded the rate limit for a service. Wait a while or upgrade your API tier.

Partial results

If some sources return errors, the unified lookup tools will still return results from working sources. Check threatintel_status to see which sources are configured correctly.

Data Sources

AlienVault OTX

Open Threat Exchange - community-driven threat intelligence platform with pulses containing indicators of compromise.

AbuseIPDB

Crowdsourced IP reputation database with abuse reports from network administrators worldwide.

GreyNoise

Identifies IPs scanning the internet vs targeted attacks. Helps reduce false positives in threat detection.

abuse.ch Projects
  • URLhaus - Malware distribution URLs
  • MalwareBazaar - Malware sample repository
  • ThreatFox - IOC sharing platform
  • Feodo Tracker - Botnet C2 infrastructure tracking

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

License

MIT - see LICENSE for details.

Links

Related Projects

For additional threat intelligence capabilities, consider:

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.