Skip to content
MCP server

Lazaretto

Scan npm packages, agent skills and MCP servers for malware before installing them

Install
Pricing
Freemium
Platforms
API, CLI, Web
Runs
Locally or Remotely
Version
1.3.6
Listing updated
3 days ago

About Lazaretto

Lazaretto is a freemium MCP server for security. It can run locally on your machine or as a hosted remote server.

Lazaretto separates what each check reads from what it does not. The free lockfile check matches exact pinned names and versions against the OSV and OpenSSF malicious-package lists, synced daily, and does not read the code, so it catches reported releases but not unreported ones. A paid scan fetches a package's files without running them and reports findings with file and line.

The MCP check connects to a server URL, lists its tools and reads the descriptions that would be shown to your model, without calling any tool. It cannot read servers that need sign-in first. Free tools also include attestation lookups, known-bad hash lookups and a GitHub Action that fails a build on known malware.

The hosted endpoint adds find_mcp_servers and get_free_key; an npm stdio package is available for clients that only run local servers.

Install

Run in a terminal

claude mcp add --transport http lazaretto https://lazaretto.dev/mcp

Add to Settings → Connectors → Add custom connector

https://lazaretto.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "lazaretto": {
      "url": "https://lazaretto.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "lazaretto": {
      "type": "http",
      "url": "https://lazaretto.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "lazaretto": {
      "serverUrl": "https://lazaretto.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "lazaretto": {
      "type": "http",
      "url": "https://lazaretto.dev/mcp"
    }
  }
}

Configuration

  • LAZARETTO_API_KEYOptional. A Lazaretto key holding scan credits, used only by the paid tools. The free tools work without it. Buy credits at https://lazaretto.dev/buy.

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

check_lockfile
Check a lockfile's pinned packages against malware advisories.
scan_lockfile_deep
Scan a whole dependency tree in depth.
scan_artifact
Full scan of one package, skill or artifact.
scan_mcp_server
Check an MCP server by URL.
check_mcp_tools
Check a tool list for poisoning.
find_attestation
Look up a package version's attestation.
find_mcp_servers
Find an MCP server for a job in the official registry (hosted).
get_free_key
Mint a free developer key in the session (hosted).

What it does

Free lockfile check
Matches pinned versions in package-lock, yarn or pnpm lockfiles to published malware advisories.
Behavioural code scan
Reads a package version's files without executing them and reports findings by file and line.
MCP tool-poisoning check
Lists a server's tools and reads what they tell the agent, without calling them.
Attestation lookup
Returns whether a specific package version is listed as malware.
CI integration
A GitHub Action fails builds on known malware.
Hosted or local
Use the remote endpoint or the npm stdio package.

Good for

  • Check a project's lockfile before an agent runs npm install
  • Vet an MCP server before connecting it
  • Scan one exact package version for malicious behaviour
  • Block known-bad dependencies on every pull request

Pricing

Freemium

Free checks and 10 scans a day; credits from $0.016 to $0.020 per scan

Prices change. Check lazaretto.ai before you buy.

Lazaretto FAQ

Is there a free tier?

Yes: lockfile checks and attestation lookups are free with no account, and a free developer key gives 10 full scans a day.

How are paid scans priced?

Capacity packs run from $0.016 to $0.020 per scan, or $0.03 per call paying in USDC over x402; errors are never billed.

Does a clean result mean a package is safe?

No. The README says a clean lockfile result only means nothing matched published advisories.

Are packages executed?

No. Files are fetched and read, never run.

Is Lazaretto free?

Lazaretto has a free plan, with paid plans for more usage or features.

How do I add Lazaretto to Claude Code?

Run this command in your terminal: claude mcp add --transport http lazaretto https://lazaretto.dev/mcp

What are the best alternatives to Lazaretto?

The closest alternatives to Lazaretto are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

Alternatives to Lazaretto

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  3. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  4. Leash

    MCP server

    Review what your AI touched, approve risky actions and undo supported changes

    • 1 tool
    • Remote
    • Free
    • 1 GitHub star
    • Security
  5. SecureCloud

    MCP server

    SentinelOne and IT security catalog, prices, quotes and checkout links for Israel

    • 7 tools
    • Remote
    • Free
    • Security