virustotal
MCP server by BurtTheCoder Community
mcp-virustotal gives AI agents access to the VirusTotal v3 API. It returns detection reports and pivot relationships for hashes, URLs, IPs and domains.
Install virustotal
Built from the published package, never by AI.
claude mcp add virustotal -e VIRUSTOTAL_API_KEY=YOUR_VIRUSTOTAL_API_KEY -- npx -y @burtthecoder/mcp-virustotalRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"virustotal": {
"env": {
"VIRUSTOTAL_API_KEY": "YOUR_VIRUSTOTAL_API_KEY"
},
"args": [
"-y",
"@burtthecoder/mcp-virustotal"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"virustotal": {
"env": {
"VIRUSTOTAL_API_KEY": "YOUR_VIRUSTOTAL_API_KEY"
},
"args": [
"-y",
"@burtthecoder/mcp-virustotal"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"virustotal": {
"env": {
"VIRUSTOTAL_API_KEY": "YOUR_VIRUSTOTAL_API_KEY"
},
"args": [
"-y",
"@burtthecoder/mcp-virustotal"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add virustotal --env VIRUSTOTAL_API_KEY=YOUR_VIRUSTOTAL_API_KEY -- npx -y @burtthecoder/mcp-virustotal{
"mcpServers": {
"virustotal": {
"env": {
"VIRUSTOTAL_API_KEY": "YOUR_VIRUSTOTAL_API_KEY"
},
"args": [
"-y",
"@burtthecoder/mcp-virustotal"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add virustotal npx -y @burtthecoder/mcp-virustotalGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the virustotal block.
About
mcp-virustotal is an MCP server that gives AI agents access to the VirusTotal v3 API. You give your agent a hash, URL, IP or domain, and it returns the detection report plus relationships an analyst would pivot on, such as contacted hosts, dropped files, resolutions and threat actors. It is an independent project and is not affiliated with VirusTotal or Google.
Reports fetch key relationships in one batched call to save quota. The get_url_report tool returns the cached VirusTotal report and submits a scan only on a cache miss. Search supports VTI-style modifiers, and sandbox behaviour summaries are merged. The server runs over stdio for desktop clients or HTTP streaming for a shared service. It is aimed at analysts who want VirusTotal lookups inside an AI assistant. A VirusTotal API key is required.
Written from the project's README and checked against it.
Tools it gives your assistant
get_file_reportFetches a file report with key relationships in one batched call.get_url_reportReturns the cached URL report and submits a scan only on a cache miss.get_ip_reportFetches an IP address report with key relationships.get_domain_reportFetches a domain report with key relationships.get_file_relationshipPages through file relationships using cursor pagination.get_url_relationshipPages through URL relationships using cursor pagination.get_ip_relationshipPages through IP address relationships using cursor pagination.get_domain_relationshipPages through domain relationships using cursor pagination.search_vtSearches the VirusTotal corpus with VTI-style modifiers such as type:peexe positives:5+.get_file_behaviour_summaryReturns merged sandbox behaviour summaries for a file.
What you need
- VirusTotal API key
- Node.js 20 or newer
- Docker, optional for running the HTTP service in a container
| Setting | Needed | What it is |
|---|---|---|
VIRUSTOTAL_Environment variable, secret | Required | Your VirusTotal API key |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Check this file hash and show what it drops and contacts.
- Look up this domain and list its resolutions and related hosts.
- Search VirusTotal for PE files with at least 5 positive detections.
Good to know
- The HTTP transport has no authentication, so keep the port on localhost or behind an authenticating proxy.
- The public tier allows 4 requests per minute, and 429 errors occur when exceeded.
- A URL scan on a cache miss submits that URL to VirusTotal for analysis.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to virustotal
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
virustotal: common questions
Does mcp-virustotal need a VirusTotal API key?
Yes. The source says you need your own VirusTotal API key, and the VIRUSTOTAL_API_KEY variable is required.
Is mcp-virustotal affiliated with VirusTotal?
No. The project describes itself as independent and not affiliated with VirusTotal or Google.
Which transports does mcp-virustotal support?
It supports stdio, the default for desktop clients, and HTTP streaming for a shared service, set with MCP_TRANSPORT=httpStream.
How do I install virustotal?
In Claude Code run claude mcp add virustotal -e VIRUSTOTAL_API_KEY=YOUR_VIRUSTOTAL_API_KEY -- npx -y @burtthecoder/mcp-virustotal. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is virustotal the official server?
virustotal is a community project by BurtTheCoder, not verified by a company domain.
Is virustotal free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is virustotal safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to virustotal?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does virustotal work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
