Local MCP server to sync, clean, and index AI chat logs locally. Saves up to 40% context tokens.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Chronicle MCP.
DescriptionUnified search and filter interface for local chat transcripts. Supports keyword, Okapi BM25 semantic, date range, and related chat lookups.
semanticStandard semantic retrieval using Okapi BM25 scoring with exponential temporal decay.
keywordExact string matching against terms in files.
date_rangeFilters files modified within a date interval (requires `start_date` and `end_date`).
relatedFinds archives semantically close to a reference file.
contentMessage text slice within specified index ranges.
Why Β· CLI Mechanics Β· Setup Wizard Β· Tool Catalog Β· Installation Β· Auto-Save Β· Tests Β· Comparison Β· FAQ Β· License
Chronicle is a production-grade Model Context Protocol (MCP) server designed to sync, clean, format, and index local artificial intelligence chat transcripts. 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.
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!
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 |
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
- Start the Process: Launch the wizard with
chronicle setupin your terminal.- 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.- Define Your Chats Directory: Keep the default
~/universal-chatsfolder or type a custom path.- 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 "<name>" was not found on your system.. Erase it withBackspaceor type a valid path to proceed.- 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.
Run the setup command:
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:
Define the folder path where Chronicle will clean and store all conversation history:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/chronicle-mcp)<a href="https://allmcps.com/mcp/chronicle-mcp"><img src="https://allmcps.com/api/badge/chronicle-mcp?style=directory" alt="Chronicle MCP on AllMCPs" /></a>