# Bomly

> Bomly is an open-source MCP server for security. Give a coding agent the dependency graph: scan, explain and diff packages. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows
- **Website:** https://bomly.dev/cli
- **Repository:** https://github.com/bomly-dev/bomly-cli
- **MCP Registry name:** io.github.bomly-dev/bomly-cli
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-14

## About

Bomly is a single-binary command line tool first and an MCP server second. The server mode, started with bomly mcp serve or npx -y bomly-mcp, hands an agent the same scan, explain and diff commands you would run yourself, with output as JSON it can reason over. The site notes every CLI flag is exposed.

Under the hood it builds one dependency graph from source trees, lock files, container images, Git refs or existing SBOMs, using native parsers for ecosystems such as Go, npm, Maven, Python and Cargo plus Syft for the long tail. Vulnerability and licence data come in only when you pass --enrich, drawing on sources like OSV and CISA KEV; without it the README says no outbound calls are made.

Output formats include SPDX, CycloneDX and SARIF, and stable exit codes let CI fail a build on policy. It is Apache 2.0 licensed with no telemetry, per the site.

## Features

- **One graph, many inputs:** Scans source, images, Git refs and SBOMs the same way.
- **Explain a package:** Shows which path pulled a dependency in.
- **Diff changes:** Shows what a change adds, removes or bumps and any new findings.
- **Opt-in enrichment:** Adds vulnerability and licence data only with --enrich.
- **SBOM and SARIF output:** Writes SPDX, CycloneDX and SARIF.
- **Licence policy:** Allow or deny SPDX licences and fail the audit.

## Good for

- Ask an agent why a vulnerable package is in the build
- Review the dependency impact of a pull request
- Generate SPDX and CycloneDX SBOMs for release
- Fail CI when a disallowed licence appears

## Install

### Claude Code (Terminal)

```sh
claude mcp add bomly-cli -- npx -y bomly-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "bomly-cli": {
      "command": "npx",
      "args": [
        "-y",
        "bomly-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "bomly-cli": {
      "command": "npx",
      "args": [
        "-y",
        "bomly-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "bomly-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bomly-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "bomly-cli": {
      "command": "npx",
      "args": [
        "-y",
        "bomly-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "bomly-cli": {
      "command": "npx",
      "args": [
        "-y",
        "bomly-mcp"
      ]
    }
  }
}
```

## Tools

- `bomly_scan`: Scans a project, image, Git ref or SBOM into a dependency graph.
- `bomly_explain`: Explains why a package is present and which path pulled it in.
- `bomly_diff`: Shows what a change adds, removes or bumps.

## FAQ

### Does it send data anywhere?

Not unless you use --enrich; the README says nothing contacts a vulnerability or licence service without it.

### How do I start the MCP server?

Run bomly mcp serve, or use npx -y bomly-mcp.

### What licence is it?

Apache 2.0, free and open source.

### Which installs are offered?

Homebrew, an install script and winget.

### Is Bomly free?

Yes. Bomly is open source, so you can use and self-host it for free.

### How do I add Bomly to Claude Code?

Run this command in your terminal: claude mcp add bomly-cli -- npx -y bomly-mcp

### What are the best alternatives to Bomly?

The closest alternatives to Bomly are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

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