Open Source MCP Ecosystem

The Brain Ecosystem

Open-source MCP servers that give Claude Code persistent memory, adaptive learning, and cross-domain intelligence. Each brain learns from every interaction and gets smarter over time.

Get Started in 30 Seconds

npm install -g @timmeck/brain && brain setup

One command. Configures MCP server, hooks, and daemon. Brain starts learning immediately.

npm install -g @timmeck/trading-brain @timmeck/marketing-brain

Optional: add trading intelligence and marketing intelligence

Four Packages, One Ecosystem

🧠

Brain

@timmeck/brain

Adaptive error memory, code intelligence, and persistent context. Never forgets preferences, decisions, sessions, or goals. 28 MCP tools, Hebbian synapse network, hybrid search. v2.2.1

Error Memory Persistent Context Session Tracking Hebbian Learning Vector Search Decision History
💹

Trading Brain

@timmeck/trading-brain

Adaptive trading intelligence and signal learning. Wilson Score confidence, DCA/grid recommendations, memory & sessions. v1.3.2

Signal Learning Wilson Score DCA Multiplier Chain Detection Memory
📣

Marketing Brain

@timmeck/marketing-brain

Self-learning marketing intelligence. Content strategy optimization, engagement tracking, memory & sessions. v0.5.2

Content Strategy Engagement Multi-Platform Templates Memory
⚙️

Brain Core

@timmeck/brain-core

Shared infrastructure: IPC protocol, MCP servers, REST API base, DB connection, CLI colors, memory types, cross-brain peering. v1.6.1

IPC MCP REST API Memory Types Cross-Brain

Architecture

  Claude Code          Cursor/Windsurf        REST Clients
       |                      |                      |
  MCP (stdio)           MCP (HTTP/SSE)          REST API
       |                      |                      |
  +----+----------------------+----------------------+----+
  |                    Brain Core                         |
  |  IPC Protocol  |  MCP Server  |  REST API Base      |
  |  Named Pipes   |  HTTP/SSE    |  CORS + Auth         |
  +----+----------------------+----------------------+----+
       |                      |                      |
  +----+----+          +------+------+        +------+------+
  |  Brain   |          | Trading     |        | Marketing  |
  |  :7777  |   <--->  |  Brain      |  <---> |  Brain     |
  |  :7778  |          |  :7779     |        |  :7781     |
  +---------+          |  :7780     |        |  :7782     |
       |               +------------+        +------------+
       |                      |                      |
  Never Forget          Never Forget          Never Forget
  Memories · Sessions   Memories · Sessions   Memories · Sessions
  Decisions · Tasks     Recall · Stats        Recall · Synapses
       |                      |                      |
  +----+----+          +------+------+        +------+------+
  |  SQLite  |          |   SQLite    |        |   SQLite    |
  | .brain/  |          | .trading-   |        | .marketing- |
  |  db      |          |  brain/db   |        |  brain/db   |
  +---------+          +-------------+        +-------------+

What's New in v2.2 — Never Forget

Persistent Memory
Remember preferences, decisions, facts, goals, and lessons across sessions. Key-based upsert auto-supersedes old values. brain_remember / brain_recall
Session Tracking
Auto-starts sessions per working directory via hooks. Tracks goals, summaries, and outcomes. "What was I working on?" — answered instantly.
Decision History
Record architecture decisions with alternatives and rationale. "Why did we choose Redux?" — Brain knows.
Semantic Changelog
Track what changed and why. Linked to errors and decisions via synapse network.
Task & Goal Tracking
Priorities, subtasks, full context aggregation. brain_task_context combines task + memories + decisions + changes.
Cross-Brain Peering
Brains discover and query each other over IPC named pipes. Run brain peers to see ecosystem status.

Port Map

Brain REST API
HTTP
:7777
Brain MCP HTTP
SSE
:7778
Trading Brain REST
HTTP
:7779
Trading Brain MCP
SSE
:7780
Marketing Brain REST
HTTP
:7781
Marketing Brain MCP
SSE
:7782
Marketing Dashboard
SSE
:7783

Live Ecosystem Status

🧠
Brain
checking...

:7777

💰
Trading Brain
checking...

:7779

📣
Marketing Brain
checking...

:7781