vetcode
Reads code for malware, secrets and supply-chain attacks before an agent acts
vetcode is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.8.20
- Listing updated
Similar MCP servers
Install
In Claude Desktop → Settings → Extensions
https://github.com/openyard-cloud/vetcode/releases/download/v0.8.20/vetcode.mcpbDownload the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.
Using several servers? Build one config file with the MCP config generator.
About vetcode
Aimed at coding agents, this scanner runs before a package is installed, after a repository is cloned, or before code ships. It only reads files; nothing from the inspected code is installed, built or run. It needs Node.js 18 or newer and has no other dependencies.
The README describes a guard that answers allow, ask or deny for installs and MCP server additions, a scanner covering malware, supply-chain and agent-targeted attacks such as poisoned CLAUDE.md files, leaked secrets and server or CI issues, and a review procedure that tells the agent how to confirm findings by reading the code. It also lists dangerous web-code calls as places to read, and says plainly that these are a starting point rather than coverage and that a clean report means nothing obvious was found.
The project publishes benchmark numbers against GuardDog and Cisco's skill scanner, with caveats about sample sizes. The MCP server exposes four tools and a security_review prompt, and it is also available as a Claude Code plugin, skill, command line and GitHub Action.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- vetcode_scan
- Scan a folder for security findings
- vetcode_guard
- Answer allow, ask or deny for an install or clone
- vetcode_guide
- Review procedure for confirming findings
- vetcode_reference
- Reference material for the rules
What it does
- Install guard
- Answers allow, ask or deny before a package install or MCP server addition.
- Read-only scanner
- Checks a folder for malware, supply-chain attacks, secrets and CI problems without running it.
- Agent-attack checks
- Flags poisoned CLAUDE.md files, skills, hooks and auto-approved servers.
- Review procedure
- Tells the agent how to confirm each finding by reading code.
- Multiple entry points
- Plugin, skill, MCP server, command line and GitHub Action.
- Published benchmarks
- Detection and false-alarm counts with stated caveats.
Good for
- Check an npm or PyPI package before an agent installs it
- Scan a cloned repository before running it
- Look for leaked secrets before shipping
- Review a pull request on GitHub
- Vet an MCP server before adding it
Pricing
Open source
Free, MIT licence
vetcode FAQ
Does vetcode run the code it checks?
No. It reads, never runs, and installs or builds nothing from the code it inspects.
What does vetcode need?
Node.js 18 or newer and nothing else.
Is vetcode on npm?
No. The README warns that a vetcode package on npm or PyPI is not this project; run it from the repository at a pinned release.
What licence?
MIT, free and open source.
Does a clean report mean safe?
No. The README says it means nothing obvious was found.
Is vetcode free?
Yes. vetcode is open source, so you can use and self-host it for free.
What are the best alternatives to vetcode?
The closest alternatives to vetcode are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


