VirusTotal MCP
Lets your AI agent look up files, URLs, IPs and domains on VirusTotal and follow their related items.
155 stars on GitHubby w0h1vLicense MITUpdated 19 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add virustotal -e VIRUSTOTAL_API_KEY="<your value>" -- npx -y @burtthecoder/mcp-virustotal
What to fill in
| Name | What it is | Required |
|---|---|---|
VIRUSTOTAL_API_KEY | Your VirusTotal API key | Yes |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Look up this SHA-256 hash and show what it drops and contacts.
Is this URL flagged as malicious on VirusTotal?
What it is
This server connects your AI agent to the VirusTotal v3 API. Give it a hash, URL, IP address or domain and it returns the detection report plus related items an analyst would check, such as contacted hosts, dropped files and resolutions. It needs your own VirusTotal API key.
What it can do
get_file_report: report for a file hashget_url_report: cached report for a URL, scanning only if none existsget_ip_report: report for an IP addressget_domain_report: report for a domainget_file_relationship: page through files related to a filesearch_vt: search with VirusTotal style modifiersget_file_behaviour_summary: merged sandbox behaviourget_collection: threat actor and malware family collections
When to use
- βΊWhen you want to check if a file hash is flagged as malicious
- βΊWhen you are investigating a suspicious domain or IP address
- βΊWhen you want to see what a sample drops or contacts
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
performing-malware-hash-enrichment-with-virustotalLets your agent check suspicious files using VirusTotal. It looks for threat information to know if a file is dangerous.virustotal-automationHelps your agent automate tasks on VirusTotal. It uses Rube MCP to analyze files and URLs for threats. Essential for those needing to check file and link security quickly.ti-anyrun-lookupTeaches your agent how to search the ANY.RUN threat intelligence service for file hashes, domains and IP addresses to enrich a security investigation.Frequently asked questions
Is it free?
The server is open source under MIT. You use your own VirusTotal API key, and VirusTotal sets the quota.
Is it made by VirusTotal?
No. The readme says it is an independent project, not affiliated with VirusTotal or Google.
What are the rate limits?
The readme says the public tier allows 4 requests per minute, and 429 errors mean you hit the limit.
Does it send my data anywhere?
Lookups send your indicators to VirusTotal. A URL scan on a cache miss submits that URL for analysis.
Can I run it as a shared service?
Yes, with MCP_TRANSPORT=httpStream. The HTTP transport has no authentication, so keep it on localhost or behind a reverse proxy.
Which clients does it work with?
Claude Code, Codex CLI, Gemini CLI, Claude Desktop and VS Code are covered in the docs.
If it does not work
- βΊCheck the API key is about 64 characters with no spaces or quotes, then restart the client.
- βΊIf you see 429 errors, wait because the public tier allows only 4 requests per minute.
- βΊLook in logs/mcp-virustotal-server.log in the package directory for errors.
5 new skills a week. 1 minute to read.