Bolor Brain MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bolor Brain MCPWhy is our API returning 500 errors under load?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bolor Brain MCP
Pure intelligence for Claude Code. Reasoning, memory, and learning -- nothing else.
What Is This?
Bolor Brain is an MCP server that gives Claude Code a brain: structured reasoning, persistent memory, and learning from experience.
User --> Claude Code (Gateway + Executor)
|
+----+----+
Bolor Brain NSAF
(MCP) (MCP)
THINK EVOLVEClaude Code = Gateway + tool execution + sessions + permissions
Bolor Brain = Reasoning engines + memory + learning + persistence
NSAF = Strategy evolution + self-improvement (separate MCP server)
Bolor Brain does NOT execute anything. No file ops, no scheduling, no autonomous loop. Claude Code already does all of that. Bolor Brain only thinks.
Related MCP server: Claude Soul
Quick Start
1. Install
git clone https://github.com/photoxpedia/bolor-brain-mcp.git
cd bolor-brain-mcp
pip install -e .2. Configure Claude Code
Add to ~/.claude/mcp-config.json:
{
"mcpServers": {
"bolor-brain": {
"command": "python",
"args": ["-m", "mcp_server"],
"cwd": "/path/to/bolor-brain-mcp"
}
}
}3. Use
/reason Why is Python popular for data science?
/debug API returns 500 errors under load
/decide PostgreSQL or MongoDB for our app?
/learn-from We fixed the memory leak by increasing connection poolMCP Tools (11)
Reasoning (6)
Tool | What It Does |
| Auto-selects best reasoning approach for any query |
| Forward/backward chaining with facts and rules |
| Graph traversal, path finding, relationship exploration |
| Find similar past problems and their solutions |
| Generate and test hypotheses from observations |
| Cross-domain pattern transfer (atom ~ solar system) |
Memory (4)
Tool | What It Does |
| Store a case, fact, node, or edge |
| Retrieve matching cases or facts |
| Store problem/solution/outcome (shortcut for remember) |
| Delete a case or fact by ID |
Utility (1)
Tool | What It Does |
| Cases, facts, nodes, edges count |
Skills (6)
Skill | When To Use |
| Deep analysis of any complex problem |
| Systematic bug hunting with hypothesis testing |
| Evidence-based technical decisions |
| Store experiences for future use |
| NSAF evolution integration (requires NSAF MCP) |
| Meta-orchestration combining Bolor Brain + NSAF |
Persistence
Brain state persists to ~/.bolor-brain/ as JSON:
~/.bolor-brain/
cases.json # Problem -> solution -> outcome
facts.json # Symbolic reasoning facts
knowledge.json # Knowledge graph (nodes + edges)Knowledge compounds over time. Solve a bug once, recall the solution instantly next time.
With NSAF
Add NSAF to get evolution capabilities:
{
"mcpServers": {
"bolor-brain": {
"command": "python",
"args": ["-m", "mcp_server"],
"cwd": "/path/to/bolor-brain-mcp"
},
"nsaf": {
"command": "python3",
"args": ["nsaf_mcp_server.py"],
"cwd": "/path/to/nsaf",
"env": { "PYTHONPATH": "/path/to/nsaf" }
}
}
}Together: Bolor Brain reasons about WHAT to do. NSAF evolves HOW to do it better. Claude Code executes.
See skills/nsaf.md and skills/orchestrate.md for combined workflows.
Testing
pytest tests/ -v
# 376 testsProject Structure
mcp_server.py # MCP server (11 tools)
persistence.py # JSON persistence to ~/.bolor-brain/
modules/
config.py # Configuration
reasoning_engines/
symbolic_reasoner.py # Forward/backward chaining
knowledge_graph.py # Graph-based knowledge
case_based_reasoner.py # 4R cycle (retrieve, reuse, revise, retain)
hypothesis_engine.py # Hypothesis generation and testing
analogical_reasoner.py # Cross-domain pattern transfer
hybrid_reasoner.py # Orchestrates all 5 engines
skills/ # Claude Code skills
reason.md, debug.md, decide.md, learn-from.md, nsaf.md, orchestrate.md
tests/ # 376 tests
AGENT_GUARDRAILS.md # Production safety guidelinesAuthor
Bolorerdene Bundgaa
Website: bolor.me
Email: bolor@ariunbolor.org
License
MIT -- see LICENSE
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
MCP-native notes and memory for ChatGPT, Claude, and other AI tools.
Brainfile memory layer for Claude Code over MCP: free starter files + weekly freshness feed.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceGives Claude Code persistent cross-session memory with semantic search, automatic detection and classification of user corrections into behavioral patterns, and self-evolving frameworks that refine judgment over time. Everything runs locally through hooks and MCP tools, with no cloud, API keys, or telemetry.6 npmMIT
- AlicenseNot gradedqualityAmaintenanceGives Claude Code persistent cross-session memory with semantic search, automatic detection and classification of user corrections, and evolving behavioral frameworks that develop over time. Runs fully locally through Claude Code's hooks and 15 MCP tools, requiring no API key or cloud service.6 npmMIT
- AlicenseNot gradedqualityAmaintenanceGives Claude Code persistent memory across sessions, detecting and classifying user corrections, and evolving behavioral frameworks from accumulated evidence. Exposes 15 MCP tools for semantic memory search, signal recording, self-evaluation, and reflection cycles that run locally alongside automatic hooks.6 npmMIT
- AlicenseNot gradedqualityAmaintenanceGives Claude Code persistent cross-session memory with semantic search over facts, decisions, and lessons, plus automatic tracking of user corrections and behavioral patterns. Enables a Claude that evolves reusable frameworks over time — promoting what works and retiring what doesn't — all locally through MCP tools and hooks.6 npmMIT