# Chronicle MCP

> Chronicle MCP is a free MCP server for knowledge and memory. Local BM25 search over your Cursor, Claude, ChatGPT and Cline chat history. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, self-hosted, macOS, Windows, Linux
- **Repository:** https://github.com/leviathan0x0/chronicle-mcp
- **MCP Registry name:** io.github.Leviathan0x0/chronicle-mcp
- **Categories:** knowledge and memory, developer tools
- **Listing updated:** 2026-11-16

## About

Chronicle MCP keeps a private, offline archive of past AI conversations so an agent can recall earlier work without you pasting it back in. It syncs transcripts from editors and exports, normalises them into one role-and-content format, and indexes them on your machine. The README says there is no cloud service, account or API key, and the archive defaults to a .chronicle folder in your home directory.

The search design is specific. Long conversations are split into chunks when there is a gap of more than 30 minutes or when vocabulary similarity between message groups falls, and chunks are scored with Okapi BM25 using a strong length penalty so rambling logs do not drown short bug fixes. Saved handoff receipts, which record modified paths, commitments, skipped tests and next actions, are bubbled to the top of results. To save context, code blocks are summarised by language and line count and long messages are truncated, which the README says cuts token use by up to 40 percent.

Version 1.6.2 added documented tools with safety annotations, real error results, a recall_past_work prompt and two resources. It runs through uvx, pip or Docker, with an interactive setup wizard that edits client configs.

## Features

- **Local archive:** Indexes chat transcripts on your own disk with no account or key.
- **Format normalisation:** Parses ChatGPT and Claude exports plus Cline, Continue and Markdown logs.
- **BM25 search:** Chunked conversation search with a strong length penalty.
- **Handoff receipts:** Saved agent state files rank at the top of results.
- **Token savings:** Summarises code blocks and truncates long messages.
- **Setup wizard:** A terminal wizard splits exports and writes client configuration.

## Good for

- Recall how a bug was fixed in an earlier Cursor session
- Search old ChatGPT or Claude exports for a decision
- Hand over agent state between sessions with a receipt
- Reduce repeated context pasted into new chats

## Install

### Claude Code (Terminal)

```sh
claude mcp add chronicle-mcp -- uvx chronicle-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "chronicle-mcp": {
      "command": "uvx",
      "args": [
        "chronicle-mcp-server"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "chronicle-mcp": {
      "command": "uvx",
      "args": [
        "chronicle-mcp-server"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "chronicle-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "chronicle-mcp-server"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "chronicle-mcp": {
      "command": "uvx",
      "args": [
        "chronicle-mcp-server"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "chronicle-mcp": {
      "command": "uvx",
      "args": [
        "chronicle-mcp-server"
      ]
    }
  }
}
```

## Tools

- `maintain_storage`: Maintain the archive and report capabilities.
- `sync_workspace_data`: Sync transcripts from editor workspaces into the archive.

## FAQ

### Does my chat history leave my machine?

No. The README says the archive and index stay on disk with no cloud service.

### Which tools' chats can it read?

Cursor, Claude, ChatGPT and Cline, plus generic JSON and Markdown logs.

### How do I run it?

Through uvx chronicle-mcp-server, pip, or a Dockerfile.

### How many tools does it have?

The 1.6.1 notes list 8 tools plus the start_session prompt.

### Is Chronicle MCP free?

Yes. Chronicle MCP is free to use.

### How do I add Chronicle MCP to Claude Code?

Run this command in your terminal: claude mcp add chronicle-mcp -- uvx chronicle-mcp-server

### What are the best alternatives to Chronicle MCP?

The closest alternatives to Chronicle MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/chronicle-mcp
