Logotipo de ExploitDB MCP Server

ExploitDB MCP Server

Organización
Cyreslab-AI

MCP server for Exploit-DB — search public exploits and shellcode by CVE, platform, type, and tags.

EditorCyreslab-AI
Repositorioexploitdb-mcp-server
IdiomaTypeScript
Forks
7
Estrellas
30
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    ExploitDB MCP Server ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    30 estrellas y 7 forks en el repositorio enlazado.

ExploitDB MCP Server

A Model Context Protocol server that provides access to ExploitDB functionality, developed by Cyreslab.ai. This server enables AI assistants like Claude to query information about security exploits and vulnerabilities, enhancing cybersecurity research and threat intelligence capabilities.

GitHub Repository: https://github.com/Cyreslab-AI/exploitdb-mcp-server Contact: contact@cyreslab.ai

Features

  • Exploit Search: Search for exploits by keywords, CVE IDs, platforms, and more
  • Exploit Details: Get comprehensive information about specific exploits, including code
  • CVE Lookup: Find all exploits related to specific CVE IDs
  • Recent Exploits: Track newly added exploits
  • Statistics: Get insights into exploit distribution by platform, type, and year
  • Automatic Updates: Keep the database up-to-date with scheduled updates

Installation

Prerequisites

  • Node.js (v16 or higher)
  • npm (v7 or higher)

Installation Steps

  1. Clone the repository:

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

    bash
    npm install
  3. Build the project:

    bash
    npm run build
  4. Configure the server:

    • Create a .env file in the root directory based on .env.example
    • Adjust settings as needed (data directory, update frequency, etc.)
  5. Initialize the database:

    bash
    npm run update-db

    Note: The initial database update may take several minutes as it processes ~47,000 exploits from the ExploitDB CSV file. The script handles missing or malformed data gracefully by using fallback values for required fields.

  6. Run the server:

    bash
    node build/index.js

MCP Configuration

To use this server with Claude or other MCP-compatible assistants, add it to your MCP configuration:

json
{
  "mcpServers": {
    "mcp-exploitdb-server": {
      "command": "node",
      "args": ["/path/to/exploitdb-mcp-server/build/index.js"]
    }
  }
}

Available Tools

The ExploitDB MCP server provides 18 comprehensive tools for querying and analyzing exploit data:

Core Search Tools

  1. search_exploits - General search with multiple filters
  2. get_exploit - Get detailed information about a specific exploit
  3. find_by_cve - Find exploits by CVE ID
  4. get_recent_exploits - Get recently added exploits
  5. get_statistics - Get database statistics

Advanced Search Tools

  1. search_by_platform - Search exploits for a specific platform with filters
  2. search_by_type - Search by exploit type (webapps, remote, local, dos, hardware, shellcode)
  3. search_by_author - Find all exploits by a specific author
  4. search_by_date_range - Find exploits within a date range
  5. search_by_tags - Search by ExploitDB's real tags (e.g., "SQL Injection (SQLi)", "Cross-Site Scripting (XSS)")

Analysis & Intelligence Tools

  1. get_platform_statistics - Get detailed statistics for a specific platform
  2. get_trending_exploits - Find recently added exploits (configurable time period)
  3. compare_exploits - Compare multiple exploits side-by-side
  4. get_exploit_timeline - Get chronological timeline of exploits

Utility Tools

  1. batch_get_exploits - Retrieve multiple exploits efficiently (up to 50)
  2. get_related_exploits - Find related exploits by platform, author, CVE, or tags
  3. validate_exploit_id - Check if an exploit ID exists
  4. export_search_results - Export search results in JSON or CSV format

Usage Examples

Search Exploits

Use the search_exploits tool to search for exploits in the database:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>search_exploits</tool_name>
<arguments>
{
  "query": "wordpress plugin",
  "platform": "php",
  "limit": 5
}
</arguments>
</use_mcp_tool>

