chron
AI tools show when you sent a message. Chron logs when the AI responded too — and keeps a permanent, queryable record of every exchange across every tool you use.
Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible AI tool.
Why
AI tools produce no audit trail by default. You cannot answer:
What did the AI say, and when exactly?
How long did the AI take to respond?
What was the full conversation that produced this output?
What did I ask Claude last week about this codebase?
Chron fixes that. Every exchange is logged with a precise local datetime (including timezone offset) to a SQLite file you own. No cloud, no vendor lock-in, no data leaving your machine.
Install
Add to your AI tool's MCP config:
{
"mcpServers": {
"chron": {
"command": "npx",
"args": ["-y", "chron-mcp"]
}
}
}First run creates ~/.chron/chron.db automatically. No database setup, no env vars, no migrations.
What it logs
Every exchange is recorded with precise local timestamps — user message when received, assistant response when sent:
[user: 2026-05-08 14:32:11 +02:00 | assistant: 2026-05-08 14:32:43 +02:00]
The main risks of deploying this contract are...The gap between user and assistant timestamps is real generation time. Both are stored in your local SQLite DB with full timezone offset.
Config by tool
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"chron": {
"command": "npx",
"args": ["-y", "chron-mcp"]
}
}
}Claude Code
claude mcp add chron npx -y chron-mcpThen add the skill hook to ~/.claude/settings.json:
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "cat ~/.chron/chron.skill.md"
}
]
}
]
}
}Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"chron": {
"command": "npx",
"args": ["-y", "chron-mcp"]
}
}
}Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"chron": {
"command": "npx",
"args": ["-y", "chron-mcp"]
}
}
}Companion skill file
Chron ships with skills/chron.skill.md — a plain-text instruction file that tells the AI how to use the MCP tools automatically. Load it into your AI tool once. After that, the AI:
Creates or resumes a named session at the start of every conversation
Logs your message before it starts responding (captures the real user timestamp)
Logs its response after composing it (captures the real assistant timestamp)
Shows
[user: YYYY-MM-DD HH:MM:SS ±HH:MM | assistant: YYYY-MM-DD HH:MM:SS ±HH:MM]at the top of every responseRetrieves prior session history so context is never lost across conversations
MCP Tools
Tool | Description |
| Create or resume a named audit session |
| Record a single message with the current local datetime |
| Log a user/assistant pair atomically (for batch imports) |
| List all sessions ordered by most recently active |
| Retrieve the full timestamped log for a session |
Configuration
Env var | Default | Description |
|
| Path to SQLite database file |
|
| Set to |
| (none) | Bearer token for HTTP mode |
|
| Port for HTTP mode |
HTTP+SSE mode (team / self-hosted)
For teams or remote use, run Chron as an HTTP server:
CHRON_TRANSPORT=http CHRON_API_KEY=your-key PORT=3001 npx chron-mcpPoint your MCP config at the URL:
{
"mcpServers": {
"chron": {
"url": "https://your-server/mcp",
"headers": {
"Authorization": "Bearer your-key"
}
}
}
}Your data
Your audit log lives at ~/.chron/chron.db — a single SQLite file on your machine. Query it directly with any SQLite tool:
sqlite3 ~/.chron/chron.db \
"SELECT s.title, m.role, m.content, m.created_at
FROM messages m JOIN sessions s ON s.id = m.session_id
ORDER BY m.created_at"No cloud, no telemetry, no data leaving your machine. Change the location with CHRON_DB_PATH.
License
Copyright (c) 2026 Nivaya. All rights reserved.
Source code is public for transparency only. Cloning, forking, modification, and redistribution are not permitted without explicit written permission. See LICENSE for full terms.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nivaya/chron'
If you have feedback or need assistance with the MCP directory API, please join our Discord server