Skip to content

Official VirusTotal MCP server and API

VirusTotal intelligence for your AI agent

Check files, links, domains and IPs with VirusTotal AI (VTAI) evidence from your connected agent.

Free within published quotas. No VirusTotal API key needed. Sign in with Google and approve your client’s permissions.

Connect your agent

Server URLhttps://ai.virustotal.com/mcp

Your connections: review and revoke access

Static report exampleVirusTotal via VTAI

Before installing “Rankaj bot”, what does VirusTotal report?

get_file_report · existing file report

Code Insight: malicious

21 of 76 engines flagged this ZIP.

Code Insight reports that the skill reads the agent’s ~/.clawdbot/.env and sends its contents to an outside webhook. That file can contain API keys and other secrets.

21 malicious · 45 undetected · 10 type unsupported. Undetected does not mean safe.

Last analysis
Evidence
VirusTotal report · VirusTotal investigation
File SHA-256

b604ef3dc9bbdc45c768560ee4e092de21740e14f955c3731df1041c65b9bec3

Static snapshot of an existing report, not a live installation or block. The Code Insight verdict is one source of evidence; engine counts and reports can change.

Choose your client

Pick a connection guide for your application, with its requirements and current validation status.

All connection options →

Chat apps

Coding agents

Editors

Other clients

Install VirusTotal in ChatGPT · Connect your account, then select @VirusTotal in a new chat.

Your first query

Use VirusTotal to get the domain report for virustotal.com. Show the source, analysis date, coverage and report link.

Check the actual tool result. A connected status alone does not verify a report query.

Threats targeting agents and their software

Existing VirusTotal reports paired with published investigations. Static snapshots; engine coverage includes incomplete outcomes and does not prove safety or automatic protection.

Better Polymarket

Code Insight marks this skill malicious and describes a backdoor that downloads and runs an external script.

29 of 74 engines flagged this sample.

Analysis: .

VirusTotal report · VirusTotal investigation

File SHA-256

b6337869e41e89f4c20a20c3f2b7c7a2ed7118edc33201484c40c4c66f16ebcc

Nx s1ngularity

The compromised package used a post-install script to collect secrets, including by abusing local AI command-line tools.

32 of 74 engines flagged this sample.

Analysis: .

VirusTotal report · Published advisory

File SHA-256

99018a87285b1cc9864248ae505abddf9c5021eaa66ea10e9cd462b685edba81

Miasma

SafeDep links this setup.js sample to a campaign planting project configuration that triggers code through Claude, Gemini, Cursor and other developer tools.

26 of 75 engines flagged this sample.

Analysis: .

VirusTotal report · SafeDep investigation

File SHA-256

3a9db5ba0c8cd4c91e91717df6b1a141fc1e0fbc0558b5a78d7f5c23f5b2a150

Know what you are about to trust.

Existing intelligence, new analysis and a recoverable result.

01

Check an indicator

Look up a file hash, URL, domain or IP before trusting it. Reading a file report does not upload the file.

02

Start an analysis

When you explicitly request it, upload a file, submit a URL, or request a fresh domain or IP analysis. Review sharing and permissions first.

03

Recover the result

After a submission or an uncertain response, use the same connection to recover the result without sending the content again.

Tools and file-transfer limits

The hosted service lists eleven tools: ten common tools for reports, file and network analysis and recovery, plus submit_attachment. That tool requires an attachment descriptor with a public HTTPS download_url; file_id, file_name and mime_type are optional. The client must supply the original file's URL; never invent one. Native attachment availability depends on the client. Local stdio instead adds submit_local_file to the ten common tools. The remote server cannot read a local device path. Inline files accept up to 24,000,000 decoded bytes; local stdio accepts 32,000,000 bytes.

Submissions use standard public sharing without a per-call confirmation. OAuth has separate file and network permissions; client permissions still apply.

If this client cannot transfer the file bytes for an explicitly requested upload, offer the existing VirusTotal upload page at https://www.virustotal.com/gui/home/upload under the same sharing guidance. Before uploading, manually check the file's actual hash in VirusTotal and upload only if unknown. After the user uploads the file, obtain its actual hash and look up its report. The report may not be available immediately; every repeated query consumes quota. A web upload creates no VTAI receipt. This alternative does not bypass client permissions, authentication or quota limits, and must not repeat an uncertain submission.

Read the full tool guide (Markdown).

Free access, shared protection

60queries / 60 seconds
1,000queries / UTC day
20uploads / minute
500uploads / UTC day

