
Mason
Generate and refine CLAUDE.md project context from structured repo analysis so agents ship with consistent instructions.
Overview
Mason is an MCP server for the Build phase that generates CLAUDE.md files through structured codebase analysis for agent context engineering.
What is this MCP server?
- Stdio MCP via npx mason-context mason-mcp (npm package mason-context v0.3.6)
- Structured codebase analysis pipeline for context files
- Outputs CLAUDE.md tailored to repository layout and conventions
- Local runtime—no remote URL in server.json
- Open-source project on github.com/adrianczuczka/mason
- Package version 0.3.6
- Transport: stdio via npx
- Runtime package identifier: mason-context
Community signal: 6 GitHub stars.
What problem does it solve?
Hand-maintained CLAUDE.md files drift from the repo, so agents hallucinate structure and miss team conventions.
Who is it for?
Solo devs standardizing Claude Code or Cursor context across active repositories without manual doc archaeology.
Skip if: Non-coding tasks like SEO, ads, or admissions research—Mason only targets repository context artifacts.
What do I get? / Deliverables
After installing the stdio server, you get analysis-backed CLAUDE.md context that aligns agents with your actual codebase layout.
- Generated or updated CLAUDE.md from structured analysis
- Clearer agent grounding in project layout
- Repeatable context refresh workflow via MCP
Recommended MCP Servers
Journey fit
Build is the primary phase because Mason operationalizes context engineering on an existing codebase—not market research or launch distribution. Agent-tooling captures MCP-driven CLAUDE.md generation and structured analysis that makes Claude Code and peers behave predictably in the repo.
How it compares
Developer context MCP via npx, not a hosted analytics or university data integration.
Common Questions / FAQ
Who is com.adrianczuczka/mason for?
Builders and maintainers who want MCP-assisted CLAUDE.md generation from real repo analysis instead of one-off prompt hacks.
When should I use com.adrianczuczka/mason?
Use it during Build when onboarding agents to a codebase, after refactors, or whenever CLAUDE.md is missing, stale, or inconsistent.
How do I add com.adrianczuczka/mason to my agent?
Register stdio MCP with runtimeHint npx, package mason-context, and arguments -p mason-context plus positional mason-mcp per the published server.json.