Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
Memory for a Claude Code agent that survives the session: five tools, a markdown vault, all local.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"brain-core": {
"command": "uvx",
"args": [
"brain-core-mcp",
"serve"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add brain-core -- uvx brain-core-mcp serve이 서버는 실행 명령어에 값을 넣어야 해서, 설정을 복사한 뒤 직접 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"brain-core": {
"command": "uvx",
"args": [
"brain-core-mcp",
"serve"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 실행 명령어에 값을 넣어야 해서, 설정을 복사한 뒤 직접 채워 주세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"brain-core": {
"type": "stdio",
"command": "uvx",
"args": [
"brain-core-mcp",
"serve"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 xy-claude 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.4.10)은 오늘 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: Context7, Codebase Memory, Exa
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
A memory for your Claude Code agent that survives the session. One local MCP server, five tools, a markdown vault you can read, an eval that proves recall. Installs with one command.
brain-core gives a Claude Code agent a long-term memory that lives on your disk. You name the agent, you tell it who you are, and from then on every session opens with yesterday's brief, the decisions you made, the facts that changed and the corrections you gave. It remembers by writing markdown files you can open in any editor, and it finds things again through a local SQLite index plus Hindsight, a self-hosted vector memory. Nothing leaves your machine except the LLM calls you already make.
It is for one person running one or more agents on their own computer: a solo developer, a founder, anyone tired of re-explaining their project every morning. It is not a hosted service and not a team product.
Both. One Python package, three ways in:
| Piece | What it is | Who uses it |
|---|---|---|
brain serve | an MCP server that Claude Code starts from the agent's .mcp.json and that exposes five tools | the agent, every session, without you touching it |
brain command | a CLI: brain init, brain doctor, brain index, brain hindsight install, brain cron install, brain daily, brain weekly | you, once at setup, then cron |
brain_core.Agent | the Python library both of the above sit on | the eval runner, the demo script, your own scripts |
To a Claude Code user: an MCP server with five memory tools and a one-line installer. To a Python developer: a memory library with an MCP front end.
curl -fsSL https://raw.githubusercontent.com/xy-claude/brain-core/main/install.sh | bash -s -- --agent Atlas --user Alex
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 a test suite that reports hit rates.
CLAUDE.md with the agent's name and yours, five rule files (identity, doctrine, authority, memory, system), three skills, a safety hook, 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.brain_session('start'), which returns one block: today's brief, the executive state, the mental models, a recall per active mission, and a flag if the previous session crashed. It closes with brain_session('end'), which files the day's archive and rewrites state for tomorrow.brain_remember(text, kind). The text goes to the vault first, then the SQLite index, then Hindsight, then the relations table, and the reply says what each layer did. A duplicate is skipped. A fact whose value changed gets a ⚠ Fact changed banner and the old line stays, so the history is visible.brain_recall(query) searches the vault, the index and Hindsight at once, deduplicates, ranks by relevance and recency, and caps the reply at 6k tokens so it never floods the context.brain daily writes the next morning's brief and backs up Hindsight. brain weekly archives sessions older than 30 days into a monthly summary and refreshes the mental models.flowchart LR
CC[Claude Code] -->|MCP, 5 tools| B[brain serve] B --> V[(vault/ markdown)] B --> S[(brain.db SQLite + FTS)] B --> H[(Hindsight vector memory)] B --> G[(relations table)] CRON[brain daily / weekly] --> V CRON --> H
| Tool | One call does |
|---|---|
brain_session('start') | the whole start block: daily brief, executive state, mental models, a recall per mission, inbox count, and a flag if the last session crashed |
brain_recall(query, scope) | one query across every store, the Claude Code transcripts of this folder and any stores.notes folders included, deduplicated, ranked by relevance and recency, capped at 6k tokens; scope='transcript' is what past sessions said and ran, useful on day one |
brain_remember(text, kind) | writes vault → SQLite → Hindsight → graph and reports each layer. Near-duplicates are skipped; a changed value gets a ⚠ Fact changed banner and the old line stays |
brain_distill(source) | captures a URL, GitHub repo, YouTube video, PDF, file or pasted text into an immutable raw/ folder for the agent to compile |
brain_session('end') | drains the queue, closes the day's session file, rewrites state and critique, writes the clean-close marker |
Plus brain_status() for health in one call: which stores are up, how many tokens the always-loaded context costs, whether a session is open, and which decisions are waiting on you.
| You need | Why | Check |
|---|---|---|
| macOS, or Linux with systemd | the installer sets up a background service and cron | uname |
about 2 GB of disk and 10 minutes, or --lite | Hindsight ships an embedded Postgres and a CPU embedding model; --lite skips it | |
an Anthropic API key, or a Claude Code login, or --lite | Hindsight uses an LLM to reason over memories | echo $ANTHROPIC_API_KEY |
| Claude Code | the agent runs inside it; the installer adds it if missing | claude --version |
Pick two names before you run the command: the agent's name (--agent), which becomes its folder and identity, and your own (--user), which is how the agent addresses you. Both can be changed later by editing CLAUDE.md.
curl -fsSL https://raw.githubusercontent.com/xy-claude/brain-core/main/install.sh | bash -s -- --agent Atlas --user Alex
In a hurry, or no 2 GB to spare? Add --lite: vault plus SQLite full-text search, no Hindsight, installed in about a minute. Everything in the five tools works; what you give up is semantic recall over paraphrases, mental models and the weekly reflection. The recall numbers in Does it work? are measured on exactly this configuration. Upgrade any time with brain hindsight install, then uncomment the hindsight: block in brain.yaml.
curl -fsSL https://raw.githubusercontent.com/xy-claude/brain-core/main/install.sh | bash -s -- --agent Atlas --user Alex --lite
What it does, in order. Re-running skips what is already there, so after a failure you fix the cause and run the same line again.
== 1/8 Xcode command line tools present
== 2/8 Homebrew present == 3/8 uv, gh, gitleaks, node, Claude Code == 4/8 brain-core (v0.4.0) installed with uv tool == 5/8 Agent Atlas at ~/Agents/Atlas 31 files written == 6/8 Hindsight (required store) service: healthy == 7/8 Cron daily 06:07, weekly Sun 07:13 == 8/8 Doctor Health check: OK
| Step | What happens | If it stops here |
|---|---|---|
| 1 | checks for git via the Xcode command line tools | macOS opens an install dialog; finish it, then re-run |
| 2 | installs Homebrew if missing | Homebrew asks for your password itself |
| 3 | installs uv, gh, gitleaks, node and Claude Code with Homebrew | anything already present is left alone |
| 4 | installs the brain command from PyPI with uv tool | --ref v0.4.0 pins a git tag instead |
| 5 | runs brain init and writes the agent folder | an existing brain.yaml is never overwritten |
| 6 | installs Hindsight as a launchd service on 127.0.0.1:8888 | first start downloads the embedding model; give it a few minutes |
| 7 | installs brain daily and brain weekly as launchd agents | |
| 8 | runs brain doctor on the new agent | brain doctor ~/Agents/Atlas repeats it any time |
Two things the installer cannot do for you:
export ANTHROPIC_API_KEY=sk-ant-... # add it to ~/.zshrc too
brain hindsight install # copies the key into ~/.config/hindsight/env (mode 600) and restarts the service claude # sign in to Claude Code once
The installer prints a note if the key was not in your shell when it ran. If you would rather not use an API key, pass --provider claude-code and Hindsight uses your Claude Code login instead. That mode is for personal use only.
| Flag | Meaning |
|---|---|
--agent NAME | the agent's name (required) |
--user Alex | how the agent addresses you |
--dir PATH | where the agent lives, default ~/Agents/NAME |
--provider | anthropic (default), openai, or claude-code (uses your Claude Code login; personal use only) |
--api-key-env VAR | read the key from a variable other than _API_KEY |
--profile DIR | a folder copied over the generic rules last, for your own doctrine |
--lite | skip Hindsight: vault + SQLite only, upgrade later |
--dashboard | the Hindsight web UI on http://localhost:9999 |
--ref v0.4.0 | pin a git tag instead of the PyPI release |
brain adopt ~/Agents/Atlas --vault ~/Agents/Atlas/vault --bank atlas-brain --user Alex
Adds brain.yaml, the brain MCP server, the four hooks and the memory rule to an existing Claude Code folder, then indexes its facts. CLAUDE.md, skills and the vault are left alone; omit --bank to run lite.
The same one line. It needs git and curl already present. It then installs uv from astral.sh, installs Claude Code with npm when node is present, runs Hindsight as a systemd --user service, and writes the two jobs into your user crontab as tagged lines it can find and replace on re-run.
uv tool install brain-core-mcp # or: uv tool install git+https://github.com/xy-claude/brain-core@v0.4.0
brain init Atlas --path ~/Agents/Atlas --user Alex brain hindsight install # launchd on macOS, systemd --user on Linux brain cron install ~/Agents/Atlas brain doctor ~/Agents/Atlas
brain doctor ~/Agents/Atlas
It prints the agent name, the config path, row counts per table, and Health check: OK. Store health shows up in the first brain_session('start') reply and in brain_status(). The common problems:
| Symptom | Cause | Fix |
|---|---|---|
brain: command not found | the uv tool bin folder is not on your PATH | uv tool update-shell, then open a new terminal |
ERROR: no brain.yaml at ... | wrong path | pass the agent folder, or the brain.yaml inside it |
| hindsight unreachable at http://127.0.0.1:8888 | the service i
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요