Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
Local-first semantic memory for MCP agents. Recall, remember, forget, echo, drift, stats over stdio.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"subconscious": {
"command": "uvx",
"args": [
"subconscious-mcp"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add subconscious -- uvx subconscious-mcp프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"subconscious": {
"command": "uvx",
"args": [
"subconscious-mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"subconscious": {
"type": "stdio",
"command": "uvx",
"args": [
"subconscious-mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검
레지스트리 이름이 GitHub 계정 vishaltorc 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.2.0)은 5개월 전 레지스트리에 올라왔어요.
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, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Local-first semantic memory for MCP agents. Recall, remember, forget, echo, drift detection, stats over stdio.
The server runs as an MCP stdio process on your machine. It exposes six tools that let an agent ask "have I seen this task before?" and, if so, get the previous answer back in milliseconds without re-running the work. Inspired by bat echolocation: even a recall miss reports how close the nearest memory was, an echo tool senses nearby memories without retrieving answers, and every recall outcome is logged so drift_report can flag cached answers that are absorbing too broad a family of queries (first-fill semantic drift).
Embeddings come from sentence-transformers/all-MiniLM-L6-v2 (384-dim, runs on CPU). Storage is a persistent local ChromaDB collection. No data leaves your machine.
# From PyPI:
pip install subconscious-mcp
git clone https://github.com/vishaltorc/subconscious-mcp cd subconscious-mcp pip install -e ".[dev]"
After install you can run the server from anywhere:
subconscious-mcp --help
The first time a tool is called, the embedding model (~80MB) is downloaded into the local Hugging Face cache. Subsequent starts are fast.
Edit your config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd an mcpServers entry:
{
"mcpServers": { "subconscious-mcp": { "command": "subconscious-mcp", "args": [] } } }
If subconscious-mcp isn't on Claude Desktop's PATH, use the absolute path printed by which subconscious-mcp, e.g. "command": "/Users/you/.local/bin/subconscious-mcp".
Then quit and restart Claude Desktop. The new tools appear under the 🔌 indicator.
Option A. Register from the CLI (recommended):
claude mcp add subconscious-mcp -- subconscious-mcp
Option B. Edit ~/.claude.json (or your project's .mcp.json) and add:
{
"mcpServers": { "subconscious-mcp": { "command": "subconscious-mcp", "args": [], "type": "stdio" } } }
Reload the Claude Code session and the six tools become available.
A copy-pasteable file is in examples/claude_desktop_config.json and examples/claude_code_config.json.
Beyond the explicit tools, subconscious-mcp can capture your work automatically through Claude Code hooks. Three commands get you there:
pip install subconscious-mcp
claude mcp add subconscious-mcp -- subconscious-mcp subconscious-mcp install-hooks
install-hooks edits your Claude Code settings.json (default ~/.claude/settings.json) to register two hooks: a SessionStart hook and a Stop hook. It backs up the existing file first (settings.json.bak. ), writes atomically, and is idempotent: running it again when both hooks are already present is a no-op. Pass --dry-run to print the planned change without writing, and --settings to target a different settings file.
What gets captured: when a session ends, the Stop hook reads the tail of the transcript, extracts the last user-request to assistant-outcome exchange, redacts secrets (best effort, see Privacy), and writes one episode per session into ~/.subconscious-mcp/data/context.db (a plain SQLite inbox). The hooks never load the embedding model or ChromaDB; the MCP server embeds and ingests pending episodes at its next startup.
What SessionStart injects: at the start of a session it prints this project's most recent episodes (up to 3) plus a one-line nudge to call recall before starting non-trivial work. Claude Code absorbs that text as context.
Capture is per-project automatically. The namespace is derived from the git repository root folder name (falling back to the current directory basename), so each project's episodes and curated memory stay isolated without any configuration. Set namespace explicitly in config to override.
Everything stays on your machine. Episodes captured by the ambient hooks live in ~/.subconscious-mcp/data/context.db, a plain SQLite file you can inspect with any SQL client:
sqlite3 ~/.subconscious-mcp/data/context.db 'SELECT ts, namespace, substr(content,1,80) FROM episodes ORDER BY ts DESC LIMIT 10'
Before an episode is written, the captured text passes through a best-effort redactor. It currently masks these shapes:
sk- keys (including sk-ant-, sk-proj-)pypi-)ghp_, gho_, ghu_, ghs_, ghr_) and fine-grained tokens (github_pat_)xoxb-, xoxa-, xoxp-, xoxr-, xoxs-)AKIA...)Bearer authorization tokens-----BEGIN ... PRIVATE KEY-----)KEY=value env assignments where the name ends in KEY / TOKEN / SECRET / PASSWORD / PASSWD (the value is masked, the name is kept)Redaction is best effort, not a guarantee. Known gaps it does NOT catch: AWS secret access keys (bare 40-char strings), bare JWTs outside a Bearer prefix, passwords inside connection strings (postgres://user:pass@host), Stripe secret keys (sk_live_ / sk_test_, underscore form), and npm tokens. Treat capture as a convenience, not a vault.
To turn capture off entirely, set capture_enabled=false in config or SUBCONSCIOUS_CAPTURE_ENABLED=false in the environment. The Stop hook then captures nothing.
To wipe everything subconscious-mcp has stored (curated memory, episodes, echo logs, server logs) in one line:
rm -rf ~/.subconscious-mcp
recall(task, threshold=0.85, top_k=1)Semantic search for a previously remembered task.
| arg | type | default | meaning |
|---|---|---|---|
task | str | (required) | the task description to look up |
threshold | float | 0.85 | minimum cosine similarity for a hit |
top_k | int | 1 | how many candidates to consider |
tags | list[str] | null | optional; candidate must share at least one |
Returns:
{
"hit": true, "similarity": 0.91, "answer": "...", "task_text": "...", "entry_id": "uuid", "stored_at": 1731000000.0, "tags": ["..."] }
On a miss, hit is false, answer is null, and similarity is the best similarity observed in `top_k`. Callers can see how close they came.
When tags is supplied, the miss similarity reflects the best match within the fetched window intersected with the tag filter, and can be 0.0 even when a tag-matching entry exists beyond the window (raise top_k to widen the window).
remember(task, answer, tags=[], ttl_seconds=null, skip_if_duplicate=false)Persist a (task, answer) pair. Returns {stored, entry_id, embedding_dim}.
ttl_seconds=null means never expire. Pass an integer to have the entry filtered out of future recalls after that many seconds.
Before storing, the nearest curated entry is probed. If its cosine similarity falls in the near-duplicate band [0.75, 0.92], the result also carries warning="near_duplicate" with nearest_task, nearest_similarity, and nearest_entry_id (a write-time first-fill drift guard that complements drift_report). The entry is still stored. Pass skip_if_duplicate=true to skip the write instead, in which case the result is {stored: false, ...} with the same warning fields. Ambient capture episodes never trigger the warning.
The band [0.75, 0.92] is deliberately independent of default_threshold (0.85), so it straddles the recall threshold: the warning fires on neighbours that recall might or might not return. Similarities above 0.92 are treated as update-territory (basically the same task) and are intentionally not warned. To act on a warning, recall the nearest_entry_id (or look it up) to inspect the existing entry, then decide whether to merge, update, or proceed.
echo(task, top_k=5)Sonar ping: return the nearest non-expired entries without their answers.
| arg | type | default | meaning |
|---|---|---|---|
task | str | (required) | the task description to ping with |
top_k | int | 5 | how many nearest entries to report |
tags | list[str] | null | optional; candidate must share at least one |
Returns:
{
"count": 47, "echoes": [ {"entry_id": "uuid", "similarity": 0.91, "task_text": "...", "stored_at": 1731000000.0, "tags": ["..."], "kind": "memory"} ] }
Use it to sense whether a task sits in known territory before committing to a recall. Because no answer is returned, an echo can never propagate a stale or wrong cached answer. Echo calls don't count toward the hit rate and aren't written to the echo log.
Each echo carries a kind: "memory" for curated remember entries, "episode" for ingested ambient capture. Episodes surface in echo but never in recall answers.
drift_report(min_hits=3, min_spread=0.08)Analyze the echo log for first-fill semantic drift candidates: entries whose recall hits span a wide similarity band across distinct query phrasings. A wide band means one cached answer is absorbing a broad family of queries that may carry subtly different interpretations (see validation/results.md for the failure mode this detects).
| arg | type | default | meaning |
|---|---|---|---|
min_hits | int | 3 | minimum recorded hits before an entry is considered |
min_spread | float | 0.08 | minimum (max - min) hit-similarity band to flag |
Returns:
{
"analyzed_recalls": 412, "entries_with_hits": 38, "candidates": [ { "entry_id": "uuid", "task_text": "Pull out all digits...", "still_stored": true, "hits": 5, "distinct_queries": 4, "similarity_min": 0.82, "similarity_max": 0.94, "similarity_spread": 0.12 } ] }
Flagged entries are review candidates: forget them, split them into more specific entries, or raise the recall threshold for that family.
forget(entry_id)Delete the entry with this id. Returns {"forgotten": true} if it existed, else false.
stats()Returns {"total_entries", "last_hit_at", "hit_rate_last_100"}. hit_rate_last_100 is a sliding window over the most recent 100 recall calls. Useful to see whether memory is actually paying off.
Configuration is resolved in priority order:
~/.subconscious-mcp/config.json| key | default | env var |
|---|---|---|
storage_dir | ~/.subconscious-mcp/data | SUBCONSCIOUS_STORAGE_DIR |
embedding_model | all-MiniLM-L6-v2 | SUBCONSCIOUS_EMBEDDING_MODEL |
default_threshold | 0.85 | SUBCONSCIOUS_DEFAULT_THRESHOLD |
default_ttl_seconds | null | |
log_level | INFO | SUBCONSCIOUS_LOG_LEVEL |
echo_log_enabled | true | SUBCONSCIOUS_ECHO_LOG_ENABLED |
echo_log_max_bytes | 5000000 | SUBCONSCIOUS_ECHO_LOG_MAX_BYTES |
namespace | default | SUBCONSCIOUS_NAMESPACE |
| capture_enabled | true | `SUBCONSC
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요