CA

cyreslab-ai/shodan-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

55 stars 12 forks Качество 80 Тренд 9MIT

cyreslab-ai/shodan-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/cyreslab-ai/shodan-mcp-server.

Обзор

cyreslab-ai/shodan-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/cyreslab-ai/shodan-mcp-server.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP), который обеспечивает доступ к функциональности Shodan API и базе данных CVE, позволяя помощникам ИИ запрашивать информацию о подключенных к Интернету устройствах, службах и уязвимостях.

Особенности

###Сетевой интеллект

** Информация о хостинге**: Получите подробную информацию о конкретных IP-адресах ** Возможности поиска**: Поиск базы данных Shodan для устройств и сервисов Сканирование сети: диапазоны сетей сканирования (нотация CIDR) для устройств Сертификат SSL: Получите данные SSL-сертификата для доменов **Поиск устройств IoT: найдите конкретные типы устройств IoT

###Интеллект уязвимости

CVE Lookup: Получите подробную информацию о конкретных уязвимостях ** Поиск уязвимостей**: поиск CVE с расширенными фильтрами (продукт, статус KEV, оценки EPSS) Информация CPE: Получите общие данные о перечислении платформ для продуктов Последние уязвимости: Доступ к новейшим CVE и известным уязвимостям Exploit Prediction: Сортировка CVE по EPSS Exploit Search: Поисковая база данных Shodan’s Exploits для эксплойтов, связанных с CVE

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Shodan MCP Server

A Model Context Protocol (MCP) server that provides access to Shodan API functionality and CVE database, allowing AI assistants to query information about internet-connected devices, services, and vulnerabilities.

Features

Network Intelligence

  • Host Information: Get detailed information about specific IP addresses
  • Search Capabilities: Search Shodan’s database for devices and services
  • Network Scanning: Scan network ranges (CIDR notation) for devices
  • SSL Certificate Information: Get SSL certificate details for domains
  • IoT Device Search: Find specific types of IoT devices

Vulnerability Intelligence

  • CVE Lookup: Get detailed information about specific vulnerabilities
  • Vulnerability Search: Search CVEs with advanced filters (product, KEV status, EPSS scores)
  • CPE Information: Get Common Platform Enumeration data for products
  • Latest Vulnerabilities: Access newest CVEs and Known Exploited Vulnerabilities
  • Exploit Prediction: Get CVEs sorted by EPSS exploit prediction scores
  • Exploit Search: Search Shodan’s Exploits database for CVE-linked exploits
  • InternetDB Lookup: Free, no-API-key host lookup (open ports, hostnames, CPEs, vulns, tags)

Network Monitoring

  • Network Alerts: Create, list, inspect, and delete persistent alerts that monitor IPs/ranges for changes
  • Notifiers: List available notifier providers and manage notifiers (Slack, email, webhook, etc.) that alerts can send events to

Installation

  1. Clone the repository:

    git clone https://github.com/Cyreslab-AI/shodan-mcp-server.git
    cd shodan-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Build the server:

    npm run build
    
  4. Set up your Shodan API key:

    export SHODAN_API_KEY="your-api-key-here"
    
  5. Start the server:

    npm start
    

MCP Integration

This server can be integrated with Claude or other MCP-compatible AI assistants. To add it to Claude Desktop or Claude.app:

  1. Add the server to your MCP settings:

    {
      "mcpServers": {
        "shodan": {
          "command": "node",
          "args": ["/path/to/shodan-mcp-server/build/index.js"],
          "env": {
            "SHODAN_API_KEY": "your-api-key-here"
          }
        }
      }
    }
    
  2. Restart Claude to load the new MCP server.

Available Tools

Search & Host Information Tools

get_host_info

Get detailed information about a specific IP address.

Parameters:

  • ip (required): IP address to look up
  • max_items (optional): Maximum number of items to include in arrays (default: 5)
  • fields (optional): List of fields to include in the results (e.g., [‘ip_str’, ‘ports’, ‘location.country_name’])

search_shodan

Search Shodan’s database for devices and services.

Parameters:

  • query (required): Shodan search query (e.g., ‘apache country:US’)
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "shodan": { "command": "node", "args": ["/path/to/shodan-mcp-server/build/index.js"], "env": { "SHODAN_API_KEY": "your-api-key-here" } } } }