Check a website for broken links
damdit-cli project create --name Example --production https://example.com/damdit-cli audit Exampledamdit-cli issues Example --rule navigation.link.damdit-cli issues Example --rule url.The audit opens up to 500 pages in a browser and checks up to 5,000 addresses it finds in them: links between pages, links to other websites, images, scripts and stylesheets. The two issues commands list what failed: navigation.link. the links (a broken link to another website, a link that goes nowhere, a link text that says nothing), url. the addresses of the website itself that answer with an error. First time? Install Damdit CLI and add your key.
Where each broken link is
Section titled “Where each broken link is”damdit-cli occurrences Example <issueId>Each occurrence names the page the link is on and the address it points to, with the status the address answered.
After you fix them
Section titled “After you fix them”damdit-cli audit Exampledamdit-cli compare Examplecompare says what is Resolved, Still detected, New or Inconclusive. A link you removed often comes back as Inconclusive: nothing points to that address any more, so the audit has nothing to check.
What it doesn’t tell you
Section titled “What it doesn’t tell you”- Addresses beyond the first 5,000 are listed in Coverage as not checked.
- A website behind bot protection may refuse the audit. Then nothing is checked and Damdit says so: see Troubleshooting.
In an AI agent, the same steps are the MCP tools run_audit, list_issues and list_occurrences: AI agents.