Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Cross-agent memory over MCP: hybrid recall, knowledge graph, private/shared visibility, redaction.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"lore": {
"command": "uvx",
"args": [
"lore-sdk",
"lore-memory"
]
}
}
}ターミナルでこれを実行します
claude mcp add lore -- uvx lore-sdk lore-memoryプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"lore": {
"command": "uvx",
"args": [
"lore-sdk",
"lore-memory"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"lore": {
"type": "stdio",
"command": "uvx",
"args": [
"lore-sdk",
"lore-memory"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント agentkitai で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.4.2)がレジストリに届いたのは4 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには: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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Your AI agents remember everything. Automatically.
Lore is a cross-agent memory system that stores, connects, and retrieves knowledge across any AI agent — without code changes. Install a hook, and relevant memories appear in every prompt. No agent cooperation needed.
User: "What API rate limits should I use?"
── Lore hook fires (20ms) ────────────────────────────── 🧠 Relevant memories from Lore:
────────────────────────────────────────────────────────
Agent sees memories + prompt → responds with full context
remember · recall · forget · list_memories · stats
Store and retrieve memories across any AI agent via MCP tools, REST API, or Python/TypeScript SDK. Semantic search with tier-based TTL, temporal decay, and automatic PII redaction.
graph_query · entity_map · related · extract_facts · list_facts · conflicts
Entities and relationships auto-extracted from memories. Hop-by-hop graph traversal surfaces connected knowledge that pure vector search misses. Atomic fact extraction with automatic conflict detection.
supersede · list_at_time · facts_at_time · timeline · provenance · supersession_chain · consolidate_memories
History without deletion. Memories and facts are corrected by *superseding* them, never deleting — every change appends to an auditable trail. Lore tracks two independent time axes (bi-temporal): valid-time (when a fact was true in the world) and system-time (when Lore learned it), so you can ask "what was canonical — or true about X — *as of* date Y?". list_at_time / facts_at_time answer as-of queries, timeline walks chronologically adjacent events, and provenance / supersession_chain expose the full correction lineage for a memory or fact.
Web UI at `/ui/`
Interactive D3 force-directed graph of your knowledge base. Entity detail panels, topic clusters, search, and filtering. Runs in the browser — no install required.
Auto-snapshot + auto-inject — zero agent cooperation
The Session Accumulator automatically captures conversation context and injects relevant session history into every prompt. Deterministic (no LLM needed). Works via hooks — the agent never knows Lore exists.
recent_activity
Session-aware summary of what happened recently across all projects. Gives agents continuity between conversations without manual context-passing.
topics · topic_detail
Auto-generated concept hubs that cluster related memories, entities, and facts around recurring themes. See everything Lore knows about a topic in one view.
export · snapshot · snapshot_list · save_snapshot
Full data export in JSON and Markdown formats. Obsidian-compatible output for browsing your knowledge graph in a PKM tool. Snapshots for backup and migration.
review_digest · review_connection · lore review list --sort risk
Review discovered knowledge graph connections with computed risk scores. Batch approve/reject with notes, full audit trail of decisions. Sort by risk, confidence, or age.
lore bootstrap
Single command that validates Python version, Postgres, pgvector, Docker, runs migrations, and verifies server health. Use --fix to auto-remediate missing dependencies.
lore setup claude-code · lore setup openclaw · lore setup cursor · lore setup codex
One-command hook installation for all major AI coding agents. Auto-retrieval injected into every prompt — no code changes needed. Includes --validate, --test-connection, and --dry-run flags.
lore slo create · lore slo status · GET /v1/slo/status
Define SLO targets for retrieval latency (p50/p95/p99) and hit rate. Background checker evaluates every 60s and fires webhook or email alerts on breach. Time-series API for charting.
lore profiles list · GET /v1/profiles · ?profile=coding
Named retrieval profiles stored in Postgres. Presets for coding (recency-biased), incident response (graph-heavy), and research (long-term). Select per-request or set as API key default.
lore policy create · lore restore-drill · GET /v1/policies/compliance
Declarative lifecycle policies with per-tier retention windows, cron-based snapshot schedules, and restore drills with timing metrics. Compliance dashboard across all policies.
lore workspace create · lore workspace switch · lore audit
Workspace isolation within orgs. Scoped API keys, member management with RBAC roles, and a full audit log of every action (memory.create, key.revoke, etc.).
lore plugin create · lore plugin list · lore plugin reload
Extend Lore with plugins discovered via Python entry_points. Five lifecycle hooks (on_remember, on_recall, on_enrich, on_extract, on_score), hot-reload, scaffold CLI, and test harness.
suggest · lore suggest --context "..." · GET /v1/recommendations
Surface relevant memories before explicit queries. Multi-signal scoring (context similarity, entity overlap, temporal patterns, access patterns) with human-readable explanations and a feedback loop.
GET /v1/analytics/retrieval · Prometheus metrics
Track hit rate, score distribution, memory utilization, and latency. Know whether memories are actually helping your agents.
git clone https://github.com/agentkitai/lore.git
cd lore docker compose up -d
Starts Postgres with pgvector and the Lore server on http://localhost:8765.
pip install "lore-sdk[server,solo]"
lore serve # starts on port 8765
curl http://localhost:8765/v1/memories
One line — no install — drops Lore into any MCP client (Claude Code, Cursor, VS Code, Codex, Claude Desktop):
// Claude Code: .mcp.json · Claude Desktop: claude_desktop_config.json
{ "mcpServers": { "lore": { "command": "uvx", "args": ["--from", "lore-sdk[mcp]", "lore-memory"] } } }
Already installed (pip install lore-sdk[mcp])? Use "command": "lore-memory" (or lore mcp). Per-client guides are in Multi-Agent Setup below; lore integrate --platform writes the config for you.
Option A: Auto-retrieval hook (recommended)
lore setup claude-code
This installs a UserPromptSubmit hook that auto-injects relevant memories into every prompt.
Option B: MCP tools
Add to ~/.claude/settings.json:
{
"mcpServers": { "lore": { "command": "lore", "args": ["mcp"], "env": { "LORE_API_URL": "http://localhost:8765", "LORE_API_KEY": "your-api-key" } } } }
lore setup openclaw
Installs a message:preprocessed hook for auto-retrieval. Memories appear in context before every agent response.
lore setup cursor
Installs a beforeSubmitPrompt hook. Also add MCP config to .cursorrules:
{
"mcpServers": { "lore": { "command": "lore", "args": ["mcp"], "env": { "LORE_API_URL": "http://localhost:8765", "LORE_API_KEY": "your-api-key" } } } }
lore setup codex
Installs a beforePlan hook. Add MCP config:
{
"mcpServers": { "lore": { "command": "lore", "args": ["mcp"], "env": { "LORE_API_URL": "http://localhost:8765", "LORE_API_KEY": "your-api-key" } } } }
Auto-retrieval works with any system that can make an HTTP call before sending a prompt:
curl -s "http://localhost:8765/v1/retrieve?query=your+prompt&limit=5&min_score=0.3&format=markdown" \
-H "Authorization: Bearer $LORE_API_KEY"
| Tool | Description |
|---|---|
remember | Store a memory with type, tier, tags, metadata |
recall | Semantic search with temporal/graph-enhanced retrieval |
forget | Delete a memory by ID |
list_memories | List memories with filtering |
stats | Memory statistics (total, by type/tier) |
upvote_memory | Boost memory ranking |
downvote_memory | Lower memory ranking |
graph_query | Hop-by-hop knowledge graph traversal |
entity_map | List entities (optional D3 format) |
related | Find related memories/entities |
extract_facts | Extract (subject, predicate, object) triples |
list_facts | List active facts |
conflicts | List detected fact conflicts |
classify | Intent, domain, emotion classification |
enrich | LLM-powered metadata extraction |
consolidate | Merge duplicate/related memories |
ingest | Accept content from external sources |
github_sync | Sync GitHub repo data |
check_freshness | Verify memory freshness against git |
as_prompt | Export memories formatted for LLM injection |
add_conversation | Extract memories from conversation messages |
recent_activity | Recent memory activity summary |
topics | List auto-detected recurring topics |
topic_detail | Deep dive on a topic (memories, entities, timeline) |
export | Export all data to JSON |
snapshot | Create data backup |
snapshot_list | List available snapshots |
save_snapshot | Save session snapshot |
review_digest | Get pending connections for review |
review_connection | Approve/reject a pending connection |
on_this_day | Memories from same date across years |
suggest | Proactive memory recommendations based on session context |
remember_observation | Record a structured observation from a session |
search | Progressive-disclosure compact index (id, title, score) |
get_memories | Fetch full payloads for one or more memory IDs |
timeline | Chronologically adjacent events around an anchor memory |
promote_memory | Share a private memory with the team (private→shared) |
demote_memory | Unshare a memory, making it private again |
supersede | Mark a memory as superseded by a newer one |
list_at_time | List memories that were canonical at a given time |
consolidate_memories | Create a merged memory and supersede all sources |
provenance | Full lineage for a memory (sources + supersession chain) |
supersession_chain | Supersession audit chain for a memory |
facts_at_time | Facts about an entity that were valid at a given time |
supersede_fact | Supersede a fact with a newer one (never deletes) |
fact_supersession_chain | Correction trail for a fact |
# Memory ope冒頭だけを表示しています。続きはリポジトリで読めます