Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Agent memory on your own Postgres that flags superseded facts and abstains instead of guessing.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
RECALL_SERVING_DSN, RECALL_TENANT, RECALL_TRUST_MODE, RECALL_EMBEDDER, RECALL_TABLE, RECALL_MCP_TOOLS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"re-call": {
"command": "uvx",
"args": [
"recall-rag"
],
"env": {
"RECALL_SERVING_DSN": "your-value",
"RECALL_TENANT": "your-value",
"RECALL_TRUST_MODE": "your-value",
"RECALL_EMBEDDER": "your-value",
"RECALL_TABLE": "your-value",
"RECALL_MCP_TOOLS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add re-call --env RECALL_SERVING_DSN=your-value --env RECALL_TENANT=your-value --env RECALL_TRUST_MODE=your-value --env RECALL_EMBEDDER=your-value --env RECALL_TABLE=your-value --env RECALL_MCP_TOOLS=your-value -- uvx recall-rag运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"re-call": {
"command": "uvx",
"args": [
"recall-rag"
],
"env": {
"RECALL_SERVING_DSN": "your-value",
"RECALL_TENANT": "your-value",
"RECALL_TRUST_MODE": "your-value",
"RECALL_EMBEDDER": "your-value",
"RECALL_TABLE": "your-value",
"RECALL_MCP_TOOLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"re-call": {
"type": "stdio",
"command": "uvx",
"args": [
"recall-rag"
],
"env": {
"RECALL_SERVING_DSN": "your-value",
"RECALL_TENANT": "your-value",
"RECALL_TRUST_MODE": "your-value",
"RECALL_EMBEDDER": "your-value",
"RECALL_TABLE": "your-value",
"RECALL_MCP_TOOLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
RECALL_TENANT envRECALL_TRUST_MODE envRECALL_EMBEDDER envRECALL_TABLE envRECALL_MCP_TOOLS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 GiulioDER 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:RECALL_SERVING_DSN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.14.0)于42天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 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、图片和脚本已被移除。链接会离开本站。
Memory that abstains instead of guessing.
RE-call is agent memory in a local SQLite file or your own PostgreSQL with pgvector. Each result carries a verdict, confidence, and provenance, while unsupported questions are refused instead of answered by the nearest match.
What it is · For agents · How it works · Start with Lite · Install and integrate
RE-call is agent memory in a local SQLite file or your own PostgreSQL database. It indexes source documents and keeps validity, lineage, confidence, and provenance attached to every result.
Vector search returns nearby text. RE-call also checks whether that text is current, supported, and trustworthy enough for the query. A superseded claim is marked superseded; a result that does not clear the calibrated trust gate becomes ABSTAIN with a reason. Declared supersession makes the current memory win over stale but similar memory.
The default path uses local embeddings plus hybrid dense and keyword retrieval. PostgreSQL uses its full text search; Lite uses SQLite FTS5. It needs no memory-layer LLM call. Additional retrieval, reasoning, and structured-fact modules are optional.
For the agent reading this, RE-call for agents explains the experience loop and how to use persistent memory as a trustworthy past rather than an unverified scratchpad.
On PostgreSQL, RE-call builds an immutable, calibrated generation and serves queries against that pinned generation. Lite binds calibration to its single-file corpus. Every search, including the reasoning and fact paths, goes through trusted search and the trust gate.
The diagram is interactive on the project site: click any box to see the source lines it describes. A step by step view of one recall_search call follows a single search through its refusal, abstention and answer paths. Both are generated from the sources in docs/diagrams.
Text version of the diagram, with each box linked to its file
Solid arrows are the default path. Dashed arrows are opt in or reasoning only: the reranker, graph expansion, and the answer provider. Each box links to the file that implements it.
flowchart LR
subgraph group_entry["Entry points"] node_cli["recall CLI commands"] node_mcp["MCP server tool handlers"] node_sdk["Agent SDK in process"] end
subgraph group_build["Generation build"] node_manifest["Source manifest immutable input"] node_generations["Generation manager build, validate, promote"] node_parser["Parse and chunk documents to chunks"] node_embedder["Embedder local or hosted API"] node_graph_build["Semantic graph entities, relations"] node_calibration["Calibration certified threshold"] end
subgraph group_serve["Trusted retrieval"] node_trusted_search["Trusted search query orchestrator"] node_gen_store["Generation store pinned generation"] node_retriever["Hybrid retriever dense, full text, RRF"] node_reranker["Reranker opt in"] node_trust_gate{{"Trust gate verdict or ABSTAIN"}} end
subgraph group_reason["Reasoning"] node_reasoner["Reasoning query evidence bundle, plan"] node_graph_expansion["Graph expansion one hop, before trust"] node_answer["Answer provider opt in LLM"] end
subgraph group_facts["Provenance and facts"] node_provenance["Provenance controller fact review"] node_ledger["Fact ledger append only"] end
node_caller(("Agent or user caller")) node_postgres[("PostgreSQL + pgvector generations, chunks, graph")]
node_caller -->|"runs"| node_cli node_caller -->|"tool calls"| node_mcp node_caller -->|"imports"| node_sdk node_sdk -->|"reuses handlers"| node_mcp node_cli -->|"generation build"| node_generations node_mcp -->|"ingest uploads"| node_generations node_generations -->|"reads sources"| node_manifest node_generations -->|"parses, chunks"| node_parser node_generations -->|"embeds chunks"| node_embedder node_generations -->|"builds graph"| node_graph_build node_generations -->|"requires certified"| node_calibration node_generations -->|"writes generation"| node_postgres node_graph_build -->|"writes graph"| node_postgres node_cli -->|"calibrate, publish"| node_calibration node_calibration -->|"stores threshold"| node_postgres node_cli -->|"search"| node_trusted_search node_mcp -->|"search, evidence"| node_trusted_search node_trusted_search -->|"pins generation"| node_gen_store node_gen_store -->|"reads active"| node_postgres node_trusted_search -->|"retrieves"| node_retriever node_retriever -->|"embeds query"| node_embedder node_retriever -->|"dense, full text"| node_gen_store node_retriever -.->|"reorders"| node_reranker node_trusted_search -->|"evaluates"| node_trust_gate node_mcp -->|"reasoning query"| node_reasoner node_reasoner -->|"retrieves"| node_trusted_search node_trusted_search -.->|"expands pre trust"| node_graph_expansion node_graph_expansion -.->|"same generation graph"| node_postgres node_reasoner -.->|"cited answer"| node_answer node_mcp -->|"apply fact"| node_provenance node_provenance -->|"fresh search"| node_trusted_search node_provenance -->|"appends"| node_ledger node_ledger -->|"stores"| node_postgres
click node_cli "https://github.com/GiulioDER/RE-call/blob/master/recall/cli.py" click node_mcp "https://github.com/GiulioDER/RE-call/tree/master/recall_mcp" click node_sdk "https://github.com/GiulioDER/RE-call/blob/master/recall_agent/memory.py" click node_manifest "https://github.com/GiulioDER/RE-call/blob/master/recall/manifest.py" click node_generations "https://github.com/GiulioDER/RE-call/blob/master/recall/generations.py" click node_parser "https://github.com/GiulioDER/RE-call/blob/master/recall/document.py" click node_embedder "https://github.com/GiulioDER/RE-call/blob/master/recall/embeddings.py" click node_graph_build "https://github.com/GiulioDER/RE-call/blob/master/recall/semantic_graph/_build.py" click node_calibration "https://github.com/GiulioDER/RE-call/blob/master/recall/calibration_v2.py" click node_trusted_search "https://github.com/GiulioDER/RE-call/blob/master/recall/trust.py" click node_gen_store "https://github.com/GiulioDER/RE-call/blob/master/recall/generation_store.py" click node_retriever "https://github.com/GiulioDER/RE-call/blob/master/recall/retriever.py" click node_reranker "https://github.com/GiulioDER/RE-call/blob/master/recall/rerank.py" click node_trust_gate "https://github.com/GiulioDER/RE-call/blob/master/recall/trust.py" click node_reasoner "https://github.com/GiulioDER/RE-call/blob/master/recall/reasoning.py" click node_graph_expansion "https://github.com/GiulioDER/RE-call/blob/master/recall_mcp/graph_expansion.py" click node_answer "https://github.com/GiulioDER/RE-call/blob/master/recall/answer_provider.py" click node_provenance "https://github.com/GiulioDER/RE-call/blob/master/recall/provenance_controller.py" click node_ledger "https://github.com/GiulioDER/RE-call/blob/master/recall/fact_ledger.py" click node_postgres "https://github.com/GiulioDER/RE-call/tree/master/recall/migrations"
classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554 classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337 classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81 classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a class node_cli,node_mcp,node_sdk,node_caller toneBlue class node_manifest,node_generations,node_parser,node_embedder,node_graph_build,node_calibration,node_postgres toneAmber class node_trusted_search,node_gen_store,node_retriever,node_reranker,node_trust_gate toneMint class node_reasoner,node_graph_expansion,node_answer toneRose class node_provenance,node_ledger toneIndigo
Ordinary recall search follows the direct path. Explicit reasoning accepts graph_expansion: auto is the default and resolves to bounded one hop expansion for every nonempty query; off keeps direct retrieval only; one-hop forces the graph path. The CLI uses --graph-expansion auto|off|one-hop; the MCP tool uses graph_expansion="auto"|"off"|"one_hop". Graph neighbors are generation bound, direct candidates remain first, and expanded candidates must clear the same trust boundary before they can support a cited answer.
The opt in choices attach to different points in the system:
| Optional capability | Where it fits | What it adds |
|---|---|---|
| Hosted embedder | Build and query | Remote model calls for embeddings. Query and corpus text may leave the environment. |
| Learned sparse retrieval, SPLADE | Hybrid retrieval | A learned term weighted retrieval leg in addition to dense vectors and Postgres full text. |
| Reranker | After candidate fusion | Reorders the fused candidates with a cross encoder. |
| Evidence Graph version one | Explicit reasoning retrieval | Adds bounded, generation-bound structural neighbors to reasoning retrieval. See graph_expansion above for controls; graph candidates pass through trust before a cited answer can use them. |
| Structured fact application | Evidence cards | Lets a reviewed fact pass through the provenance controller into the append only ledger. |
For details, see the architecture writeup, provenance controller, and API reference.
For one project's memory on your machine, start with RE-call Lite. It stores memory in .recall/memory.db, refreshes changed memos automatically, and needs no Docker or database server.
Install 0.15.0 or later: Lite ships in the PyPI wheel from 0.15.0; earlier wheels do not contain it. Follow the Lite installation guide to create an environment and install the package, then run this from your own project with an existing folder of notes:
recall只显示了开头部分;其余内容请在仓库中阅读