Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Local, private AI chat history search & memory: BM25 over your Cursor, Claude and ChatGPT chats.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
CHRONICLE_BASE_DIR, TRANSCRIPTS_DIR你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"chronicle": {
"command": "uvx",
"args": [
"chronicle-mcp-server"
],
"env": {
"CHRONICLE_BASE_DIR": "your-value",
"TRANSCRIPTS_DIR": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add chronicle --env CHRONICLE_BASE_DIR=your-value --env TRANSCRIPTS_DIR=your-value -- uvx chronicle-mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"chronicle": {
"command": "uvx",
"args": [
"chronicle-mcp-server"
],
"env": {
"CHRONICLE_BASE_DIR": "your-value",
"TRANSCRIPTS_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"chronicle": {
"type": "stdio",
"command": "uvx",
"args": [
"chronicle-mcp-server"
],
"env": {
"CHRONICLE_BASE_DIR": "your-value",
"TRANSCRIPTS_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
CHRONICLE_BASE_DIR envTRANSCRIPTS_DIR env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 Leviathan0x0 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.6.2)于13天前进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
Private, offline memory for your AI coding agents. Chronicle MCP (chronicle-mcp-server) is a local stdio MCP server that indexes your Cursor, Claude, ChatGPT and Cline chat transcripts on your own machine and serves BM25 search over them, so agents can recall past conversations without re-pasting them, using up to 40% fewer context tokens. Your archive and index stay on disk: no cloud service, account, or API key.
Why · CLI Mechanics · Setup Wizard · Tool Catalog · Installation · Auto-Save · Tests · Comparison · FAQ · License
Chronicle is a Model Context Protocol (MCP) server that syncs, cleans, formats, and indexes AI chat transcripts entirely on your machine. By bridging the gap between local editor history and large language model contexts, Chronicle allows agents to search, compare, retrieve, and reference past conversation logs. It features optimized token-saving heuristics that compress code blocks and limit message lengths, reducing context window utilization by up to 40 percent.
mcp>=1.22,<2.readOnlyHint, destructiveHint, ...). Every parameter is documented and every operation selector is an enum.isError: true, and unknown operation names are rejected instead of silently running a different operation.uvx chronicle-mcp-server, chronicle serve, chronicle --version and a Dockerfile.chronicle://capabilities and chronicle://chats.twine check on every push and pull request.start_session prompt, which maintain_storage(op_type="capabilities") now reports too.See the full CHANGELOG for earlier releases.
AI providers and editor clients save conversation logs in diverse formats. Chronicle normalizes these structures into a standard role-and-content message format:
Large chat logs can quickly exhaust context windows and increase API costs. Chronicle implements proactive token-saving mechanisms:
To verify these savings, we executed multi-turn conversation benchmarks. The graph below displays total token usage over a sequence of message turns:
By condensing repetitive syntax and large raw code snippets, Chronicle achieves up to 40 percent token savings, directly lowering API usage costs and preventing context-window exhaustion.
To make workspace searches extremely sharp and retrieve context-aware answers, Chronicle incorporates a state-of-the-art retrieval pipeline:
filename__chunk_idx).k1 = 1.5 and b = 0.85). The parameter b = 0.85 enforces an aggressive length penalty, which ensures long, rambling chat logs do not overshadow short, precise bug fixes.The cli.py file serves as the system's entry point, registering a unified chronicle command on the system path via the pyproject.toml configuration (chronicle = "cli:main").
Chronicle features an interactive, zero-dependency TTY setup wizard. Running chronicle setup or executing chronicle without arguments in an interactive terminal starts the setup flow:
[!TIP]
The setup wizard is styled with a premium purple theme, supporting arrow-key navigation, spacebar toggles, inline input editing, and real-time path validation!
Keyboard Navigation & Controls
Use the following controls when interacting with the select menu:
| Command / Action | Key Control | Description |
|---|---|---|
| Move Highlight | ▲ Up / ▼ Down Arrow Keys | Navigates the interactive list focus |
| Toggle Checkbox | Spacebar | Selects or deselects the highlighted app |
| Enter Custom IDE | Navigate to *Other* & type | Type custom app directory directly inline |
| Erase Character | Backspace | Removes characters inside the custom entry |
| Confirm & Inject | Enter | Validates target existence and runs config injection |
| Cancel Setup | Ctrl + C or Escape | Aborts setup process cleanly |
Wizard Phases & Actions
The wizard guides you through the following phases:
| Step | Phase Name | What You Do | Result & Behavior |
|---|---|---|---|
| Step 1 | Monolithic Split Engine | Input JSON file path (or press Enter to skip) | Automatically partitions unified chat history exports |
| Step 2 | Storage Directory Configuration | Specify directory path (or press Enter for default) | Creates local storage folder for transcripts |
| Step 3 | Interactive IDE Selection | Toggle checkboxes, navigate submenus, type custom targets | Performs TTY selection and checks path validation |
| Step 4 | Config Injection & Live Dashboard | Review final summary configuration | Injects server configs into target IDE settings |
[!IMPORTANT]
HOW TO USE THE WIZARD — A STEP-BY-STEP SHOWCASE GUIDE
1. Start the Process: Launch the wizard with
chronicle setupin your terminal.
2. Split Monolithic Files: Paste the path to your exported
conversations.json(from ChatGPT or Claude). This splits them into clean individual threads inside your chats folder.
3. Define Your Chats Directory: Keep the default
~/universal-chatsfolder or type a custom path.
4. Select Your Target IDEs:
* Press
Down Arrowto scroll down to VS Code, Trae, etc.
* Press
Spaceto toggle selections.
* If you select Antigravity, checking it will automatically expand sub-choices (Antigravity IDE, Antigravity 2.0, Antigravity CLI) right underneath!
* Scroll down to Other (Enter custom entry) and type any system-specific folder name to add emerging editors.
* Real-time Path Validation: If the custom configuration path parent doesn't exist, a warning alerts you at the bottom:
⚠ App/IDE " " was not found on your system.. Erase it withBackspaceor type a valid path to proceed.
5. Complete and Launch: Press
Enterto write the JSON configuration file for all selected apps. The Live Environment Dashboard will display a complete summary of your workspace configs.
Click to expand step-by-step Setup Walkthrough
Run the setup command:
chronicle setup
The wizard asks if you want to partition any monolithic chat logs (such as the single conversations.json from ChatGPT/Claude exports) into separate files in your new storage folder:
── Chronicle Archive Setup ─────────────────────────────────────
Do you want to split a single conversations.json file? Enter path to export file (or press ENTER to skip):
Define the folder path where Chronicle will clean and store all conversation history:
Enter path to folder containing your conversations [Default: ~/universal-chats]:
✓ Using existing storage directory: /Users/username/universal-chats Successfully set chats directory to: /Users/username/universal-chats
An interactive selection menu with a premium purple theme. Navigate with the arrow keys, toggle checkboxes with the Spacebar, edit custom inputs
只显示了开头部分;其余内容请在仓库中阅读