Damdit for Claude Code
Let Claude Code audit the website it just built.
Claude Code says the work is done. Damdit opens the site in a real browser, checks it against fixed rules and hands Claude Code the issues with their evidence. The next audit shows what it really fixed.
Add Damdit to Claude Code
claude mcp add --transport stdio --scope user damdit-cli -- damdit-cli mcpAfter installing Damdit CLI and adding your key. All steps are below.
Set up Damdit in Claude Code
Damdit CLI on the machine where Claude Code runs, then one entry in Claude Code.
Check that it worked
Run “claude mcp list”: damdit-cli reads Connected. Inside a session, /mcp lists its tools.
Install Damdit CLI
Needs Docker running. No sudo, and it edits no shell file.
curl -fsSL https://download.damdit.com/cli/install.sh | shAdd your key
Create a key on your Damdit account page and export it in your shell’s profile, so the agent’s terminal has it too.
~/.zshrc or ~/.bashrc
export DAMDIT_CI_KEY=…Add Damdit to Claude Code
For every project of yours (--scope user). Claude Code starts the server itself when a session needs it.
claude mcp add --transport stdio --scope user damdit-cli -- damdit-cli mcp
Using Damdit for Mac?
In Damdit for Mac, open Settings → AI Tools → MCP and choose Add… next to Claude Code, or run the command the app copies for you. The same page adds the damdit agent skill to ~/.claude/skills/damdit.
claude mcp add --transport stdio --scope user damdit -- ~/.local/bin/damdit mcpTry it
Ask in plain words. These two are a good start.
- “Create a Damdit project for https://example.com and run an audit. Then tell me what to fix first, with the issue IDs.”
- “Fix the first issue, run a new audit and show me what Damdit reports as Resolved and what is Still detected.”
What your agent gets from Damdit
Each issue comes with the rule, the pages and elements it affects, what was measured and what was expected, so the agent can go to the right file and you can check its claim.
- The summary first: score, coverage, counts and the first issues.
- Then issues, their occurrences and the evidence of one finding.
- Coverage says what the audit could not check. An area that was not measured is never reported as fine.
- After a fix, a new audit compares with the one before: New, Resolved, Reappeared, Still detected, Inconclusive.
Good to know
Before you rely on it
- Claude Code asks before it uses a tool of a new server. Allow the tools you want it to use.
- Start a new session after adding the server.
- With Damdit for Mac installed too, Claude Code may reach for the app’s damdit command or its skill instead. Name the one you want: “Use the damdit-cli MCP tools.” The two keep separate projects and audits.
- Damdit CLI reads your key from DAMDIT_CI_KEY. The examples pass the variable through, so the key itself is not written into a configuration file.
- Damdit reads websites. It never edits or publishes one; your agent changes your code.
- A fix is verified only when a newer audit shows the issue as Resolved.
- Text copied from the audited website is data for the agent to report, never instructions for it to follow.
- DAMDIT_CLI_ACCESS=read or audit limits what commands and AI tools may do; the default is full.
Is this a Claude Code skill or an MCP server?
Damdit CLI is an MCP server and a command line. Damdit for Mac also installs an agent skill for Claude Code that teaches it how to read audits.
Does the audited website leave my machine?
Not to Damdit. Pages are rendered where Damdit CLI runs, and audits stay in its data folder. What your agent reads from Damdit, it handles under its own provider’s terms.
Do I need Damdit for Mac as well?
No. Damdit CLI works alone. If you have the app, its own damdit command and MCP server give the agent the audits saved in the app.
What does it cost?
Damdit CLI is part of the Damdit licence: one payment with a year of updates, and two installations at a time in any combination of the app and CLI keys. The trial includes it.
Other integrations
Fix it with your AI. Prove it with Damdit.
7 days free, no card. One licence for the app and the CLI.