npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tomsmart-ai/mcp-audit-claude-code

v0.1.0

Published

MCP server for auditing Claude Code configurations (~/.claude.json + skills + hooks). Used internally for AI Orchestration Audit-as-a-Service deliverables, also usable standalone for self-audit.

Downloads

43

Readme

@tomsmart-ai/mcp-audit-claude-code

MCP server for auditing Claude Code configurations. Originally built for AI Orchestration Audit-as-a-Service deliverables. Open-source under MIT.

Drop this server into your own Claude Code setup and it gains three tools for self-auditing your ~/.claude/settings.json + skills + hooks directories.

What it audits

audit_config_file

Parses your Claude Code settings.json and flags:

  • HIGH: bypassPermissions defaultMode (security risk), hardcoded API keys leaked in config
  • MED: missing permissions block, empty allow lists
  • LOW: missing hooks block, no env vars set, excessive plugins enabled

audit_skills_dir

Scans ~/.claude/skills/ and flags per-skill:

  • MED: missing SKILL.md, missing YAML frontmatter, missing description field
  • LOW: description shorter than 20 chars, body shorter than 100 chars

audit_hooks_dir

Scans ~/.claude/hooks/ shell scripts and flags:

  • HIGH: hook not executable (chmod +x missing), leaked API keys in hook content
  • MED: missing set -e error handling in bash hooks
  • LOW: hardcoded /Users/<name>/ paths (portability hit)

Install

npm install -g @tomsmart-ai/mcp-audit-claude-code

Use with Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "audit-claude-code": {
      "command": "mcp-audit-claude-code"
    }
  }
}

Restart Claude Code. Then ask:

Audit my Claude Code config at ~/.claude/settings.json

Claude calls audit_config_file, returns findings list with severity + fix hints.

Use case: AAA self-audit

This server powers the AI Orchestration Audit-as-a-Service stack audits (Tier 1 $500 — Tier 3 $1,500). When you commission an audit, this MCP server runs against your stack first, then a human review applies cultural context and shipping pragmatism on top.

If you want to skip the audit-as-a-service and run the same checks yourself, install this server and ask Claude to audit. The tools are the same; what you don't get is the cultural review layer + the implementation effort (audit-as-a-service includes one fix on Tier 2+).

Why open-source

The audit logic itself is straightforward — read JSON, check patterns, return findings. Selling closed access to the tool would protect zero moat. The moat is the cultural-context review + the experience auditing many stacks + knowing which findings actually matter for which workflows.

Open-source the tool, sell the judgment.

Roadmap

  • v0.1.0 (today, Wt 26.05.2026) — initial audit tools for config, skills, hooks
  • v0.2.0 — add audit_memory_dir for ~/.claude/projects/*/memory/ quality scan
  • v0.3.0 — add audit_mcp_server_config for inspecting MCP server registrations
  • v0.4.0 — add recommend_hooks returning suggested hook scaffolds for missing categories
  • v0.5.0 — cross-check audit_config_file against audit_hooks_dir (consistency: hooks referenced in config exist on disk)

License

MIT

Author

Tom Smart — smartflowproai.com · @TomSmart_ai · github.com/smartflowproai-lang

Pair-built with Claude (Anthropic's coding agent). Tom scoped the tools, drafted findings categories, decided severity thresholds. Claude wrote the TypeScript. Tom reviewed each change and ran smoke tests before publish.