Free quota: 60 queries per 60 seconds and 1,000 per UTC day per Agent Token or OAuth account; repeats, cached reports and unknown hashes count. Uploading a new file uses no query quota and is limited to 20 per minute and 500 per day. Creating extra identities to avoid limits is not permitted.

Submissions are shared with the VirusTotal community and partners. Upload files, submit URLs or request network reanalysis only when the user explicitly requests that action.

Full access limits and sharing policy

Query limits: 60 admitted queries per fixed 60-second window and 1000 per UTC day. Agent Tokens share the agent's allowance across REST and MCP; OAuth connections share the account's allowance. Unknown reports and upstream failures after admission count. Every repeated lookup counts again, including cached reports and hashes with no report. On 429, honor Retry-After and reuse your credential. File submissions first check whether the hash exists in VirusTotal. Only confirmed unknown files are uploaded, without using query quota, even when the query allowance is exhausted. A separate file contribution limit permits 20 admitted upload attempts per fixed 60-second window and 500 per UTC day, per Agent Token identity or OAuth account across connections. Failed or uncertain admitted attempts still count; known files and receipt recovery do not. Creating multiple identities or accounts to evade limits is not permitted. If the file is known, returning its existing report costs one query and no file is uploaded. Explicit hash lookups and analysis-result reads still count. The access check costs no query quota and does not report remaining quota.

Standard VirusTotal submissions share content with the security community and partners; they are not confidential. Upload files or attachments, submit URLs, or request domain/IP reanalysis only when the user explicitly requests that action. A missing report, an unfamiliar file or a suspicious indicator is not permission to submit it. Explain the sharing and ask before submitting the user's own documents, internal code, credentials or personal data. Submission tools add no per-call confirmation; client permissions still apply.

VirusTotal in your runtime.

MCP connections and runtime protection have different capabilities. Choose the integration you need.

VirusTotal · Agy

Antigravity plugin

Add the official remote MCP connection and investigation skill to Agy. Authenticate in the client and keep one active VirusTotal connection.

agy plugin install virustotal@antigravity-plugins-partners
Activate and verify

Open /mcp, select virustotal_virustotal and choose Authenticate. Complete browser sign-in and consent, then paste Antigravity's callback code into the waiting MCP authentication dialog in the same terminal and submit it. Approve the requested tool call when you ask for your first report.

Request an existing report and inspect its tool result. Native Agy sign-in, one domain report and revocation were verified on 2 October 2026; renewal, writes and the graphical IDE remain separate checks.

Requires Agy model access. The remote server cannot read a local path; this plugin does not intercept downloads. Keep existing stdio configurations unless deliberately replacing them.

VirusTotal · Hermes

Hermes plugin

Give Hermes file and hash reputation tools, plus compact advisory context about the artifacts it observes.

hermes plugins install king-tero/hermes-virustotal --enable
Activate and verify

Run hermes plugins list and start a new Hermes session. If using a messaging gateway, restart it with hermes gateway restart. The --enable flag activates the plugin without an interactive enable prompt.

Call vt_check_hash with a known file hash, or vt_check_file with a path in the active execution environment. The file check hashes the file without uploading it.

Advisory by default; exact-malicious enforcement is optional. Binary-content upload behavior has separate configuration. Text is not auto-uploaded and archives are opt-in.

Community plugin · Omarchy Quattro

VirusTotal for Omarchy

Check files, links, domains and IPs from your Omarchy desktop. Add optional monitoring for downloads and installed plugins, and connect supported coding agents to VirusTotal.

Maintained by David Santos · dsecuma.

omarchy plugin add https://github.com/dsecuma/omarchy-virustotal.git --enable
Activate and verify

Requires Omarchy Quattro. Open the VirusTotal panel and press Connect to create or reuse VTAI access; no VirusTotal API key is needed. Download monitoring and plugin scanning are off by default; enable them separately in Settings if wanted.

In the Scan tab, look up virustotal.com and inspect the report and its date. Check access verifies authentication only. Coding agents use separate OAuth sign-in; some require manual setup in the guide.

Local files are checked by hash. Manual uploads require confirmation; automatic uploads of unknown plugin files require a separate opt-in. Uploads are standard, non-private VirusTotal submissions. Download monitoring never uploads files. Alerts do not block execution, and zero detections do not establish safety.

Installation and first use (Markdown) →

Direct integration

Just need the API?

Use the same VirusTotal intelligence from your own tools. Reuse an Agent Token for REST; MCP OAuth tokens do not authenticate REST.

