ScreenTimerAI

Guide

How to Create a Daily Productivity Report with Cursor

Connect ScreenTimerAI to Cursor via MCP and use Agent mode to generate a daily screen time report without leaving your editor.

Published: April 10, 2026
Updated: April 10, 2026
Reading time: 3 min
Cursor plus ScreenTimerAI equals a productivity report

What You Are Making

A Cursor Agent prompt that reads yesterday's screen time data from ScreenTimerAI and generates a short daily productivity report inside your editor.

No context switching. No extra apps. Just open Cursor and ask.

Why Cursor

Cursor is an AI-native code editor built on VS Code. It ships with built-in AI features like inline completions, chat, and Agent mode, which can call external tools through the Model Context Protocol (MCP). Developers who want AI-assisted coding with deep editor integration use Cursor as their daily driver. Since you already spend your whole day inside the editor, connecting screen time tracking to it makes sense. Having productivity insights one prompt away means you never have to leave Cursor to check a separate dashboard or open another app. It fits naturally into the AI Agent workflow you already use for writing and reviewing code.

Step 1: Connect ScreenTimerAI To Cursor

There are two ways to set this up:

Open Cursor Settings (Cmd+Shift+J), go to Features, then MCP.

Click "+ Add New MCP Server" and fill in:

  • Type: stdio
  • Name: screentimerai-activities
  • Command: /Applications/ScreenTimerAI.app/Contents/MacOS/activity-mcp-server

Save. The server should appear with a green indicator.

Available ScreenTimerAI Tools

If you want to test that Step 1 worked, switch to Agent mode and try one of these prompts:

MCP functionTest prompt
get_current_activityWhat am I doing right now?
get_activity_logsGet my raw activity logs for yesterday.
show_activity_timelineShow me an activity timeline for yesterday.
summarize_activity_rangeSummarize my activity for yesterday.
analyze_focus_segmentsAnalyze my focus segments for yesterday afternoon.
show_focus_score_timelineShow me a focus score timeline for today.
show_focus_score_trendsShow me my focus score last week.

Step 2: Generate Your Daily Report

Open the Cursor chat panel and switch to Agent mode. Then paste this prompt:

Generate a daily productivity text report based on yesterday's Screen Time AI data.

Follow these steps:

1. Fetch yesterday's activity data from Screen Time AI.
2. Write a short productivity report (~150 words) from the perspective of a dark, witty productivity coach reacting to the data.

Rules:
- Focus more on failures than successes
- Use short, punchy sentences
- Be dark and witty, commanding not polished
- Swearing is allowed sparingly for impact
- Return only the final report text, nothing else

Return the report as plain text directly in the chat.

Cursor will show each ScreenTimerAI tool call and ask for approval before executing. Approve the calls and the report appears in the chat panel.

Other Prompts To Try

The daily report prompt above is just one example. Once the MCP connection is active, you can ask Cursor Agent anything about your screen time data. Here are a few ideas to get you started:

  • Show me my top 5 apps by time spent yesterday. Good for spotting which tools dominate your day and whether that matches your priorities.
  • How many context switches did I have yesterday afternoon? Useful for understanding why a stretch of work felt scattered or unproductive.
  • Compare my screen time this week vs last week. Helps you catch trends before they become habits, like creeping social media usage or longer hours.
  • Analyze my focus segments for yesterday and identify my most productive hours. Great for learning when your deep work windows actually happen so you can protect them.

Mix and match these with your own questions. Agent mode lets you have a conversation, so you can follow up with "break that down by hour" or "exclude meetings" without re-entering the full prompt.

Troubleshooting

MCP tools not appearing? Make sure you are in Agent mode, not regular chat or Cmd+K inline edit mode. MCP tools are only available to the Agent.

Server shows red or disconnected? Restart Cursor by opening the command palette (Cmd+Shift+P) and running Developer: Reload Window. This re-initializes all MCP connections.

Tool calls failing? Verify the binary path is correct and the file is executable. You can confirm the path in Cursor Settings > Features > MCP. If the server still fails, try running the binary directly in your terminal to check for error output.

What Happens Next

Every time you run the prompt in Agent mode, Cursor pulls your latest screen time data through the MCP connection and generates a fresh report.

Keep it as a pinned prompt for a quick morning check-in without leaving your editor.