FastMCP ThreatIntel logo

FastMCP ThreatIntel

Community
4R9UN

AI-Powered Threat Intelligence MCP tool

Publisher4R9UN
Repositoryfastmcp-threatintel
LanguagePython
Forks
14
Stars
39
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    FastMCP ThreatIntel exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    39 stars and 14 forks from the linked repository.

MseeP.ai Security Assessment Badge

🛡️ FastMCP ThreatIntel - AI-Powered Threat Intelligence

CI/CD Pipeline codecov PyPI version Python 3.10+ License: Apache-2.0 Docker Pulls Verified on MseeP

🚀 MCP AI Powered Threat Intelligence - Revolutionizing Cybersecurity Built by Arjun Trivedi (4R9UN) - Enterprise-Grade Threat Intelligence Platform

A comprehensive Model Context Protocol (MCP) server that provides enterprise-grade threat intelligence capabilities through natural language AI prompts. Analyze IPs, domains, URLs, and file hashes across multiple threat intelligence platforms with advanced APT attribution and interactive reporting.

Demo

✨ Why FastMCP ThreatIntel?

🎯 Purpose-Built for Modern Security Teams

  • 🤖 AI-First Design: Natural language queries with intelligent IOC detection
  • 🔗 MCP Integration: Seamless integration with Claude Desktop, VSCode (Roo-Cline), and other AI assistants
  • ⚡ Lightning Fast: UV-powered development with optimized async processing
  • 🏢 Enterprise Ready: Production-grade Docker containers and Kubernetes support

🔍 Multi-Source Intelligence

  • VirusTotal: File and URL reputation analysis with 70+ antivirus engines
  • AlienVault OTX: Community-driven threat intelligence and IOC feeds
  • AbuseIPDB: IP reputation and geolocation with abuse confidence scoring
  • IPinfo: Enhanced geolocation, ASN, and infrastructure data

🤖 AI-Powered Analysis

  • Natural Language Interface: Query threats using plain English
  • Advanced APT Attribution: Confidence-scored attribution with MITRE ATT&CK mapping
  • Intelligent IOC Detection: Auto-detects IP addresses, domains, URLs, and file hashes
  • Context-Aware Reporting: Generates comprehensive threat intelligence reports

📊 Rich Reporting & Visualization

  • Interactive HTML Reports: Modern, responsive design with dark/light modes
  • D3.js Network Graphs: Visual IOC relationship mapping
  • Multiple Output Formats: Markdown, JSON, HTML, and STIX-compliant outputs
  • Export Capabilities: PDF, CSV, and JSON export for integration

🚀 Flexible Deployment Options

  • 🔌 MCP Server: Direct integration with AI assistants
  • 💻 Standalone CLI: Interactive and batch processing modes
  • 🐳 Docker Container: Production-ready containerization
  • 📦 Python Package: Embed in your applications and workflows

🏗️ Architecture

mermaid
graph TB
    A[AI Assistant] --> B[MCP Protocol]
    C[CLI Interface] --> D[Core Engine]
    B --> D
    
    D --> E[IOC Processor]
    D --> F[Attribution Engine]
    D --> G[Report Generator]
    
    E --> H[VirusTotal API]
    E --> I[OTX API]
    E --> J[AbuseIPDB API]
    E --> K[IPinfo API]
    
    F --> L[APT Patterns]
    F --> M[MITRE ATT&CK]
    
    G --> N[HTML Reports]
    G --> O[JSON Export]
    G --> P[STIX Output]

🚀 Quick Start

Choose your preferred installation method and get started in minutes:

🐍 pip (Fastest)

bash
# Install from PyPI
pip install fastmcp-threatintel

# Interactive setup wizard
threatintel setup

# Analyze your first IOC
threatintel analyze 8.8.8.8 --output-format table --verbose

🐳 Docker (Production Ready)

bash
# Pull and run with your API keys
docker pull arjuntrivedi/fastmcp-threatintel:latest
docker run -e VIRUSTOTAL_API_KEY=your_key \
           -e OTX_API_KEY=your_key \
           arjuntrivedi/fastmcp-threatintel:latest \
           analyze 192.168.1.1

🔥 UV (Developer Recommended)

bash
# Clone and install with UV
git clone https://github.com/4R9UN/fastmcp-threatintel.git
cd fastmcp-threatintel
uv sync

# Run interactive setup
uv run threatintel setup

# Start analyzing
uv run threatintel interactive

📦 Poetry (Traditional)

bash
# Clone and install with Poetry
git clone https://github.com/4R9UN/fastmcp-threatintel.git
cd fastmcp-threatintel
poetry install

# Activate and run
poetry shell
threatintel analyze example.com --output-format html --open-browser

⚙️ Configuration

🔑 API Keys Setup

Get your free API keys and unlock the full potential:

ServiceStatusFree Tier LimitGet Your Key
VirusTotalRequired1,000 requests/daySign Up →
OTXRequiredUnlimitedSign Up →
AbuseIPDBOptional1,000 requests/daySign Up →
IPinfoOptional50,000 requests/monthSign Up →

