# Tutorial: licence-audit a repository

Review a repository for licence problems, missing attribution and known advisories before you ship. Time: about ten minutes. Cost: 0 credits with the prompt below; the optional lockfile report is included on paid plans and costs 5 credits on Free.

## Before you start

Any connected MCP client works. This tutorial is read-only: nothing in your repository is changed unless you ask for fixes at the end.

## 1. Run the licence-check prompt

In Claude Code, type `/` and choose `/mcp__justclaw-it__licence-check`. In other clients, ask:

> Run the JustClaw-It licence-check prompt on this repository. Our project licence is MIT.

The prompt uses free tools only and never pulls. It reads your dependency files and any code that carries a JustClaw-It attribution header.

## 2. Read the findings

You get a table with one row per finding:

- **Incompatible licence:** a dependency whose licence conflicts with yours, for example strong copyleft inside a permissive project.
- **Missing attribution:** reused code without its header or without a `THIRD_PARTY_LICENSES` entry.
- **Advisories:** dependencies or source repositories with known vulnerabilities.

What each licence class allows: [Licences & attribution](/docs/licences).

## 3. Optional: the lockfile report

For a per-dependency report with CycloneDX, SPDX and NOTICE documents, upload your lockfile to the [lockfile licence report](/docs/licence-report). Lockfiles are processed in memory and not stored.

## 4. Fix what it found

> Fix the missing attribution findings, and suggest permissive replacements for the two incompatible dependencies.

Replacements are found with `search_components` using a `license` filter, which is free. Pulling a replacement costs 1 credit each.

## What this does not do

Licence classes and findings are signals to help you review, not legal advice. For a release that matters, have the result checked by someone qualified. How licences are recorded: [How licensing works](/docs/how-licensing-works).

Next: [Start a project in Claude Code](/docs/tutorials/starter-claude-code).
