claude-setup-audit-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-setup-audit-mcp audit this repo's Claude setup and tell me what to fix"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-setup-audit-mcp
An MCP server that tells you why Claude Code keeps ignoring your instructions, then helps you fix it.
Three tools:
audit_claude_setup scores a repo's Claude Code setup from 0 to 100 and lists what to fix in order. It checks whether CLAUDE.md exists, whether it lists commands and do-not rules, whether it is short enough to be read, whether it leaks a credential, whether your subagents have proper frontmatter and restricted tools, whether you have skills, hooks, and an .mcp.json, and whether settings.local.json is git-ignored.
scaffold_agent writes a complete .claude/agents/<name>.md from a one-line job description, with frontmatter, a procedure, a report format, and do-not rules.
hook_recipes returns three settings.json hooks that work on Windows and macOS: a formatter after every edit, a guard that blocks destructive shell commands, and a bell when Claude stops and is waiting on you.
Install
Add to .mcp.json in your repo (or to Claude Code with claude mcp add):
{
"mcpServers": {
"claude-setup-audit": {
"command": "npx",
"args": ["-y", "claude-setup-audit-mcp"]
}
}
}On Windows, use "command": "cmd", "args": ["/c", "npx", "-y", "claude-setup-audit-mcp"].
Then in Claude Code: "audit this repo's Claude setup". It calls the tool and reads you the findings.
Related MCP server: MAS GitHub Analyzer
Run from source
npm install
npm run build
npm run smoke # audits ../claude-code-starter-pack and checks all three toolsNo network calls, no telemetry. It reads files under the path you give it and nothing else.
What the score means
Under 40: Claude is working from nothing. Start with CLAUDE.md and the commands section. 40 to 70: the basics exist but nothing is enforced. Add hooks and restrict agent tools. Over 70: the setup is sound. The remaining gains come from agents written for your specific repeated jobs, which is what I do for teams. Details at github.com/shadrach16.
A ready-made starting point is the claude-code-starter-pack.
MIT licensed. Built by Tunde Oluwamo.
Available Tools
3 toolsaudit_claude_setupAudit a Claude Code setupA
Scores a repository's Claude Code setup (CLAUDE.md, .claude/agents, .claude/skills, hooks in settings.json, .mcp.json, .gitignore) from 0 to 100 and lists what to fix, in order. Pass the repo root path.
Inputs: path (required).
hook_recipesHook recipesA
Returns three tested settings.json hook recipes (format after edit, block destructive commands, bell on stop) that work on Windows and macOS.
Inputs: no named parameters.
scaffold_agentScaffold a subagent fileA
Returns a complete .claude/agents/.md for a role, with frontmatter (name, description, tools), a procedure, a report format, and do-not rules. Save the returned text to .claude/agents/.md.
Inputs: job (required), name (required), tools, must_not, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: one audits the setup, one scaffolds an agent file, and one returns hook recipes. There is no meaningful overlap or ambiguity between them.
All names use lowercase snake_case and two follow a verb_noun pattern (audit_claude_setup, scaffold_agent). hook_recipes is noun_noun, so the pattern is mostly consistent with a minor deviation.
Three tools is a well-scoped set for an audit-focused server. Each tool earns its place without redundancy or unnecessary surface area.
The audit tool covers the full setup surface, and there are helpers for agent files and hooks. However, other audited areas like CLAUDE.md, skills, .mcp.json, and .gitignore have no corresponding scaffold or recipe tool, leaving notable gaps for remediation.
Maintenance
Related MCP Connectors
Scores your code across 12 areas, with findings, fix prompts, and re-assessment in your AI agent
Scan a GitHub repository for vulnerabilities, with proof for every finding, from your coding agent.
Audit and repair any public GitHub repo. Free survey; paid source, unified diffs and a pull request.
Scan a public GitHub repo, explain risks, get fix prompts and rescan to confirm fixes.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAudits your Claude Code memory store with 4-dimension quality scoring and actionable cleanup recommendations, including a visual dashboard.1MIT
- FlicenseNot gradedqualityDmaintenanceProvides code auditing tools including repository cloning, AST analysis, security scanning with Semgrep, and LLM-powered code explanations via the Model Context Protocol.-
- AlicenseAqualityBmaintenanceEnables Claude to inspect, analyze, and grade local Git repositories with tools for stats, TODO scanning, git history, large file detection, health scores, and tech stack fingerprinting.6MIT
- AlicenseAqualityBmaintenanceAudits AI agent skills for safety using static, semantic, adversarial, and supply-chain analysis, providing scores and risk flags. Can be run via CLI, CI, or as an MCP tool from Claude Code, Cursor, and Codex.529 PyPI2Apache 2.0