thomasindrias/brain
Neuroscience-inspired cognitive architecture for Claude Code
Platform-specific configuration:
{
"mcpServers": {
"brain": {
"command": "npx",
"args": [
"-y",
"brain"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A neuroscience-inspired cognitive architecture for Claude Code. Every major brain function is a standalone markdown region, orchestrated by the Thalamus router and injected via a SessionStart hook — giving you a personal cognitive layer across all projects.
Install as a Claude Code plugin. On every session start, the thalamus routing protocol is injected as context. It routes user prompts through a multi-phase signal processing pipeline modeled after the human brain:
User Prompt
│
▼
[Sensory Buffer] ← Phase 0: Raw input capture
│
▼
[Basal Ganglia] ← Phase 0.5: Depth classification + cached routines
│ SHALLOW → skip to Phase 5
│ MEDIUM → Phases 0-3, 5
│ DEEP → Full loop (0-6)
▼
[Neuromodulators] ← Phase 0.75: Read cognitive mode (READ-ONLY)
│
├──────────┼──────────┐
▼ ▼ ▼ ← Phase 1: Parallel dispatch
Amygdala Hippocampus Language Center
│ │ │
└──────────┼──────────┘
▼
integrated-context.md ← Phase 2: Binding
│
▼
Prefrontal Cortex ← Phase 3: Planning (CoT)
│ ▲
▼ │ (feedback)
motor-plan.md │
│ │
▼ │
Cerebellum ─FAIL───►┘ ← Phase 4: Validation (DEEP only)
│
PASS
│
▼
Motor Cortex ← Phase 5: Execution
│
▼
Hippocampus ← Phase 6: Memory consolidation (DEEP only)claude plugin add /path/to/brain-osOr clone and link:
git clone <repo-url> ~/.claude/plugins/brain-osIf you were using Brain OS as a project-level CLAUDE.md with the
Loading reviews...