Additional search parameters:

  • type: Filter by exploit type (e.g., webapps, remote, local, dos, hardware, shellcode)
  • cve: Filter by CVE ID
  • author: Filter by author name
  • start_date/end_date: Filter by date range (YYYY-MM-DD)
  • verified: Filter by verified status (true/false)
  • offset: For pagination

Get Exploit Details

Use the get_exploit tool to retrieve detailed information about a specific exploit:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>get_exploit</tool_name>
<arguments>
{
  "id": 12345,
  "include_code": true
}
</arguments>
</use_mcp_tool>

Find Exploits by CVE

Use the find_by_cve tool to find all exploits related to a specific CVE:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>find_by_cve</tool_name>
<arguments>
{
  "cve": "CVE-2021-44228",
  "limit": 10
}
</arguments>
</use_mcp_tool>

Get Recent Exploits

Use the get_recent_exploits tool to retrieve recently added exploits:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>get_recent_exploits</tool_name>
<arguments>
{
  "limit": 10
}
</arguments>
</use_mcp_tool>

Get Statistics

Use the get_statistics tool to get insights about the exploits in the database:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>get_statistics</tool_name>
<arguments>
{}
</arguments>
</use_mcp_tool>

Search by Platform

Search exploits for a specific platform with advanced filters:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>search_by_platform</tool_name>
<arguments>
{
  "platform": "php",
  "type": "webapps",
  "verified": true,
  "limit": 10
}
</arguments>
</use_mcp_tool>

Search by Author

Find all exploits by a specific author:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>search_by_author</tool_name>
<arguments>
{
  "author": "Offensive Security",
  "limit": 10
}
</arguments>
</use_mcp_tool>

Search by Date Range

Find exploits within a specific date range:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>search_by_date_range</tool_name>
<arguments>
{
  "start_date": "2024-01-01",
  "end_date": "2024-12-31",
  "platform": "windows",
  "limit": 20
}
</arguments>
</use_mcp_tool>

Search by Tags

Search exploits by ExploitDB's real tags:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>search_by_tags</tool_name>
<arguments>
{
  "tags": ["SQL Injection (SQLi)", "Remote"],
  "match_all": false,
  "limit": 10
}
</arguments>
</use_mcp_tool>

Get Trending Exploits

Find recently added exploits:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>get_trending_exploits</tool_name>
<arguments>
{
  "days": 30,
  "limit": 10
}
</arguments>
</use_mcp_tool>

Compare Exploits

Compare multiple exploits side-by-side:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>compare_exploits</tool_name>
<arguments>
{
  "ids": [12345, 12346, 12347]
}
</arguments>
</use_mcp_tool>

Get Related Exploits

Find exploits related to a specific exploit:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>get_related_exploits</tool_name>
<arguments>
{
  "id": 12345,
  "relation_type": "platform",
  "limit": 10
}
</arguments>
</use_mcp_tool>

Batch Get Exploits

Retrieve multiple exploits efficiently:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>batch_get_exploits</tool_name>
<arguments>
{
  "ids": [12345, 12346, 12347, 12348],
  "include_code": false
}
</arguments>
</use_mcp_tool>

Export Search Results

Export search results in CSV or JSON format:

<use_mcp_tool>
<server_name>mcp-exploitdb-server</server_name>
<tool_name>export_search_results</tool_name>
<arguments>
{
  "query": "wordpress",
  "format": "csv",
  "platform": "php",
  "limit": 100
}
</arguments>
</use_mcp_tool>

Configuration Options

The server can be configured using environment variables or a .env file:

VariableDescriptionDefault
CLONE_REPOSITORYWhether to clone the ExploitDB repositoryfalse
REPOSITORY_URLURL of the ExploitDB repositoryhttps://gitlab.com/exploit-database/exploitdb.git
CSV_URLURL of the ExploitDB CSV filehttps://gitlab.com/exploit-database/exploitdb/-/raw/main/files_exploits.csv
DATA_DIRDirectory to store data./data
DB_PATHPath to the SQLite database./data/exploitdb.sqlite
UPDATE_INTERVALUpdate frequency in hours (0 to disable)24
MAX_RESULTSMaximum number of results to return per query10

