Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Lightweight MCP for infinite agent memory. Any agent, any session, anytime.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"lore": {
"command": "npx",
"args": [
"-y",
"@jordanhindo/lore"
]
}
}
}ターミナルでこれを実行します
claude mcp add lore -- npx -y @jordanhindo/loreプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"lore": {
"command": "npx",
"args": [
"-y",
"@jordanhindo/lore"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"lore": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jordanhindo/lore"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント jordanhindo で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは5 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Any Agent. Any Session. Any Turn. Anytime.
The session you ran in Claude Code this morning, Openclaw can pull up this afternoon. The debugging thread Cursor worked through last week, Hermes can read like it was sitting right there. Lore gives all of your coding agents one shared memory: across every tool, across every session, and it never expires.
That is the part most "agent memory" misses. Other tools remember things for one agent, inside one app. Lore makes every session any of your agents has ever had searchable by any other agent, anytime. What Codex figured out, Claude Code knows. What you solved on Tuesday is one search away on Friday, in whatever agent you happen to be in.
And yes, it survives compaction. When a context window fills up and compacts, the work isn't gone, it's sitting right there on disk. Lore just makes it reachable again, fully searchable, right where your agents work. Local, private, and yours forever.
https://github.com/user-attachments/assets/b5c0f077-47da-4502-bf78-2ce08abf034f
*Inspired by RLM*
This release turns Lore from a search box over old transcripts into a small workflow substrate for agents that have to continue real work:
lore status --json reports both schemaVersion and supportedSchemaVersion, so stale global installs are obvious before sync, index, or push writes fail.lore status tells an agent whether a source/project window is ready, missing, stale, or possibly unsynced before it writes a brief or handoff from incomplete memory.lore sync indexes a detected active transcript tree incrementally. This covers codex (~/.codex/sessions, with archived sessions as a compatibility fallback) and claude-code (~/.claude/projects) without forcing agents to remember raw paths.lore-recall, lore-brief, lore-handoff, and lore-dev-verification alongside the base lore skill. They include references, examples, eval specs, validators, and committed test reports.npm run package:smoke builds, packs, unpacks, and validates the real tarball so README, help text, skill folders, executable mode, and package metadata are checked together.Already installed? Refresh the global command before testing any schema or sync behavior:
npm install -g @jordanhindo/lore@latest
lore help lore status --json
If your shell cached the old path, open a new terminal or run hash -r and retry lore help.
getUserById, foo.bar.ts, and trust-metadata stay findable as whole words, not shredded into noise.~/.lore/lore.db on your machine. Nothing phones home. Ever.Lore sets itself up. Drop the blurb below into any coding agent. It installs Lore, indexes your own history, and proves search works before it calls itself done. It is server-free by default, with no MCP registration required.
Set up Lore (full-fidelity session memory) for yourself. Install it with
npm install -g @jordanhindo/lore@latest, then run lore setup to index my history and self-verify. Prove it by running lore search for a word from a past session and showing me a hit. The MCP server is optional: only register it (lore serve) if you specifically want MCP tool calls instead of the CLI; if you do, tell me the reload step I have to do.
The deterministic recipe the agent follows lives in AGENT-ONBOARD.md, which keeps MCP registration as an optional step. Prefer the skill instead? npx skills add jordanhindo/lore (below) drops in the self-bootstrapping lore skill, which does all of this the next time you ask it to recall something.
Recommended: install the skill. It sets up the rest.
npx skills add jordanhindo/lore
This drops the bundled `lore` skill into your agent (~/.claude/skills/). The skill is self-bootstrapping: the next time you ask your agent to "remember" / "recall" something or to "set up lore", it reads its own references/setup/index.md, installs the lore CLI, indexes your history, and proves search works. No MCP server required. One command installs the whole thing.
Or install the CLI directly:
npm install -g @jordanhindo/lore@latest # puts the `lore` command on your PATH
Requires Node 22+. That's the whole install. lore setup takes it from here. If npm install chokes on better-sqlite3, or lore isn't found afterward, the Troubleshooting section has you covered, Windows included.
The global lore command is just an npm binary shim. If you were running an old package, update it before you trust lore sync, lore index, or lore push:
npm install -g @jordanhindo/lore@latest
lore help lore status --json
If lore status --json shows a store schemaVersion higher than supportedSchemaVersion, your command is still stale. Reinstall the package, open a fresh shell if needed, then rerun lore status --json.
Cloning is for contributors, or for writing a new adapter (which needs the source tree):
git clone https://github.com/jordanhindo/lore && cd lore
npm install npm run build npm link # optional: puts lore on your PATH
lore setup is the fast path. It sniffs out the harnesses on your machine, indexes each one, checks that search works, and prints how to wire Lore into your MCP client.
lore setup
Want finer control? Point lore index at a transcript directory. For Claude Code that's ~/.claude/projects:
lore index ~/.claude/projects # primary transcripts
lore index ~/.claude/projects --subagents # include subagent transcripts lore index ~/.claude/projects --no-redact # keep credentials verbatim (see Privacy)
Other harnesses come in with --source. Codex, openclaw, Cursor, and Hermes are all built in:
lore index ~/.codex/sessions --source codex
lore index ~/.openclaw/sessions --source openclaw lore index ~/.cursor --source cursor # reads Cursor's SQLite state store lore index ~/.hermes --source hermes # reads Hermes's SQLite state store
Cursor and Hermes keep their history in a SQLite database rather than JSONL files; point lore index at the directory and the adapter reads the store directly. Current sampled Cursor rows expose toolResults fields but only empty arrays, so the Cursor adapter indexes text only and fabricates no tool calls.
Re-run any of these whenever. Unchanged files get skipped, so repeat runs are cheap.
Some harnesses write transcript trees instead of emitting Lore-compatible hook payloads. For manual active-session catch-up, use the incremental sync command:
lore sync codex
lore sync claude-code lore sync hermes
codex sync indexes ~/.codex/sessions incrementally, with ~/.codex/archived_sessions only as a compatibility fallback. claude-code sync indexes ~/.claude/projects incrementally, including subagent transcripts. hermes sync indexes ~/.hermes incrementally.
For cron, launchd, Task Scheduler, or any unattended timer, use the bundled lock-protected wrapper instead of raw lore sync so multiple source jobs do not write ~/.lore/lore.db at the same time:
./scripts/lore-sync-once.sh codex
./scripts/lore-sync-once.sh claude-code ./scripts/lore-sync-once.sh hermes
You don't need the MCP server to use Lore. The lore command opens the SQLite store directly, so search, read-back, navigation, and writing all work server-free anywhere you have a shell. The MCP server below is just one more reader of the same store; nothing here depends on it.
The loop is always the same: drill down, never dump. A session can be millions of tokens, so you never page a whole one into context. Search broadly, take the real ids it hands back (you never invent one), then spend them:
lore search "fts tokenizer" --relevant # → hits, each leading with a message + session id
lore get --full # read that one message in full lore context # 5 before / 5 after, anchor flagged lore session --around # jump to that spot, read forward
Other commands round out the loop: lore status (freshness/health), lore sessions (recent conversations), lore timeline (activity by day/hour), and lore push (add a live session from a JSON batch on stdin). Add --json to any of them for a machine-readable envelope. Every search filter the MCP tools accept works here too (--project, --source, --session, --branch, --agent, --skill, --tool, --role, --model, --since, --until, --limit).
Before asking for a current brief or handoff, check freshness:
lore status --json --source codex --project "$PWD"
schemaVersion and supportedSchemaVersion tell you whether this build can write to the store. Read-only search may still work against a newer compatible store, but sync/index/push only run when the installed build supports the store schema. In a source checkout, run npm run build before trusting the global lore shim. For npm installs, run npm install -g @jordanhindo/lore@latest and check lore status --json again.
CLI ⇄ MCP parity is proven, not asserted. Each lore … --json envelope is byte-for-byte identical to the matching MCP tool's response, verified by a parity test suite that runs both paths against one shared fixture store. So the CLI is a faithful stand-in for the server:
| task | CLI | MCP tool | --json envelope |
|---|---|---|---|
| keyword search | lore search | search_memory | { count, hits } |
| recency-blended search | lore search --relevant | find_relevant | { count, hits } |
| one message | lore get | get_message | detail obj / { error, message_id } |
| neighbors | lore context | get_context | { messages } |
| session page | lore session | get_session | { messages, nextCursor } |
| session list | lore sessions | list_sessions | { count, sessions } |
| activity | lore timeline | timeline | { buckets } |
| status/freshness | lore status | status | status envelope |
| write | lore push | push | result / { error, detail } |
The bundled `lore` skill (skills/lore/) teaches an agent to drive this whole loop: when to search, which id to spend, and how to drill down instead of dumping. It's self-bootstrapping: its references/setup/index.md covers getting history indexed in the first place (install, index/backfill a harness, write an adapter, or push), so one npx skills add jordanhindo/lore installs the whole thing.
The low-level skills/lore/ skill teaches agents how to install Lore, index transcripts, search memory, drill into message ids, and use the MCP server when a harness supports it. The workflow pack sits above that substrate:
lore:recall maps to `skills/lo冒頭だけを表示しています。続きはリポジトリで読めます