1. Conduid
  2. Security
  3. BurtTheCoder/mcp-virustotal
MCP server · Security

BurtTheCoder/mcp-virustotal

Query the VirusTotal API: scan URLs, analyze file hashes and retrieve IP address reports.

Unclaimed MIT finance
88Excellent

Scored 6 hours ago · breakdown

About BurtTheCoder/mcp-virustotal

BurtTheCoder/mcp-virustotal is an MCP server published by w0h1v in the Security category: query the VirusTotal API: scan URLs, analyze file hashes and retrieve IP address reports.

The repository has 152 stars and 23 forks, with the last commit 19 hours ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add virustotal -- npx -y @burtthecoder/mcp-virustotal
npx
npx -y @burtthecoder/mcp-virustotal
uvx
uvx vt-mcp
pip
pip install vt-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about BurtTheCoder/mcp-virustotal

Powered by Claude · Grounded in docs

I know everything about BurtTheCoder/mcp-virustotal. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.0.35v1.0.35
v1.0.34v1.0.34
v1.0.33v1.0.33
v1.0.32v1.0.32
v1.0.31v1.0.31

README

mcp-virustotal is an MCP server that gives AI agents access to the VirusTotal v3 API. Hand your agent a hash, URL, IP or domain and get back the detection report plus the relationships an analyst would pivot on: contacted hosts, dropped files, resolutions, threat actors.

[!NOTE] Independent project, not affiliated with VirusTotal or Google. You need your own VirusTotal API key.

Highlights

  • Reports with relationships. File, URL, IP and domain reports fetch key relationships in one batched ?relationships= call to save quota.
  • Cache first. get_url_report returns the cached VirusTotal report and only submits a scan on a cache miss.
  • Pivot tools. Corpus search with VTI-style modifiers (type:peexe positives:5+), merged sandbox behaviour summaries, and threat-actor and malware-family collections.
  • Full relationship paging. 100+ relationship types across files, URLs, IPs and domains, with cursor pagination.
  • Two transports. stdio for desktop clients, HTTP streaming for a shared service.
  • Tested. Unit tests for the formatters and API layer run in CI on Node 20, 22 and 24.

How it works

flowchart LR
    A["AI agent<br/>(Claude, Codex, Gemini, VS Code)"] -->|"MCP over stdio or HTTP"| S["mcp-virustotal"]
    S -->|"validate input,<br/>HTTPS + API key"| V["VirusTotal v3 API"]
    V -->|"JSON"| S
    S -->|"formatted report text"| A

Quickstart

Requirements: Node.js 20 or newer and a VirusTotal API key.

# Claude Code
claude mcp add --transport stdio --env VIRUSTOTAL_API_KEY=your-key virustotal -- npx -y @burtthecoder/mcp-virustotal

# Codex CLI
codex mcp add virustotal --env VIRUSTOTAL_API_KEY=your-key -- npx -y @burtthecoder/mcp-virustotal

# Gemini CLI
gemini mcp add -e VIRUSTOTAL_API_KEY=your-key virustotal npx -y @burtthecoder/mcp-virustotal

For Claude Desktop, VS Code, Smithery and running from source, see Connect a client.

Then ask your agent: "Look up the SHA-256 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f (the EICAR test file) and show what it drops and contacts."

Tools

Eleven tools. Full parameters and relationship lists are in the tool reference.

Group Tools
Reports (with relationships) get_file_report, get_url_report, get_ip_report, get_domain_report
Relationship paging get_file_relationship, get_url_relationship, get_ip_relationship, get_domain_relationship
Search and pivot search_vt, get_file_behaviour_summary, get_collection

HTTP streaming transport

stdio is the default. Set MCP_TRANSPORT=httpStream to run a standalone HTTP service:

MCP_TRANSPORT=httpStream MCP_PORT=3000 VIRUSTOTAL_API_KEY=your-key node build/index.js
docker build -t mcp-virustotal .
docker run -p 127.0.0.1:3000:3000 -e VIRUSTOTAL_API_KEY=your-key -e MCP_TRANSPORT=httpStream mcp-virustotal

A health check is served at /health.

Environment variables

Variable Default Description
VIRUSTOTAL_API_KEY (required) Your VirusTotal API key
MCP_TRANSPORT stdio stdio or httpStream
MCP_HOST localhost Bind address (httpStream only). The Docker image sets 0.0.0.0
MCP_PORT 3000 HTTP port (httpStream only)
MCP_ENDPOINT /mcp HTTP endpoint path (httpStream only)

Security

[!WARNING] The HTTP transport has no authentication. Keep the port on localhost or behind an authenticating reverse proxy, or anyone who can reach it can spend your API quota.

  • Tool arguments are validated with zod schemas before any request is built.
  • The API key is read from the environment and sent only to VirusTotal.
  • Lookups send your indicators to VirusTotal. A URL scan on a cache miss submits that URL for analysis.

Report vulnerabilities privately; see SECURITY.md.

Troubleshooting

  • Wrong API key: the key is usually 64 characters with no spaces or quotes. Restart the client after changing config.
  • 429 errors: the public tier allows 4 requests per minute.
  • Logs: logs/mcp-virustotal-server.log in the package directory.

More in the troubleshooting guide.

Development

git clone https://github.com/w0h1v/mcp-virustotal && cd mcp-virustotal
npm ci
npm test                                  # build + unit tests, no key or network
VIRUSTOTAL_API_KEY=your-key npm run smoke # all 11 tools against the real API

The smoke test paces calls at 20 s for the public-tier limit and isn't suited to free tiers reduced to a few lookups a day. See CONTRIBUTING.md and the changelog.

License

MIT. See LICENSE.

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About BurtTheCoder/mcp-virustotal

How do I install BurtTheCoder/mcp-virustotal?

Run claude mcp add virustotal -- npx -y @burtthecoder/mcp-virustotal, then add the server to your MCP client's configuration.

Is BurtTheCoder/mcp-virustotal safe to use with an AI agent?

Its trust score is 88 out of 100 (excellent). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is BurtTheCoder/mcp-virustotal still maintained?

Yes — the last commit was 19 hours ago. The repository has 152 stars and 23 forks and 4 open issues.