VirusTotal MCP Server

A Model Context Protocol (MCP) server for comprehensive security analysis using the VirusTotal API. Built with FastMCP and Python, this server provides AI assistants like Claude with powerful…

Local serverstdio

What is the VirusTotal MCP Server?

VirusTotal is an MCP project maintained in the barvhaim/virustotal-mcp-server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server for comprehensive security analysis using the VirusTotal API. Built with FastMCP and Python, this server provides AI assistants like…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares VIRUSTOTAL_API_KEY, MCP_TRANSPORT. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Parameters- domain (required): Domain name
Autofetched relationships: subdomains, historical SSL certificates, resolutions, threat actors
relationshipsoptional): Specific relationships to include
relationshiprequired): Relationship type (subdomains, historical_ssl_certificates, etc.)
limitoptional, 1-40, default: 10): Number of results
cursoroptional): Pagination cursor

How to install the VirusTotal MCP Server

{
  "mcpServers": {
    "virustotal": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/virustotal-mcp-server",
        "run",
        "main.py"
      ],
      "env": {
        "VIRUSTOTAL_API_KEY": "YOUR_VIRUSTOTAL_API_KEY",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
VIRUSTOTAL_API_KEYDeclared in the maintainer’s client configuration.Check documentation
MCP_TRANSPORTDeclared in the maintainer’s client configuration.Check documentation