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.4.0.tar.gz (78.3 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.4.0-py3-none-any.whl (56.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crucible_mcp-0.4.0.tar.gz
  • Upload date:
  • Size: 78.3 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.4.0.tar.gz
Algorithm Hash digest
SHA256 d9058d52d5fb9aebf8530d954c47753c62f0106f869963b0e7d0d455a018b8c4
MD5 26eba795ce3bab5bbef82f958f0ba9c2
BLAKE2b-256 2c64f1968619463d208c986434accacf01abb4f562ac02e2f44f46c8851317ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for crucible_mcp-0.4.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: crucible_mcp-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 56.6 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53ac3f2a5d79e599ac014083630ab2e4262261ee9ee434b7a0f26aa2c706cb0f
MD5 646c77f1a150e83c93a1fb369673e878
BLAKE2b-256 46fa4302c33b1dde0210ce4e7494a2aebece8d77388c081179bb2d8e27bf3fd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for crucible_mcp-0.4.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