X
xy-claude/brain-core
A memory for your Claude Code agent that survives the session.
更新 2026-11-15
在 GitHub 查看 ↗直链 · 无中转页
我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →
- ★ 数取值
- 0 ★ · xy-claude/brain-core · 取自 GitHub 搜索 API · (2026-11-19 20:00:48 核对)
- 来源明细
- 收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-18 · 最近见到 2026-11-20 · 共见到 3 次 · 被 3 个来源列出
- 评分构成
- 综合分 300 · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
xy-claude/brain-core;我们收录于 2026-11-18;最近见到 2026-11-20。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。README 原文(英文,未翻译) · 在 GitHub 读完整 README →
# brain-core
以下摘录自该仓库的 README(片段)
A memory for your Claude Code agent that survives the session.
## Install in one line
macOS and Linux
bash
curl -fsSL https://raw.githubusercontent.com/xy-claude/brain-core/main/install.sh | bash -s -- --agent Atlas --user Alex --desktop
Windows (PowerShell)
powershell
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/xy-claude/brain-core/main/install.ps1))) -Agent Atlas -User Alex -Desktop
Atlas is your agent's name, Alex is yours. When the installer finishes:
bash
cd ~/Agents/Atlas
claude
Both lines install the same things: the agent, Hindsight (the vector store, about 2 GB), the daily and weekly jobs, Claude Code, and the connection to the Claude desktop app. No API key is needed.
| You want | macOS and Linux | Windows |
| The quick install: about a minute, no Hindsight | add --lite | add -Lite |
| Claude Code only, not the desktop app | remove --desktop | remove -Desktop |
Every step, every flag and the common problems: Install details.
## What you get
Sessions that start where the last one ended. Each one opens with yesterday's brief, your decisions, the facts that changed and the corrections you gave.
Five tools, not thirty. One local MCP server the agent uses by itself.
Files you can read. Memory is markdown in a folder on your disk, indexed by SQLite and, optionally, by Hindsight, a self-hosted vector memory.
Nothing in someone's cloud. Memory stays on your disk. What does go out: the LLM calls Hindsight makes to reason over memories (none with --lite), one version check a day to PyPI, and the pages you ask it to distill.
Search you can check. Every result names its file and date, a weak match is reported as weak, and recall is scored against labelled answers (the labels were written by a model and have not yet been checked by a person). The numbers, including the ones that are not flattering, are in Does it work?
It is for one person running one or more agents on their own computer. It is not a hosted service and not a team product.
## The problem
Every session with a coding agent starts from zero. You explain the project again, the decision you made last week again, the thing it got wrong on Tuesday again. Memory add-ons exist, but they put your notes in someone's cloud, expose 30 tools the agent cannot choose between, and nobody shows you an eval.
brain-core is the opposite: local, five tools, markdown files you own, and an eval with labelled answers whose numbers are published below.
## How it works
1. brain init scaffolds an agent folder. It writes a CLAUDE.md with the agent's name and yours, five rule files (identity, doctrine, authority, memory, system), three skills, four hooks (a safety block, the brief at session start, capture of what you said, recall of past fixes when a command fails), an .mcp.json and an empty vault. Claude Code reads that folder as a project, so the agent knows how to use its memory from the first message.
2. brain serve runs as an MCP server inside Claude Code. It exposes exactly five tools. The agent calls them the way it calls any other tool; you never run them by hand.
3. Every session has a shape. The agent opens with brain_session('start'), which returns one block: today's brief, the executive state, the mental models, a recall for each of the top two missions, the inbox count, and a flag if the previous session crashed. In Claude Code a hook has already put the brief in context (at most 3,000 tokens of it), so the block does not repeat it. It closes with brain_session('end'), which files the day's archive and rewrites state for tomorrow.
## Install in one line
macOS and Linux
bash
curl -fsSL https://raw.githubusercontent.com/xy-claude/brain-core/main/install.sh | bash -s -- --agent Atlas --user Alex --desktop
Windows (PowerShell)
powershell
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/xy-claude/brain-core/main/install.ps1))) -Agent Atlas -User Alex -Desktop
Atlas is your agent's name, Alex is yours. When the installer finishes:
bash
cd ~/Agents/Atlas
claude
Both lines install the same things: the agent, Hindsight (the vector store, about 2 GB), the daily and weekly jobs, Claude Code, and the connection to the Claude desktop app. No API key is needed.
| You want | macOS and Linux | Windows |
| The quick install: about a minute, no Hindsight | add --lite | add -Lite |
| Claude Code only, not the desktop app | remove --desktop | remove -Desktop |
Every step, every flag and the common problems: Install details.
## What you get
Sessions that start where the last one ended. Each one opens with yesterday's brief, your decisions, the facts that changed and the corrections you gave.
Five tools, not thirty. One local MCP server the agent uses by itself.
Files you can read. Memory is markdown in a folder on your disk, indexed by SQLite and, optionally, by Hindsight, a self-hosted vector memory.
Nothing in someone's cloud. Memory stays on your disk. What does go out: the LLM calls Hindsight makes to reason over memories (none with --lite), one version check a day to PyPI, and the pages you ask it to distill.
Search you can check. Every result names its file and date, a weak match is reported as weak, and recall is scored against labelled answers (the labels were written by a model and have not yet been checked by a person). The numbers, including the ones that are not flattering, are in Does it work?
It is for one person running one or more agents on their own computer. It is not a hosted service and not a team product.
## The problem
Every session with a coding agent starts from zero. You explain the project again, the decision you made last week again, the thing it got wrong on Tuesday again. Memory add-ons exist, but they put your notes in someone's cloud, expose 30 tools the agent cannot choose between, and nobody shows you an eval.
brain-core is the opposite: local, five tools, markdown files you own, and an eval with labelled answers whose numbers are published below.
## How it works
1. brain init scaffolds an agent folder. It writes a CLAUDE.md with the agent's name and yours, five rule files (identity, doctrine, authority, memory, system), three skills, four hooks (a safety block, the brief at session start, capture of what you said, recall of past fixes when a command fails), an .mcp.json and an empty vault. Claude Code reads that folder as a project, so the agent knows how to use its memory from the first message.
2. brain serve runs as an MCP server inside Claude Code. It exposes exactly five tools. The agent calls them the way it calls any other tool; you never run them by hand.
3. Every session has a shape. The agent opens with brain_session('start'), which returns one block: today's brief, the executive state, the mental models, a recall for each of the top two missions, the inbox count, and a flag if the previous session crashed. In Claude Code a hook has already put the brief in context (at most 3,000 tokens of it), so the block does not repeat it. It closes with brain_session('end'), which files the day's archive and rewrites state for tomorrow.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/xy-claude-brain-core/)
- 来源
- awesome · https://github.com/xy-claude/brain-core
- 按领域浏览
- MCP 服务
- 收录来源
- 3 个独立来源
- 收录于
- 今天
更多 MCP 服务器
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。