Skip to main content
Glama

daylens-mcp

An MCP server that lets Cursor and Claude answer "what was I working on?" from your local Daylens timeline — no cloud, no API keys.

The problem

You ask your AI assistant what you did this morning. It guesses.

It doesn't know you spent three hours in Cursor on the auth refactor, or that you context-switched 200 times before lunch. It wasn't there. Daylens was — it logged every session, labeled every work block, scored your focus — but your AI tools can't see any of it.

You shouldn't have to reconstruct your own day from memory just to fill a timesheet or pick up where you left off.

Related MCP server: devrecall

What it does

Ask in plain language. Get answers grounded in your actual machine:

You › what was I working on this morning?

  • 06:40–09:30 (2h 50m) — Tax Filing, Email & Planning
  • 09:30–12:57 (3h 26m) — Mixed Development & Research
    Top app: Codex  |  219 context switches
  • 12:57–13:12 (15m) — X.com, YouTube, Email

Works in Claude Code, Cursor, Claude Desktop, and Windsurf.

Install

Requires Daylens on macOS and Node.js 22+.

Claude Code — one command:

claude mcp add daylens -- npx -y daylens-mcp

Cursor — add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "daylens": {
      "command": "npx",
      "args": ["-y", "daylens-mcp"]
    }
  }
}

All clients — auto-detects Claude Code, Cursor, Desktop, and Windsurf:

git clone https://github.com/irachrist1/daylens-mcp.git && cd daylens-mcp && bash install.sh

Restart your client after install.

How it works

  • Read-only bridge. Opens your Daylens SQLite database in read-only mode. Nothing is written, nothing leaves your Mac.

  • Labeled blocks, not raw logs. Queries AI-labeled work sessions like "Mixed Development & Research" — not "Chrome: 6 hours".

  • Five tools, natural questions. Timeline, focus stats, app usage, keyword search, and recent activity. Your assistant picks the tool; you just ask.

  • On demand, no daemon. Starts when your AI client needs it, exits when the session closes. No background process, no network calls.

  • Pre-computed summaries. Pulls focus scores, streaks, and daily summaries Daylens already computed — fast answers without re-analyzing raw sessions.

MIT License · Built by Christian Tonny

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    -
    quality
    -
    maintenance
    Enables AI coding assistants like Claude Code, Cursor, and Codex to share chat logs, terminal history, and session context with each other. Eliminates the need to re-explain context when switching between different AI coding tools.
    Last updated
    2
  • A
    license
    A
    quality
    A
    maintenance
    Local-first dev memory: indexes Git commits, PRs, Jira/Linear tickets, Confluence docs, Slack threads, and Calendar events into a local SQLite/FTS5/ONNX index, and exposes them as MCP tools so Claude Code, Cursor, and Codex can search and cite your past work.
    Last updated
    17
    3
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    Lien connects AI coding assistants like Cursor and Claude Code to your codebase through the Model Context Protocol (MCP). Ask questions in natural language, get precise answers from semantic search—all running locally on your machine.
    Last updated
    2
    AGPL 3.0

View all related MCP servers

Related MCP Connectors

  • Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.

  • Persistent context for Claude. Your AI always knows your projects and next actions across sessions.

  • User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.

View all MCP Connectors

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/irachrist1/daylens-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server