Skip to main content

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

Project description

Crucible

Load your coding patterns into Claude Code.

├── 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

Personas for domains. Knowledge for patterns. All customizable.

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.3.0.tar.gz (65.4 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.3.0-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crucible_mcp-0.3.0.tar.gz
  • Upload date:
  • Size: 65.4 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.3.0.tar.gz
Algorithm Hash digest
SHA256 56238aa04f5afc383e12daba4596bdd087f062a21e6975969e40f9fe565933ce
MD5 825a3ff1bd43af0bd5d60707fdd22ae1
BLAKE2b-256 3d6b65e18ef20714ced85f23ce967ba8cfc245d970e936009266a3478562323c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: crucible_mcp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 45.2 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9dc3f119ff9976d5cbdc8b2b358a2367258009774ec62fe76a3d01012e928a2d
MD5 2ad7853a61adc723b45acce187a3a86f
BLAKE2b-256 e5ea00c9536d32c87aa91e2f4fdee34d09ed2949c7c22ee357b2ce33dd56054a

See more details on using hashes here.

Provenance

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