Skip to main content

Code review MCP server for Claude. Not affiliated with Atlassian.

Project description

Crucible

Your team's standards, applied by Claude, every time.

Claude without context applies generic best practices. Crucible loads your patterns—so Claude reviews code the way your team would, not the way the internet would.

├── Personas:      Domain-specific thinking (how to approach problems)
├── Knowledge:     Coding patterns and principles (what to apply)
├── Cascade:       Project → User → Bundled (customizable at every level)
└── Context-aware: Loads relevant skills based on what you're working on

Why Crucible?

  • Consistency — Same checklist every time, for every engineer, every session
  • Automation — Runs in CI and pre-commit, not just interactively
  • Institutional knowledge — Your senior engineer's mental checklist, in the repo
  • Your context — Security fundamentals plus your auth patterns, your conventions, your definition of "done"
  • Cost efficiency — Filter with free tools first, LLM only on what needs judgment

Not affiliated with Atlassian's Crucible.

Install

pip install crucible-mcp

Add to Claude Code (.mcp.json):

{
  "mcpServers": {
    "crucible": {
      "command": "crucible-mcp"
    }
  }
}

With hot reload (recommended for customization):

{
  "mcpServers": {
    "crucible": {
      "command": "mcpmon",
      "args": ["--watch", "~/.crucible/", "--", "crucible-mcp"]
    }
  }
}

How It Works

Code → Detect Domain → Load Personas + Knowledge → Claude with YOUR patterns

.sol file → web3 domain → security-engineer + SMART_CONTRACT.md → Knows your security rules

MCP Tools

Tool Purpose
review(path) Full review: analysis + skills + knowledge
review(mode='staged') Review git changes with skills + knowledge
load_knowledge(files) Load specific knowledge files
get_principles(topic) Load engineering knowledge by topic
delegate_* Direct tool access (semgrep, ruff, slither, bandit)
check_tools() Show installed analysis tools

The unified review tool supports:

  • Path-based: review(path="src/") - analyze files/directories
  • Git-aware: review(mode="staged") - analyze changes (staged, unstaged, branch, commits)
  • Quick mode: review(path, include_skills=false) - analysis only, no skills/knowledge

CLI

crucible init                     # Initialize .crucible/ for your project
crucible review                   # Review staged changes
crucible review --mode branch     # Review current branch vs main
crucible ci generate              # Generate GitHub Actions workflow

crucible skills list              # List all skills
crucible skills init <skill>      # Copy to .crucible/ for customization

crucible knowledge list           # List all knowledge files
crucible knowledge init <file>    # Copy for customization

crucible hooks install            # Install pre-commit hook

See ARCHITECTURE.md for the full flow.

Customization

Override skills and knowledge for your project or personal preferences:

# Customize a skill for your project
crucible skills init security-engineer
# Creates .crucible/skills/security-engineer/SKILL.md

# Add project-specific concerns, team conventions, etc.

Resolution order (first found wins):

  1. .crucible/ — Project overrides
  2. ~/.claude/crucible/ — User preferences
  3. Bundled — Package defaults

See CUSTOMIZATION.md for the full guide.

What's Included

18 Personas — Domain-specific thinking: security, performance, accessibility, web3, backend, and more.

See SKILLS.md for the full list.

12 Knowledge Files — Coding patterns and principles for security, testing, APIs, databases, smart contracts, etc.

See KNOWLEDGE.md for topics covered.

Documentation

Doc What's In It
FEATURES.md Complete feature reference
ARCHITECTURE.md How MCP, tools, skills, and knowledge fit together
CUSTOMIZATION.md Override skills and knowledge for your project
SKILLS.md All 18 personas with triggers and focus areas
KNOWLEDGE.md All 12 knowledge files with topics covered
CONTRIBUTING.md Adding tools, skills, and knowledge

Development

pip install -e ".[dev]"
pytest                    # Run tests (509 tests)
ruff check src/ --fix     # Lint

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crucible_mcp-0.5.0.tar.gz (90.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crucible_mcp-0.5.0-py3-none-any.whl (66.9 kB view details)

Uploaded Python 3

File details

Details for the file crucible_mcp-0.5.0.tar.gz.

File metadata

  • Download URL: crucible_mcp-0.5.0.tar.gz
  • Upload date:
  • Size: 90.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for crucible_mcp-0.5.0.tar.gz
Algorithm Hash digest
SHA256 20bd1b434b661a74f4ca39f1ee5e86d076c17bbdc391fcad03f9c8ad6e59925a
MD5 44440cba20531fb26dbd086bf07ecc9d
BLAKE2b-256 fa420e5982d506a4f9d12075ddf20e76c3ad0a535e7e97240cdacaac31d77393

See more details on using hashes here.

Provenance

The following attestation bundles were made for crucible_mcp-0.5.0.tar.gz:

Publisher: publish.yml on b17z/crucible

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file crucible_mcp-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: crucible_mcp-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 66.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for crucible_mcp-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f8a8b7f6294fcc7cbd778e39fd93aff50cdcd653ab0a82a8bbcd7080e347118
MD5 4cc65d86e5bf6821949d26bbdc6d5cc9
BLAKE2b-256 f21c372f9037ed211a986637064a8e2a2676c18dedfdb18573cc002d5283bb77

See more details on using hashes here.

Provenance

The following attestation bundles were made for crucible_mcp-0.5.0-py3-none-any.whl:

Publisher: publish.yml on b17z/crucible

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page