GET /api/v3/domains/virustotal.com
Authorization: Bearer <VTAI token>

Keep credentials in a protected file or secret store, outside the conversation.

OpenAPI schema (JSON) · Integration catalog (JSON)

For agents and developers.

Use the Markdown guides or machine-readable schemas to set up, query and recover results.

Setup prompt for your agent

Set up VirusTotal for this agent using https://ai.virustotal.com/install.md. Choose the integration for this runtime and reuse existing VTAI access if available. Verify setup with the first-use check in the selected integration guide. Keep credentials outside the conversation.

Agent Token installer

For stdio and client configurations that use an Agent Token. Review the selected client's guide before changing a working connection.

Antigravity CLI (agy) installer

Requires Python 3.11+ and the client. macOS / Linux also uses curl; Windows uses the py launcher. Setup reuses an existing Agent Token or registers once when needed. Agy stdio also requires uv; it can provision Python 3.12.

macOS / Linux

(
  set -eu
  vt_setup_dir=$(mktemp -d)
  trap 'rm -rf "$vt_setup_dir"' EXIT
  curl --fail --silent --show-error --proto '=https' --max-time 30 \
    https://ai.virustotal.com/setup.py -o "$vt_setup_dir/setup.py"
  python3 "$vt_setup_dir/setup.py" --client agy --transport stdio
)

Windows PowerShell

& {
  $ErrorActionPreference = 'Stop'
  $vtSetupFile = [IO.Path]::GetTempFileName()
  try {
    Invoke-WebRequest -UseBasicParsing -MaximumRedirection 0 -TimeoutSec 30 `
      'https://ai.virustotal.com/setup.py' -OutFile $vtSetupFile
    py -3 $vtSetupFile --client agy --transport stdio
    if ($LASTEXITCODE -ne 0) { throw 'VirusTotal setup did not complete.' }
  } finally {
    Remove-Item -LiteralPath $vtSetupFile -Force
  }
}

Antigravity CLI (agy) setup and maintenance

Claude Code installer

Requires Python 3.11+ and the client. macOS / Linux also uses curl; Windows uses the py launcher. Setup reuses an existing Agent Token or registers once when needed.

macOS / Linux

(
  set -eu
  vt_setup_dir=$(mktemp -d)
  trap 'rm -rf "$vt_setup_dir"' EXIT
  curl --fail --silent --show-error --proto '=https' --max-time 30 \
    https://ai.virustotal.com/setup.py -o "$vt_setup_dir/setup.py"
  python3 "$vt_setup_dir/setup.py" --client claude --transport http
)

Windows PowerShell

& {
  $ErrorActionPreference = 'Stop'
  $vtSetupFile = [IO.Path]::GetTempFileName()
  try {
    Invoke-WebRequest -UseBasicParsing -MaximumRedirection 0 -TimeoutSec 30 `
      'https://ai.virustotal.com/setup.py' -OutFile $vtSetupFile
    py -3 $vtSetupFile --client claude --transport http
    if ($LASTEXITCODE -ne 0) { throw 'VirusTotal setup did not complete.' }
  } finally {
    Remove-Item -LiteralPath $vtSetupFile -Force
  }
}

Claude Code setup and maintenance

Codex installer

Requires Python 3.11+ and the client. macOS / Linux also uses curl; Windows uses the py launcher. Setup reuses an existing Agent Token or registers once when needed. Codex HTTP setup requires Codex 0.154.0 or later.

macOS / Linux

(
  set -eu
  vt_setup_dir=$(mktemp -d)
  trap 'rm -rf "$vt_setup_dir"' EXIT
  curl --fail --silent --show-error --proto '=https' --max-time 30 \
    https://ai.virustotal.com/setup.py -o "$vt_setup_dir/setup.py"
  python3 "$vt_setup_dir/setup.py" --client codex --transport http
)

Windows PowerShell

& {
  $ErrorActionPreference = 'Stop'
  $vtSetupFile = [IO.Path]::GetTempFileName()
  try {
    Invoke-WebRequest -UseBasicParsing -MaximumRedirection 0 -TimeoutSec 30 `
      'https://ai.virustotal.com/setup.py' -OutFile $vtSetupFile
    py -3 $vtSetupFile --client codex --transport http
    if ($LASTEXITCODE -ne 0) { throw 'VirusTotal setup did not complete.' }
  } finally {
    Remove-Item -LiteralPath $vtSetupFile -Force
  }
}

Codex setup and maintenance

Download setup.py