mcp-cti

mcp-cti

3.4

If you are the rightful owner of mcp-cti and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server for accessing AlienVault Open Threat Exchange (OTX) threat intelligence directly in Claude.

otx-cti MCP Server

An MCP (Model Context Protocol) server for accessing AlienVault Open Threat Exchange (OTX) threat intelligence directly in Claude.

Overview

This server connects to AlienVault's OTX DirectConnect API, allowing the Claude for desktop client to search, retrieve, and analyse cyber threat intelligence data. Use this tool to interact with the OTX API using natural language prompting via Claude. By installing this MCP server, you get access to the most recent threat data, including:

  • Threat intelligence pulses
  • Indicators of compromise (IOCs)
  • Malicious IP addresses, domains, and URLs
  • Malware file hashes
  • Threat actor information

Features

  • Real-time Threat Intelligence: Access the latest threat data from AlienVault OTX's global community
  • Comprehensive IOC Analysis: Check if IPs, domains, URLs, or file hashes are known to be malicious
  • Threat Actor Profiling: Retrieve information about known threat actors and their activities
  • Cached Results: Optimised performance with local caching of API responses
  • Asynchronous API: Built with modern async Python for efficient handling of API requests

Tools Provided

Tool NameDescription
search_pulsesSearch for threat intelligence pulses in OTX
get_recent_pulsesGet recent threat intelligence pulses
get_pulse_detailsGet detailed information about a specific pulse
get_pulse_indicatorsGet indicators of compromise (IOCs) from a specific pulse
get_indicator_detailsGet detailed information about a specific indicator
check_indicator_maliciousCheck if an indicator is known to be malicious
get_threat_actorGet information about a specific threat actor

Installation

Prerequisites

  • Python 3.8 or higher
  • An AlienVault OTX account and API key (Sign up here)
  • uv package manager (recommended) or pip

Set Up Using UV (Recommended)

  1. Clone this repository:
    git clone https://github.com/your-username/otx-mcp-server.git
    cd otx-mcp-server
    
    
  2. Create a Python environment and install dependencies:
    uv venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    uv pip install -e
    

Set Up Using Pip

  1. Clone this repository:
    git clone https://github.com/your-username/otx-mcp-server.git
    cd otx-mcp-server
    
    
  2. Create a Python environment and install dependencies:
    python -m venv .venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    pip install -e
    

Quick install with Claude Desktop

Add the following to your Claude Desktop configuration (claude_desktop_config.json):

  "mcpServers": {
    "otx": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/otx-mcp-server",
        "run",
        "otx"
      ],
      "env": {
        "OTX_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

The configuration file is typically located at:

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

Sample Prompts

Here are some example prompts to use with the OTX MCP server:

  • "Search for recent threat intelligence related to ransomware attacks on healthcare organisations."
  • "Check if the IP address xxx.xx.xx.xx is associated with any known threats."
  • "Get information about the Golden Chickens/Venom Spider threat actor and their recent activities."
  • "Search OTX for specific industry-related threat intelligence. I am looking for threats targeting Financial Services organisations"
  • "Find indicators of compromise related to the CWE-94 vulnerability."
  • "Check if the domain malicious-example.com is known to be malicious."
  • "Get the latest threat intelligence pulses from the past 3 days."

Resource Types

The server provides access to several resource types:

  • Pulses: otx://pulse/{pulse_id}
  • Indicators: otx://indicator/{indicator_type}/{indicator_value}
  • Threat Actors: otx://actor/{actor_name}

These resources can be referenced and accessed throughout your conversation with Claude.

Security Considerations

This tool is designed for legitimate security research and defence purposes. Always:

  • Use responsibly and follow applicable laws and regulations
  • Maintain proper authorisation for any security testing
  • Handle threat intelligence data with appropriate operational security controls (OPSEC)