Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Durable agent memory over a markdown vault: bitemporal facts, timelines, hybrid graph search.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"loreweave": {
"command": "npx",
"args": [
"-y",
"loreweave",
"--vault",
"serve",
"--mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add loreweave -- npx -y loreweave --vault serve --mcpこのサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"loreweave": {
"command": "npx",
"args": [
"-y",
"loreweave",
"--vault",
"serve",
"--mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
このサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"loreweave": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"loreweave",
"--vault",
"serve",
"--mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント lets-order-some-fries で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.39.0)がレジストリに届いたのは29 日前です。
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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Loreweave
A temporal knowledge engine for markdown vaults.
It indexes, links, remembers, forgets, and dreams — locally, over files you own.
= 22">
Quickstart · What it does · CLI · Agent memory · Benchmarks · How it works · Research
Most knowledge tools are write-only. You capture diligently, the vault grows, and six months later you can't find the thing you know you wrote — because retrieval is keyword search over prose, nothing ever resurfaces on its own, and nothing notices when what you wrote last year stopped being true.
Loreweave is the layer that fixes that. Point it at a folder of markdown (Obsidian or plain) and it builds a knowledge graph, a bitemporal fact store, and a memory model over your notes — then hands them to you through a CLI and to your AI agents through MCP.
Three guarantees, enforced by the code rather than promised:
lore/. The vault is the source of truth — the index is a cache you can delete at any time and rebuild identically (there's a test for that).git diff.npm i -g --allow-scripts=better-sqlite3 loreweave # the flag is for npm 12: see Requirements
cd ~/my-vault lore init # creates .lore/ lore index # incremental sync; one changed note: 32 ms at 1k notes, 656 ms at 20k (see Scale)
lore search "why did we drop the queue design" lore ask "what's the status of project atlas" lore dream # what's duplicated, contradicted, stale, unlinked
Zero configuration and no network: out of the box it runs on BM25 + knowledge-graph spreading activation. Add local embeddings when you want them:
// .lore/config.json
{ "embedding": { "provider": "ollama", "model": "mxbai-embed-large" } }
Pick mxbai-embed-large (670 MB) for quality or nomic-embed-text (274 MB) when disk and indexing speed matter more — required task prefixes are applied automatically for both, and for the E5, BGE and Arctic families. The measured difference between the two is in Benchmarks. No embedding provider means lexical + graph retrieval, still fully functional.
Works with non-English vaults: Chinese, Japanese and Korean text is segmented per character so it is searchable at all, and other scripts index as written.
1. Knowledge that has a timeline. Facts are bitemporal: when they were true in the world (valid_from/valid_until) and when the system learned them (recorded_at). Contradictions supersede rather than overwrite, so history stays queryable.
$ lore assert "Ledger Format" status draft --valid-from 2026-01-01
$ lore assert "Ledger Format" status final --valid-from 2026-08-01 ✓ Ledger Format :: status :: final superseded: "draft" (now valid until 2026-08-01) journal: lore/journal/2026-08-01.md
(lore and loreweave are the same binary — the global install gives you both; npx --allow-scripts=better-sqlite3 loreweave runs it without installing.)
Both time axes are queryable, which is what makes it bitemporal rather than merely historical. --as-of asks what was *true* then; --as-known-at asks what was *believed* then. They disagree exactly when you learn something after the fact — which is when you most need to reconstruct what a past decision was actually based on:
$ lore facts --subject Vendor --as-of 2024-06-01
Vendor :: reliability :: poor — outage postmortem (2024-01-01 → now)
$ lore facts --subject Vendor --as-known-at 2024-06-01 Vendor :: reliability :: good (2024-01-01 → 2024-01-01) [superseded]
Which fact wins is decided deterministically (newest valid-time, provenance as tiebreak) — never by asking a language model which one looks fresher. And the whole history of anything is one command — every value change merged chronologically with the dated prose that mentions it:
$ lore timeline Project Atlas
2024-01-15 status: planning (until 2024-09-01) 2024-02-10 • [[Project Atlas]] kicked off with a three-person crew. [kickoff.md] 2024-09-01 status: planning → active 2025-06-20 • The [[Project Atlas]] midpoint review went long but well. [review.md]
Temporal-graph systems build this by running an LLM over every document at ingestion. Here the supersede chain has been maintained all along, so it is a read-side join: no LLM, no network, same answer every time.
2. Retrieval that follows connections, not just words. Queries fuse BM25, dense similarity (when configured), and Personalized PageRank over the vault's own graph — wiki-links, shared entities, tags, co-occurrence. Two-hop neighbors surface even when they share no vocabulary with your query, and every result tells you *why*:
• data/glacier-dataset.md#@0 (0.0327) ⟨via amara osei⟩
The Glacier Dataset holds meltwater sensor readings from 2019-2024.
3. Memory with dynamics. Every passage carries FSRS-style stability and retrievability — a power-law forgetting curve. Passages that actually get *used* (not merely retrieved) decay slower; important-but-fading knowledge gets surfaced for review instead of silently rotting. Nothing is ever deleted.
4. It dreams. lore dream is an idle-time consolidation pass that reviews the vault and reports duplicate passages, contradicted facts, stale knowledge, missing links between notes that clearly belong together, and orphans. With --apply it writes a digest and a review queue — append-only, under `lore/`. It never rewrites your prose: LLM-driven whole-file rewriting is a documented failure mode — each rewrite quietly drops details until the file collapses to mush — so the architecture forbids it.
5. Questions retrieval can't answer. Counting, grouping, and date-range queries run as deterministic SQL over the fact store, not as vibes over embeddings:
$ lore count --predicate trip_to --since 2025-01-01 --until 2025-12-31
2 Japan 1 Kenya
6. Facts come from your notes, not from a form. Nobody hand-writes - [fact] X :: y :: z, so the extractor mines the conventions vaults already use:
status: shipped # frontmatter
Only unambiguous field syntax is accepted automatically. Prose formatting like - **Owner:** Priya is precise on entity notes and noisy on report notes, so it is opt-in (facts.extract: "all") — or an agent can review candidates via lore_propose_facts and assert the real ones. Judgement stays out of the index.
7. Time means when it happened, not when you saved the file. --since and --until filter on *content* time — frontmatter dates, dated filenames (2025-03-14-standup.md), or dates in the text — falling back to file mtime only when a note carries no date of its own. lore watch keeps the index current so you never have to remember to reindex.
8. Built for agents. An MCP server exposes 15 typed tools so Claude Code, Cursor, or any MCP client can use your vault as durable memory. Session continuity is a query, not a paraphrase — lore resume returns exactly what changed since the agent last connected, computed from record time:
$ lore resume
since 2026-08-11 15:55 ~ lore/journal/2026-08-11.md
± Project Atlas :: status: active → shipped
$ lore resume since 2026-08-11 15:56 nothing changed
Alternatives that summarize the previous session with an LLM inject a paraphrase; this is a deterministic diff. Full setup in Agent memory.
| Command | What it does | ||
|---|---|---|---|
lore init | create .lore/ with a default config | ||
lore index [--full] [--no-nlp] [--rebuild-similar] | incremental sync of vault → index | ||
lore search [-k] [--since] [--until] [--tag] [--folder] [--json] | hybrid retrieval with provenance | ||
lore ask | extractive answer: current facts + top passages (no LLM needed) | ||
lore facts [--subject] [--predicate] [--as-of] [--as-known-at] [--history] [--limit] | query the fact store (200 rows unless --limit says otherwise; a capped list says how many it left out) | ||
lore timeline [--since] [--until] | chronological history: fact changes merged with dated mentions | ||
lore resume [--since] | what changed since the last resume: notes, facts, supersessions | ||
lore review [--threshold] [--limit] | important-but-fading knowledge to revisit or archive | ||
lore assert [--valid-from] | record a fact (journalled, supersedes) | ||
lore invalidate | close the current fact in a slot | ||
lore count [--predicate] [--group-by] [--since] | aggregate over fact history | ||
lore capture | append a timestamped line to lore/inbox.md | ||
lore dream [--apply] | consolidation pass + optional digest/review queue | ||
lore watch | reindex automatically as the vault changes | ||
lore mark-used [anchor] | reinforce a passage that proved useful | ||
| `lore graph export --format json\ | graphml\ | dot` | export the graph |
lore doctor | health check: broken links, integrity, coverage | ||
lore stats | vault statistics and top entities | ||
lore serve --mcp | start the MCP server on stdio |
// Claude Code: .mcp.json (or claude_desktop_config.json)
{ "mcpServers": { "loreweave": { "command": "npx", "args": ["--allow-scripts=better-sqlite3", "-y", "loreweave", "--vault", "/path/to/vault", "serve", "--mcp"] } } }
The --allow-scripts argument is for npm 12; Requirements explains it, and how to clear an install npx already made without it.
| Tool | What the agent gets |
|---|---|
lore_search | hybrid retrieval with provenance and temporal filters |
lore_context_pack | one-call session context: relevant passages + current facts + recent changes |
lore_read_note | full text of a note by path |
lore_assert_fact / lore_invalidate_fact | write/close facts — journalled, superseding, never destructive |
lore_query_facts | point-in-time fact queries (asOf, asKnownAt, history) |
lore_timeline | an entity's merged fact + prose chronology |
lore_resume | exactly what changed since the agent last connected |
lore_review | important-but-fading passages worth resurfacing |
lore_aggregate_facts | count/group-by over fact history |
lore_capture | append a timestamped line to the inbox |
lore_mark_used | reinforcement signal: this passage actually helped |
lore_propose_facts | extraction candidates for the agent to review and assert |
| lore_dream_report | the consolidation
冒頭だけを表示しています。続きはリポジトリで読めます