← Back to directory
V

VirusTotal MCP Server

Community
Analyze files, URLs, IPs, and domains with VirusTotal.
Category
Other #162 of 678
Stars
★ 157 Very popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Node.js 20+
Credentials
API key / credential required
License
MIT
Last commit
Tools
11
57FMRS · C

This is an independently maintained MCP server for querying the VirusTotal v3 API with a required API key. It supports stdio and HTTP streaming; the HTTP transport has no authentication, so access should be restricted.

Strongest · Setup experience 13/20 Weakest · Reliability 10/20

Reliability
10/20
Security and permissions
12/20
Maintenance
10/20
Documentation
12/20
Setup experience
13/20
Why each score
Reliability 10/20
The README claims 11 tools, input validation, CI and unit tests, and describes pagination and cache-first URL lookups. Only the README and manifest were provided, so implementation, CI workflows and test contents cannot verify initialization, tool behavior, error handling or dependency control. The score is conservative for that evidence gap.
Security and permissions 12/20
The manifest marks the VirusTotal API key as required and secret. The README discloses that indicators go to VirusTotal, cache misses submit URLs, and unauthenticated HTTP access can consume quota. These expose key data flows and the main stated risk, but no source code verifies credential boundaries, request scope or access controls. No red-line evidence is present.
Maintenance 10/20
The materials identify an MIT license, version 1.0.40 and a private vulnerability-reporting channel; supplied metadata says the project is not archived and has 157 stars. There is no evidence of commit history, release cadence, dependency updates or vulnerability response. Stars do not add points, so maintenance receives a moderate score.
Documentation 12/20
The README covers capabilities, tool groups, client installation examples, environment variables, rate limits, the HTTP authentication warning and troubleshooting links. Full parameters are only linked in documentation not provided here, cost and quota guidance is limited, and tool details cannot be verified from the supplied material, so points are deducted.
Setup experience 13/20
The README specifies Node.js 20+ and gives installation examples for Claude Code, Codex CLI and Gemini CLI, plus HTTP and Docker launch instructions. The referenced client configuration details were not supplied, and there is no verifiable end-to-end execution evidence.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the network

Best for

  • Security analysts who need VirusTotal indicator lookups and threat intelligence in an AI assistant.
  • Users who need to explore report relationships or page through relationship data.

Not for

  • Users without a VirusTotal API key.
  • Deployments that require an unauthenticated, publicly reachable HTTP service.
  • Users expecting this server to replace a full malware analysis platform.

Required permissions

  • Requires a VirusTotal API key configured as an environment variable; the key is sent to VirusTotal.
  • Lookups send submitted indicators to VirusTotal; a URL cache miss submits that URL for analysis.
  • HTTP streaming requires host and port configuration; the project states that this transport has no authentication.

Risks and side effects

  • HTTP streaming has no authentication; anyone who can reach the service may spend its API quota. Restrict it to localhost or place it behind an authenticating reverse proxy.
  • The public tier allows 4 requests per minute, so requests may receive 429 errors.
  • Submitting a URL scan sends that URL to VirusTotal.

Setup

Before you start

Runtime:Node.js 20+

VIRUSTOTAL_API_KEY requiredsecret Required VirusTotal API key, available from the API key page in your VirusTotal account.
Other optional settings (4)
MCP_TRANSPORT optional Optional transport mode: stdio or httpStream; defaults to stdio.
MCP_HOST optional Bind address for HTTP streaming; defaults to localhost.
MCP_PORT optional Port for HTTP streaming; defaults to 3000.
MCP_ENDPOINT optional Endpoint path for HTTP streaming; defaults to /mcp.

Requires Node.js 20 or newer and a VirusTotal API key. Claude Code example: claude mcp add --transport stdio --env VIRUSTOTAL_API_KEY=your-key virustotal -- npx -y @burtthecoder/mcp-virustotal. The project also provides add commands for Codex CLI and Gemini CLI; see its documentation for Claude Desktop and VS Code connection instructions.

.mcp.json
{"mcpServers":{"virustotal":{"command":"npx","args":["-y","@burtthecoder/mcp-virustotal"],"env":{"VIRUSTOTAL_API_KEY":"your-key"}}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "virustotal": {
      "command": "npx",
      "args": [
        "-y",
        "@burtthecoder/mcp-virustotal"
      ],
      "env": {
        "VIRUSTOTAL_API_KEY": "your-key"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.virustotal]
command = "npx"
args = ["-y", "@burtthecoder/mcp-virustotal"]

[mcp_servers.virustotal.env]
VIRUSTOTAL_API_KEY = "your-key"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add virustotal -e VIRUSTOTAL_API_KEY=your-key -- npx -y @burtthecoder/mcp-virustotal

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm the VirusTotal tools appear in your client's tool list, then ask it to look up the EICAR test file by SHA-256. A returned report confirms the connection works.

Troubleshooting

  1. Check that the API key is correct; it is usually 64 characters with no spaces or quotes. Restart the client after changing its configuration.
  2. For 429 errors, account for the public tier limit of 4 requests per minute.
  3. Check logs at logs/mcp-virustotal-server.log in the package directory.

Things to try

Once connected, you can ask your AI assistant things like:

  • Look up the EICAR test file by its SHA-256 hash and show what it drops and contacts.
  • Show the VirusTotal report for example.com.
  • Search VirusTotal for PE executables with at least 5 detections.

Tools 11

get_file_report read-only
Get a file security report and key relationships.
get_url_report writes
Get a URL security report and key relationships; submit a scan on a cache miss.
get_ip_report read-only
Get an IP address security report and key relationships.
get_domain_report read-only
Get a domain security report and key relationships.
get_file_relationship read-only
Retrieve file relationships with cursor pagination.
get_url_relationship read-only
Retrieve URL relationships with cursor pagination.
get_ip_relationship read-only
Retrieve IP relationships with cursor pagination.
get_domain_relationship read-only
Retrieve domain relationships with cursor pagination.
Show 3 more tools
search_vt read-only
Search threat intelligence data with VirusTotal-style modifiers.
get_file_behaviour_summary read-only
Summarize file sandbox behavior.
get_collection read-only
Query threat actor or malware family collections.

Use cases

Look up detection reports for files, URLs, IP addresses, or domains.
Investigate threat intelligence by following indicator relationships.
Search threat data and review file sandbox behavior summaries.

Supported clients

Claude Code
Codex
Gemini CLI
Claude DesktopPartial support
VS CodePartial support

Listed from the project's documentation, not tested by this site.

Overview

VirusTotal MCP Server gives AI assistants access to VirusTotal v3 API lookups. It retrieves reports for files, URLs, IP addresses, and domains, and supports relationship lookups, threat intelligence search, sandbox behavior summaries, and collection queries. URL reports use cached results first and submit a scan on a cache miss.

Similar servers

Source revision f003af0164b0 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mcp-virustotal.svg)](https://followmcp.com/en/servers/mcp-virustotal)