Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Git-native memory for coding agents: gotchas, decisions and bookmarks as plain text in your repo.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
INFERNOFLOW_PROJECT_DIR你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"infernoflow": {
"command": "npx",
"args": [
"-y",
"infernoflow",
"mcp"
],
"env": {
"INFERNOFLOW_PROJECT_DIR": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add infernoflow --env INFERNOFLOW_PROJECT_DIR=your-value -- npx -y infernoflow mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"infernoflow": {
"command": "npx",
"args": [
"-y",
"infernoflow",
"mcp"
],
"env": {
"INFERNOFLOW_PROJECT_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"infernoflow": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"infernoflow",
"mcp"
],
"env": {
"INFERNOFLOW_PROJECT_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
INFERNOFLOW_PROJECT_DIR env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 ronmiz 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.50.0)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Every new AI session starts cold — the gotchas you found, the decisions you made, don't survive. infernoflow makes them stick.
Persistent memory for AI coding sessions. Captures the gotchas, decisions and dead ends your code can't tell an agent — and replays them into your next Cursor / Claude Code / Copilot chat so the same wrong turn never happens twice.
You spent 90 minutes yesterday teaching Claude that your auth API returns 200 even on errors — check the response body, not the status code. Today you ask the same kind of question and watch it write if (response.ok) { return data } all over again. The AI didn't get worse overnight. It just doesn't have memory.
infernoflow is a local-first CLI + VS Code extension + open protocol (AMP) that gives your AI persistent context across sessions. No SaaS. JSONL on disk. Three rule files your IDE already reads.
Built-in assistant memory remembers *you*. infernoflow remembers the *codebase*: the memory lives in your repo under .ai-memory/, travels through git to your teammates, and works the same in Claude Code, Cursor and Copilot.
npx through a shell.setup registers the MCP server in .codex/config.toml (no machine paths, safe to commit) and creates AGENTS.md with the memory block, on machines with Codex.git commit shows it first. Never blocks.CLAUDE.md whole..vscode/mcp.json and .cursor/mcp.json no longer hold your machine's paths (infernoflow mcp in ${workspaceFolder}), and the rule files no longer list recent commits or personal memory — so a teammate's pull doesn't leave changed files. Optional AGENTS.md support.status, recap and the session start tell you when memory has duplicates, noise or entries about files that changed since, and name the command to fix it. Set "maintenance": "auto" in .ai-memory/amp.json to tidy up once a day, or "off". Also: every command has its own --help that never runs the command.CLAUDE.md no longer carries a copy that goes stale.infernoflow resolve retires one from AI context.infernoflow commands; secrets are redacted; MCP is registered per project.Full list: CHANGELOG.md.
Drop a named resume point mid-session. When the context window fills up or you're about to make a risky change, one command captures the current session's transcript and stores it as a jumpable checkpoint:
infernoflow bookmark "before the SP refactor"
Or just say it in chat — the Cursor beforeSubmitPrompt hook catches phrases like "bookmark this" / "mark this point" / "save this checkpoint" and drops the bookmark itself, no AI cooperation required. Or let the AI do it via the amp_bookmark MCP tool when it notices the session is getting long.
No `--note`? infernoflow reads Claude Code's own on-disk transcript (~/.claude/projects/…/*.jsonl), distills the last 40 turns to markdown, and stores it as the bookmark's context. Fully deterministic — no model call. Recall any time:
infernoflow bookmark list # ● has context, ○ marker only
infernoflow bookmark show "SP refactor" # jump back — see the whole snapshot
Bookmarks are never auto-pruned, and they surface in infernoflow switch under a ## 🔖 Bookmarks — Resume Points section so the next session opens right where work paused.
init now installs two things into .claude/ so the loop runs itself on Claude Code:
.claude/skills/) — teaches the agent to start warm (resume), then proactively log real gotchas, decisions-with-a-*because*, dead ends, and durable preferences, and drop a bookmark at stopping points or when you say *"bookmark this"*. Capture is balanced — it skips routine steps, anything obvious from the code, secrets, and duplicates..claude/agents/) — a specialist you can delegate to. It sweeps the session, dedupes against what's already stored, logs what's worth keeping, drops bookmarks, and reports back. It never edits code or logs secrets, and a guard limits its shell to single infernoflow read/log commands (blocked if the guard can't run).Both are installed automatically by infernoflow init (fresh and on re-run of an existing project) and ship in the package — nothing to set up by hand.
Every new AI session today starts cold. The agent re-reads your code, re-derives the obvious, and re-makes the same wrong move someone else made yesterday. infernoflow closes that loop in four stages:
amp_write MCP tool. A protocol block injected into the rule files teaches it exactly when. Prompt hooks (Claude Code UserPromptSubmit, Cursor beforeSubmitPrompt) backstop the AI by scanning the text you typed — subagent hand-backs, system reminders, fenced or indented code, quotes and stack traces are skipped — for trouble signals (not working, still broken, same error; !! / retry only in short prompts) and writing the entry deterministically when the AI doesn't (English and Hebrew). In Claude Code the hook also notices when you ask the agent to remember something, state a decision or describe a finding, and reminds the agent to save it in its own words — it stores nothing itself for those. If a session ends with one of those still unsaved, the next session starts with a one-time reminder to offer saving it. The Cursor hook also turns *"bookmark this"* into a bookmark.gotcha | decision | attempt | note | detection | pattern | bookmark) with timestamp, file:line, tags, and a stable AMP id..ai-memory/branches/ .jsonl (git-tracked, travels with your branch — teammates inherit it) plus .ai-memory/global.jsonl (personal preferences, gitignored, synced across your machines via any OS-synced folder).CLAUDE.md / .cursorrules / copilot-instructions.md at boot. The most relevant entries are already there. Warm start; no cold derivation.And at the last moment before a repeat: when a commit touches a file that memory has a gotcha, failed attempt or decision about, the git pre-commit note prints those entries — to you or to the agent running git commit. It never blocks the commit. (setup / init install it in .git/hooks; turn it off with "preCommit": "off" in .ai-memory/amp.json.)
No service to log into. No SaaS. JSONL on disk, an MCP server, and three rule files your IDE already reads.
npm install -g infernoflow
infernoflow init --yes
Zero runtime dependencies. Works on Node ≥ 18 — macOS, Linux, Windows.
init --yes does the whole setup: creates .ai-memory/, writes rule files for every supported IDE, wires the MCP server for Cursor / VS Code Copilot / Claude Code in one shot, installs the infernoflow-memory skill + memory-keeper agent into .claude/, applies the clean-tree git policy, and drops a visible demo entry so you can confirm the loop is alive with:
infernoflow status
These cover 95% of usage:
| Command | What it does | |||
|---|---|---|---|---|
infernoflow log "..." | Remember a gotcha / decision / attempt / note. `--type gotcha\ | decision\ | attempt\ | preference` |
infernoflow resume | 🆕 0.46 "Where were we?" in one call — last resume point, open dead ends, recent decisions, uncommitted work. --file ranks by file | |||
infernoflow ask "..." | Search your memory by keyword — gotchas surface first. --file ranks entries about that file first | |||
infernoflow switch | Generate a handoff for the next session. --copy puts it on your clipboard | |||
infernoflow recap | End-of-session summary with health score + unlogged-change detection; lists memory that arrived through git and marks it reviewed | |||
infernoflow status | Quick health check — entries, gotchas, decisions, last activity |
| infernoflow bookmark "..." | 🆕 Drop a named resume point — auto-captures the session transcript as its context. list / show / rm round it out. Surfaces in switch.
只显示了开头部分;其余内容请在仓库中阅读