Data Sources

This server uses data from the Exploit Database, maintained by Offensive Security. The data is either downloaded directly from the CSV file or cloned from the ExploitDB GitLab repository.

Data Model

The ingested CSV (files_exploits.csv) has 17 columns: id, file, description, date_published, author, type, platform, port, date_added, date_updated, verified, codes, tags, aliases, screenshot_url, application_url, source_url.

All 17 columns are ingested and stored:

  • codes — the real, semicolon-delimited list of CVE/OSVDB references (e.g. CVE-2017-13262;CVE-2017-13261;OSVDB-12345). All CVE identifiers are parsed out of this column into a normalized exploit_cves table, so an exploit that addresses multiple CVEs is correctly discoverable by every one of them. If codes is empty (older rows sometimes lack it), the server falls back to regexing a CVE pattern out of the description text.
  • tags — the real ExploitDB tag(s) for the exploit (e.g. SQL Injection (SQLi), Metasploit Framework (MSF)), stored as-is. These are not guessed from keyword-matching the description.
  • aliases — alternate names/identifiers for the exploit (e.g. dirtycow, ImageTragick), exposed as an array.
  • screenshot_url, application_url, source_url — reference links from the original ExploitDB entry, surfaced as screenshotUrl, applicationUrl, sourceUrl.

Other data-quality handling:

  • Date handling: Uses date_published from the CSV, with fallbacks to date_added, date_updated, or a default date if all are missing
  • Missing fields: Provides sensible defaults for required fields (author, type, platform) when data is incomplete
  • Duplicate IDs: A small number of rows in the upstream CSV share the same id; the later row wins (upsert by id)

Each exploit's JSON representation includes both cve (the primary/first CVE, kept for backward compatibility) and cves (the full array of every CVE associated with the exploit).

Note on type: the ingested files_exploits.csv only contains webapps, remote, local, dos, and hardware rows — ExploitDB's shellcode category lives in a separate CSV (files_shellcodes.csv) that this server does not currently ingest. shellcode is accepted as a filter value for forward-compatibility but will not currently match any row.

The database typically contains:

  • 46,000+ exploits spanning from 1988 to present
  • 33,000+ verified exploits
  • Coverage across 60+ platforms (PHP, Windows, Linux, etc.)
  • 27,000+ web application exploits
  • Comprehensive metadata including authors, dates, platforms, CVEs, tags, aliases, and reference URLs

License

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

Acknowledgements

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Have feature suggestions or found a bug? Please open an issue on our GitHub repository or contact us directly at contact@cyreslab.ai.

Instalación

TypingMind
Requisitos:

Node.js 18+

{
  "mcpServers": {
    "cyreslab-ai-exploitdb-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Usa el MCP de ExploitDB MCP Server con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado ExploitDB MCP Server, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade ExploitDB MCP Server como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de ExploitDB MCP Server.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "cyreslab-ai-exploitdb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-exploitdb-server"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de ExploitDB MCP Server y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de ExploitDB MCP Server.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar ExploitDB MCP Server para ayudarme con esta tarea?
ExploitDB MCP Server
Claro. Lo he leído.
Esto he encontrado usando ExploitDB MCP Server.

Preguntas frecuentes

¿Para qué sirve el servidor MCP ExploitDB MCP Server?

ExploitDB MCP Server es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP ExploitDB MCP Server con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar ExploitDB MCP Server con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de ExploitDB MCP Server con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con ExploitDB MCP Server conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP ExploitDB MCP Server a TypingMind?

ExploitDB MCP Server funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP ExploitDB MCP Server en TypingMind?

ExploitDB MCP Server ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP ExploitDB MCP Server?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si ExploitDB MCP Server requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