Back to Browse

Chronicle MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Local screen and activity knowledge graph, served as context to computer-use agents.

About

Local screen and activity knowledge graph, served as context to computer-use agents.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 0 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

4 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

clipboard

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Folder for the database and screenshots (default ~/.chronicle)Optional

Environment variable: CHRONICLE_HOME

Set to 1 so this process serves context but never recordsOptional

Environment variable: CHRONICLE_DISABLE_CAPTURE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "chronicle-context": {
      "command": "uvx",
      "args": [
        "chronicle-context==0.3.0"
      ],
      "env": {
        "CHRONICLE_HOME": "your-chronicle-home-here",
        "CHRONICLE_DISABLE_CAPTURE": "your-chronicle-disable-capture-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Chronicle's Knowledge page showing the knowledge graph and chat for the sample workday

Chronicle

Record your screen and system events on your computer, write context files and workflows from them, and build them into LLM harnesses for any task. Any AI can use a harness over MCP or as downloaded files.

The full documentation covers the app, every command, and the API.

An agent usually starts each task with no knowledge of your computer. It doesn't know your ticket, your open file, or your last search, so you paste that context by hand. Chronicle keeps that memory on your computer and lets the agent request it:

  • Continue your work. "Finish the Acme export" works because the agent can see export.ts, the status of PR 882, and the Notion spec.
  • Teach by showing. Record a task once. The agent gets the apps, pages, and steps in order.
  • Use tools without MCP. Download a harness as a .zip or one Markdown file for ChatGPT, Claude Projects, NotebookLM, Neo4j, or a RAG pipeline.

Chronicle stores everything in ~/.chronicle, with no account and no telemetry. See Privacy for what leaves your computer.

Quick start

Chronicle needs Python 3.10 or newer. macOS is the main platform, and Linux (X11) and Windows support is best effort.

These commands load a synthetic workday, so Chronicle records nothing.

uv tool install --python 3.12 "chronicle-context[graph]"
chronicle demo
chronicle context "finish the Acme export"

chronicle context prints the Markdown that the get_context MCP tool returns. The sample output starts like this:

# Computer context (Chronicle)
Task: finish the Acme export
Window: the most recent 2h of history.

## What you were doing
- 14:55-15:31 meeting Acme weekly · Jordan Hale (36m)
- 15:34-16:24 writing customer emails · export spec (50m)
- 16:28-16:48 coding export.ts · asking Priya (20m)

## On screen now
- Chrome · Checks · PR 882 (frame 18)
- URL: https://github.com/northwind/billing/actions

To open the app, connect an agent, and record your own work:

chronicle serve
chronicle mcp install cursor
chronicle doctor
chronicle record 30m --label "file an expense report"

The app runs at http://127.0.0.1:3030. chronicle mcp clients lists every client.

Permissions and tools

PlatformWhat Chronicle needs
macOSScreen Recording and Accessibility for the app that runs Chronicle. Local sources also need Full Disk Access
LinuxX11, a window manager, xdotool, and xprop. Wayland sessions aren't supported for window tracking
Linux screenshotsOne of grim, gnome-screenshot, scrot, or ImageMagick import
Linux clipboard and idle timexclip or wl-paste, and xprintidle
WindowsNothing extra. Chronicle uses user32 and PowerShell
OCR, optionalbrew install tesseract or apt install tesseract-ocr

On macOS, the app that runs Chronicle is your terminal or the MCP host, such as Claude Desktop or Cursor. Add it under System Settings › Privacy & Security, then quit and reopen it. Closing its windows isn't enough.

How it works

Record. A session runs for a set time, such as 90s, 30m, or 2h, or until you stop it. Every 5 seconds by default, Chronicle samples the front app, its window, and the browser URL. When something changes, and at least every 30 seconds, Chronicle also takes a screenshot and reads screen text. Chronicle never records keystrokes, and it skips password managers, System Settings, and private browser windows.

Read sources. Under Privacy & Sources, you can also turn on Apple Mail, Calendar, iMessage, WhatsApp, browser history, folders, and AI tool logs. Every source starts off.

Build the graph. Each session gets its own graph. Nodes include apps, pages, files, tickets, PRs, people, topics, and tasks. Every node and edge records its time and its source frames, so an agent can cite its evidence. The all-history graph combines the sessions, and older sessions count less.

Write. With a model set up, Chronicle names the graph's work, then writes context files and workflows when a recording ends. Without a model, Chronicle runs offline and builds plain context files from the evidence.

Serve. Agents read everything over MCP.

LevelWhat it isExample
HarnessEverything an agent needs for a whole line of workRecruiting
Context fileGeneral guidance for one kind of sessionResearching job companies
WorkflowA short procedure for one specific jobCustomizing resume bullets

Connect an agent

Local clients

chronicle mcp install <client> adds Chronicle to a client's config and keeps a .chronicle-backup copy of the old file. chronicle mcp config <client> prints the snippet and writes nothing.

ClientCommand
Claude Desktopchronicle mcp install claude-desktop
Claude Codechronicle mcp install claude-code
Cursorchronicle mcp install cursor
VS Code (Copilot agent mode)chronicle mcp install vscode
Windsurfchronicle mcp install windsurf
OpenAI Codex CLIchronicle mcp install codex
Gemini CLIchronicle mcp install gemini-cli
Clinechronicle mcp install cline
LM Studiochronicle mcp install lm-studio
Zedchronicle mcp config zed
Continuechronicle mcp config continue
Goosechronicle mcp config goose

Restart the client after an install. Only one Chronicle process captures at a time, so an agent can call start_recording without chronicle serve. chronicle mcp --no-record turns that off.

Packaged installs

Packaged installs need only uv.

claude plugin marketplace add aniketxdey/chronicle
claude plugin install chronicle@chronicle
gemini extensions install https://github.com/aniketxdey/chronicle

MCP Registry clients can search for io.github.aniketxdey/chronicle.

Hosted agents and APIs

Hosted agents need a public HTTPS URL. Anyone with the URL that these commands print can read your Chronicle data. Stop the tunnel when you finish.

export CHRONICLE_TOKEN=$(openssl rand -hex 16)
export CHRONICLE_PUBLIC_URL=https://YOUR-TUNNEL-HOST
chronicle serve &
cloudflared tunnel --url http://127.0.0.1:3030
echo "$CHRONICLE_PUBLIC_URL/mcp/$CHRONICLE_TOKEN"

chronicle mcp config prints a starting point for chatgpt, openai-api, anthropic-api, gemini-api, and http. Provider model names and beta flags change often, so check each provider's MCP documentation. The examples folder has longer scripts.

Files

The harness editor exports a .zip or one Markdown file. Each context file and workflow has Download .md. Each graph downloads as JSON, text, GraphML, or Cypher.

MCP tools

ToolWhat it does
list_harnesses, get_harness, read_harness_file, search_harness_graphRead a harness, its files, and its graph engine
get_context_file, get_workflow, get_graphRead one context file, workflow, or graph
get_contextA context pack for a task, with an optional preset
search_historyFull-text search over screen text, events, transcripts, and memories
query_graph, get_entity, graph_summaryFind nodes, read their evidence, and get graph totals
list_tasks, activity_summary, list_meetingsTimelines and summaries
get_frameOne frame, optionally with its screenshot
start_recording, stop_recording, list_sessionsRecord a demonstration, and list recordings
rebuild_graph, tune_graphRebuild a graph, or refine it with your model
graph_review, graph_applyThe connected agent curates the graph, with no Chronicle model
search, fetchThe interface that ChatGPT connectors and deep research expect

The server also has resources, such as chronicle://context/current, and two prompts: use_my_computer_context(task) and learn_from_recording(session_id). The MCP reference lists them all.

App, API, and CLI

chronicle serve runs the app at http://127.0.0.1:3030:

PageWhat it does
KnowledgeShows the graph of all your history, a chat, and your recordings. The chat can propose something to build, and builds nothing until you press its button
HarnessesBuilds a harness in five steps, then edits it by hand or by chat
ContextsHolds general guidance for one kind of session
WorkflowsHolds short procedures for one job
IntegrationsConnects MCP clients and exports files
Privacy & SourcesControls what Chronicle reads besides recordings
SettingsControls capture, retention, and models

The REST API has interactive documentation at http://127.0.0.1:3030/docs. The CLI reference and REST reference list every command and route. The CLI has no harness commands.

Configuration

VariableDefaultMeaning
CHRONICLE_HOME~/.chronicleDatabase, screenshots, and lock file
CHRONICLE_HOST, CHRONICLE_PORT127.0.0.1, 3030Where chronicle serve listens
CHRONICLE_TOKENUnsetRequire this token on the HTTP API and MCP
CHRONICLE_PUBLIC_URLhttp://127.0.0.1:3030Base URL for links and remote client snippets
CHRONICLE_DEMO=1OffLoad the sample workday into an empty database on start
CHRONICLE_DISABLE_CAPTURE=1OffNever record from this process
CHRONICLE_HALF_LIFE_HOURS72How fast older recordings count less in All history. 0 or off disables it
CHRONICLE_LLMUnsetopenai, anthropic, gemini, openrouter, local, or off
CHRONICLE_LLM_MODELProvider defaultModel for the provider named by CHRONICLE_LLM
CHRONICLE_LLM_BASE_URLhttp://localhost:11434/v1Endpoint for the local provider

Chronicle reads these variables when a process starts. Settings in the app holds capture interval, idle threshold, screenshots, OCR, clipboard, redaction, and retention.

Models

A model is optional. Open Settings › Model, add a key, and press Use.

ProviderDefault modelKey from the environment
OpenAIgpt-4.1-miniOPENAI_API_KEY
Anthropicclaude-sonnet-5-5ANTHROPIC_API_KEY
Google Geminigemini-2.5-flashGEMINI_API_KEY
OpenRouteropenai/gpt-4.1-miniOPENROUTER_API_KEY
Local (Ollama, LM Studio)You chooseNot needed

A key can also be in a .env file in ~/.chronicle or the current directory. A .env file never overrides a variable that is already set. Your choice in Settings overrides CHRONICLE_LLM, except CHRONICLE_LLM=off, which turns models off whatever Settings says.

Workflows, harness chat, and context file names use tool calls, so choose a model that supports them. Small local models often fail at these tasks.

Privacy

Recordings, screenshots, source items, and graphs stay in ~/.chronicle. Data leaves your computer in these cases:

  • MCP clients: a connected agent receives the tool results it requests.
  • Models: a cloud model receives window titles, URLs, system events, redacted screen text, and matching source items.
  • Tunnels: anyone with your URL and token can read your data.
  • Cloud sources: a provider sees the requests that Chronicle makes to it.

Redaction applies to text only. Screenshots keep whatever was on screen. PRIVACY.md has the details.

Development

git clone https://github.com/aniketxdey/chronicle && cd chronicle
uv pip install -e ".[dev,graph,llm]"
pytest
python examples/stdio_client.py "finish the Acme export"
npx @modelcontextprotocol/inspector --cli chronicle mcp --method tools/list
ModuleRole
chronicle/probe.pyReads the computer: windows, URLs, screenshots, Accessibility text, and OCR
capture.py, sessions.pyThe recorder and sessions
sources/Local, cloud, and AI tool sources
graph.py, itemgraph.pyGraph building, aggregation, and decay
tuner.py, llm.py, brain.pyGraph refinement, model providers, and the Knowledge chat
context.py, contexts.py, workflows.py, harness.pyContext packs, context files, workflows, and harnesses
mcp_server.py, clients.pyThe MCP server and client setup
main.py, web/The HTTP server and the app

docs/PUBLISHING.md describes releases. bench/PROTOCOL.md describes the OSWorld evaluation, which hasn't run yet.

License

MIT

Reviews

No reviews yet

Be the first to review this server!