🛠️ Environment Configuration

Create a .env file in your project directory:

bash
# Required API Keys
VIRUSTOTAL_API_KEY=your_virustotal_api_key
OTX_API_KEY=your_alienvault_otx_api_key

# Optional API Keys (for enhanced functionality)
ABUSEIPDB_API_KEY=your_abuseipdb_api_key
IPINFO_API_KEY=your_ipinfo_api_key

# Performance Tuning
CACHE_TTL=3600              # Cache duration (seconds)
MAX_RETRIES=3               # API retry attempts
REQUEST_TIMEOUT=30          # Request timeout (seconds)

💻 Usage Examples

CLI Analysis

bash
# Quick single IOC analysis
threatintel analyze 192.168.1.1 --verbose

# Batch analysis from file
threatintel batch iocs.txt --output-file report.html --output-format html

# Interactive threat hunting session
threatintel interactive

# Start MCP server for AI integration
threatintel server --host 0.0.0.0 --port 8000

🔌 MCP Integration

Integrate with AI assistants for natural language threat intelligence:

VSCode with Roo-Cline

json
{
  "mcpServers": {
    "threatintel": {
      "command": "threatintel",
      "args": ["server", "--port", "8001"],
      "env": {
        "VIRUSTOTAL_API_KEY": "your_key",
        "OTX_API_KEY": "your_key"
      }
    }
  }
}

Claude Desktop

json
{
  "mcpServers": {
    "threatintel": {
      "command": "threatintel",
      "args": ["server"],
      "env": {
        "VIRUSTOTAL_API_KEY": "your_key",
        "OTX_API_KEY": "your_key"
      }
    }
  }
}

🔗 Complete MCP Integration Guide →

🎯 AI Prompt Examples

"Analyze IP 8.8.8.8 for security threats and provide geolocation data"
"Check if domain example.com has any malicious associations"
"Perform comprehensive threat analysis on 185.220.101.1 with APT attribution"
"Generate a security incident report for these IOCs: [list]"

📚 Documentation

📖 User Guides

🛠️ Developer Resources

🌟 What Makes It Special

**🔥 MCP Functionality **

  • MCP AI Powered: Cutting-edge threat intelligence automation
  • Revolutionizing Cybersecurity: Enterprise-grade AI-powered platform
  • Community-Focused: Open source with professional quality

🚀 Production-Ready Features

  • Multi-Architecture Docker: ARM64 and AMD64 support
  • Kubernetes Ready: Helm charts and deployment manifests
  • Comprehensive Testing: 80%+ code coverage with CI/CD pipeline
  • Security First: Secure by design with best practices

⚡ Performance Optimized

  • Async Everything: Non-blocking I/O for maximum throughput
  • Intelligent Caching: Redis-compatible caching layer
  • Rate Limiting: Built-in API rate limit management
  • Batch Processing: Efficient bulk IOC analysis

🤝 Contributing

We welcome contributions from the cybersecurity community!

Quick Start

bash
# Fork and clone
git clone https://github.com/YOUR_USERNAME/fastmcp-threatintel.git
cd fastmcp-threatintel

# Setup development environment
uv sync --dev
uv run pre-commit install

# Make your changes and test
uv run pytest
uv run ruff format . && uv run ruff check .

# Submit your PR
git push origin feature/your-feature

📖 Complete Contributing Guide →

📜 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

🙏 Acknowledgments

Special thanks to the cybersecurity community and these amazing projects:

🔗 Links & Resources

🌟 Star this repo if you find it useful! 🌟

GitHub stars GitHub forks

📚 Documentation • 🐛 Report Bug • 💡 Request Feature • 💬 Discussions

📦 PyPI Package • 🐳 Docker Hub


Built with ❤️ by Arjun Trivedi (4R9UN) for the cybersecurity community

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "4r9un-fastmcp-threatintel": {
      "command": "uvx",
      "args": [
        "fastmcp-threatintel"
      ]
    }
  }
}

Use FastMCP ThreatIntel MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once FastMCP ThreatIntel is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add FastMCP ThreatIntel as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the FastMCP ThreatIntel MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "4r9un-fastmcp-threatintel": {
      "command": "npx",
      "args": [
        "-y",
        "fastmcp-threatintel"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the FastMCP ThreatIntel MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the FastMCP ThreatIntel MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use FastMCP ThreatIntel to help me with this task?
FastMCP ThreatIntel
Sure. I read it.
Here is what I found using FastMCP ThreatIntel.

Frequently asked questions

What is the FastMCP ThreatIntel MCP server used for?

FastMCP ThreatIntel is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use FastMCP ThreatIntel MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use FastMCP ThreatIntel with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use FastMCP ThreatIntel MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With FastMCP ThreatIntel connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect FastMCP ThreatIntel MCP to TypingMind?

FastMCP ThreatIntel runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does FastMCP ThreatIntel MCP provide in TypingMind?

FastMCP ThreatIntel exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use FastMCP ThreatIntel MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If FastMCP ThreatIntel requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