About Brain
Brain is an MCP server published by codejunkie99 in the Data category: git-backed long-term memory for AI coding agents. Conduid read 5 tools from its source: ask, doctor, log, note and ping. No package is published for it, so it installs from a source checkout.
The repository has 85 stars and 14 forks, is licensed Apache-2.0, and its last commit was on 6 Aug 2026. The latest release is v0.1.0 (27 Apr 2026): Initial Homebrew-compatible binary release for macOS. It is the only release Conduid has on record for this repository. It passes all 5 static checks Conduid ran on the repository. Its topics include agent-memory, cli, git, sqlite and tui.
Install
git clone https://github.com/codejunkie99/brainTools (5)
askSearch the user's long-term memory (git-backed event log, FTS5). Returns up to 5 matches. CALL THIS PROACTIVELY at the start of non-trivial tasks: - before picking a library, pattern, or config value - before running a migration, deploy, or schema change - when the user references prior decisions ("what did we pick for auth?") - when the user asks 'didn't we fix this before?' - when you suspect the user has already stated a preference Prefix-matching is automatic — typing `fast` finds `fastapi-users`. Multi-word queries AND together — `auth lib` finds notes with both. Hyphens and slashes split into separate tokens — `fastapi-users` matches either `fastapi` or `users`. Explicit operators (`*`, `"phrase"`, `AND`/`OR`/`NOT`, `title:x`) are respected when present. If a search returns nothing relevant, cost was ~1ms — cheap to try.doctorHealth check for the user's long-term memory. Returns schema version, event count, indexed count, index lag, and any detected issues. Call this when the user asks 'is brain working?' / 'how many notes do I have?' or when `ask` / `log` return unexpected results and you suspect index drift. Rarely needed in normal flow.logShow the user's 20 most recent long-term-memory notes, newest first. Call this when the user asks 'what have we worked on?' / 'what's recent?' / 'what did I save?' or when you need a quick orientation at the start of a session. For specific lookups use `ask` instead — `log` is for chronological browsing.noteSave a persistent note to the user's long-term memory. CALL THIS WHENEVER: - the user states a preference or convention ("I use X over Y because Z") - the user shares a decision or rationale you'd want to recall next session - you finish a non-trivial task and a lesson emerged (root cause, gotcha, reason for a choice) - the user asks you to remember something Do NOT call this for ephemeral context that only matters in the current turn. The note is written to a git-backed event log — durable across sessions and across tools (Claude Code, Cursor, Codex, etc. all share the same brain). Input is a single string. Keep it one observation, one line when possible. No need to prefix with 'Remember:' — just the content.pingPing the brain server; returns 'pong' if alive.Security checks
- ✓README presentThe repository's README runs to about 391 words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 19 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 391 words, fetched a month ago. The original in the repository is authoritative.
Read full README