# Lazaretto

> Lazaretto is a freemium MCP server for security. Scan npm packages, agent skills and MCP servers for malware before installing them. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Web
- **Website:** https://lazaretto.ai
- **Repository:** https://github.com/jamesdfinance-dev/lazaretto-mcp
- **MCP Registry name:** io.github.jamesdfinance-dev/lazaretto
- **Categories:** security
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://lazaretto.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "lazaretto": {
      "url": "https://lazaretto.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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).

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/lazaretto
