Logo: Timewarp

Timewarp

Communautéit
vinistoisr

Windows focus tracker with MCP server for AI-powered timecard generation. Tracks active windows, stitches sessions, extracts project numbers, and exposes data to Claude. Also exports Prometheus metrics.

Editeurvinistoisr
Repositorytimewarp
SproochGo
Forks
2
Stären
7
Disponibel Tools
0
Transporttypstdio
Kategorien
Linken
  • Tools mat KI-Workflows verbannen

    Timewarp bitt MCP-Funktiounen un, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • Disponibel Tools: 0

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an deem MCP-Client ze konfiguréieren, deen Dir am léifste benotzt.

  • Interessi vun der Communautéit um Open-Source-Projet

    Zuele vum verlinkte Repository – Stären: 7, Forks: 2.

Timewarp

TL;DR

Timewarp helps you fill out your timesheets without having to keep track yourself.

It runs quietly on your Windows PC and watches which window is in front — that's it. It notes the app name and window title (like 25-125_SLD-E101.dwg - AutoCAD) and saves it to a local SQLite database on your computer. Nothing is uploaded or shared — you control the data, and it never leaves your machine unless you choose to sync it (e.g. via OneDrive). This is not a corporate monitoring tool. It's a personal utility that works for you.

When it's time to fill out your timecard, you open your AI assistant and ask in plain English:

"What did I work on this week?"

It reads your local data and tells you: "You spent 4 hours in AutoCAD on project 25-125, 1 hour in a design review meeting, 30 minutes on emails..." — and you copy that into your timesheet. Done.

How it works under the hood: Every second, Timewarp checks which window is active using the Windows API. It groups those seconds into sessions (ignoring brief alt-tabs), extracts project numbers from file names when possible, and stores everything in a local SQLite database. Your AI assistant accesses this database through a local MCP connection — the same way it accesses files on your computer — and can answer questions about your work history.

Compatible with any MCP-enabled AI app, including Claude Desktop, ChatGPT Desktop, and others that support the Model Context Protocol.


Architecture

Timewarp Architecture

Everything stays on your machine. The MCP server is a local process that communicates with your AI app over stdin/stdout — it does not open any network ports or send data anywhere.


Installation

Step 1: Download and run

Download timewarp.exe from the latest release, put it somewhere permanent (e.g. C:\Tools\Timewarp\timewarp.exe), and double-click it.

Step 2: First-run setup

On the first launch, Timewarp walks you through setup automatically:

  1. Choose a data folder — A dialog explains your options and opens a folder picker. Pick a folder inside OneDrive if you use multiple computers (each PC saves its own file, no sync conflicts), or any local folder if you only use one machine.
  2. Start at login — Timewarp asks if you want it to run automatically when you log in. If you click Yes, a UAC prompt will appear (it needs admin rights to create the scheduled task). You can remove this later with timewarp.exe -uninstall.

Don't have admin rights? Skip the UAC prompt and instead create a shortcut to timewarp.exe in your Startup folder. Press Win+R, type shell:startup, and drag the shortcut there. It works the same way — Timewarp will start every time you log in.

After setup, a small purple clock icon appears in your system tray — Timewarp is now tracking.

Step 3: Connect to your AI app

Right-click the tray icon and click Connect to Claude Desktop. Timewarp automatically finds your Claude Desktop config file and adds itself. Restart Claude Desktop and you're done.

Using ChatGPT Desktop or another MCP-compatible app? Click Copy MCP Config instead — this copies the JSON to your clipboard so you can paste it into your app's config file manually. The MCP server config looks like this:

json
{
  "mcpServers": {
    "timewarp": {
      "command": "C:\\Tools\\Timewarp\\timewarp.exe",
      "args": ["-mcp", "-dbpath", "C:\\Users\\You\\OneDrive\\TimewarpData"]
    }
  }
}

Once connected, you can ask things like:

  • "What did I work on this week?"
  • "How much time did I spend in AutoCAD?"
  • "Break down my week by day for my timecard"
  • "List my top apps this week"

What to Ask

Once Timewarp is running and connected, just ask in plain English. Here are some examples:

What you wantWhat to type
Fill out your weekly timecard"Summarize my work this week for my timecard"
Daily breakdown for QuickBooks Time"Break down my work by day this week, with hours per project"
Check time on a specific project"How much time did I spend on project 25-125 this week?"
See what you did on a specific day"What did I work on last Tuesday?"
Find out where your time went"What were my top apps this week and how long did I use each?"
Generate a timesheet narrative"Write a timesheet entry for this week, grouped by project number"
Check meeting time"How many hours of meetings did I have this week?"
Compare weeks"Compare my project time this week vs last week"
Catch untracked time"I was on site Monday with no laptop — can you show me Tuesday through Friday only?"

Your AI app will call the appropriate Timewarp tools automatically. You don't need to know the tool names or syntax — just describe what you need.


System Tray Menu

Right-click the tray icon to access these options:

Menu ItemWhat it does
Stop Tracking / Start TrackingPause and resume tracking. The icon turns grey when paused.
Inactivity ThresholdHow long you must be idle before time stops counting (30s, 1m, 2m, 5m, 10m). Default: 1 minute.
Enable Prometheus EndpointToggle the Prometheus metrics HTTP server on/off (off by default).
Open DB FolderOpens your database folder in Explorer.
Set DB Folder...Pick a new folder for the database. Takes effect immediately.
Connect to Claude DesktopAutomatically adds Timewarp to Claude Desktop's config. Shows a checkmark when connected.
Copy MCP ConfigCopies MCP server config JSON to your clipboard (for ChatGPT Desktop or other MCP apps).
QuitStops Timewarp.

MCP Tools

These are the tools your AI app can call to query your data:

ToolDescription
get_weekly_summaryAttributed project time, unattributed app time, meetings, and inactivity for a week.
get_daily_breakdownSame data broken down by day — ideal for filling out daily timecards or QuickBooks Time.
get_focus_timeTotal focused minutes for a specific process across a date range.
list_top_appsTop 10 processes by focused time for a week.

Example: Weekly Summary

Ask: "Summarize my work this week for my timecard"

Your AI app calls get_weekly_summary and receives:

json
{
  "week": "2026-03-02/2026-03-08",
  "machines": ["DESKTOP-VINC", "LAPTOP-VINC"],
  "attributed": [
    {
      "project_number": "25-125",
      "total_minutes": 252,
      "processes": ["acad.exe", "OUTLOOK.EXE", "Bluebeam Revu"],
      "sample_titles": ["25-125_SLD-E101.dwg - AutoCAD"]
    }
  ],
  "unattributed": [
    { "process": "chrome.exe", "total_minutes": 48, "sample_titles": ["..."] }
  ],
  "meetings": [
    { "subject": "25-019 Design Review", "total_minutes": 62, "sessions": 2 }
  ],
  "inactivity_minutes": 94
}

How Sessions Work

Timewarp doesn't just record every second individually. It stitches activity into sessions:

  • Gaps under 30 seconds in the same app are bridged (you alt-tabbed to copy something and came back)
  • Sessions under 10 seconds are discarded (you accidentally clicked the wrong window)
  • Project numbers are extracted from window titles using the pattern YY-NNN (e.g. 25-125 from 25-125_SLD-E101.dwg)
  • Meetings are detected from Teams/Zoom/Webex window titles
  • Suppressed processes like mstsc.exe (Remote Desktop), LockApp.exe, and ShellExperienceHost.exe are never recorded

Command-line Flags

FlagDescriptionDefault
-dbpathDirectory for database filesSame directory as executable
-mcpRun as MCP stdio server (used by AI desktop apps)false
-installCreate a Windows startup scheduled task
-uninstallRemove the startup scheduled task
-silentRun without system tray iconfalse
-inactivityThresholdInactivity threshold in seconds60
-interfaceNetwork interface for PrometheusAll interfaces
-portPrometheus metrics port9183
-privateReplace window titles with process names in metricsfalse
-debugPrint debug output to consolefalse

Prometheus Metrics (Optional)

Timewarp can expose a Prometheus endpoint for real-time dashboarding. It is off by default — enable it from the tray menu or by toggling it on.

Endpoint: http://localhost:9183/metrics

MetricTypeDescription
focused_window_pidGaugePID of the currently focused window
focused_window_duration_secondsCounterTotal seconds focused per process
focused_window_changes_totalCounterNumber of focus changes
focus_inactivity_seconds_totalCounterTotal seconds of inactivity
meeting_duration_secondsCounterSeconds spent in meetings

Building from Source

git clone https://github.com/vinistoisr/timewarp.git
cd timewarp
go build -ldflags "-H=windowsgui" -o timewarp.exe .

Requires Go 1.24+.

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "vinistoisr-timewarp": {
      "command": "",
      "args": []
    }
  }
}

Timewarp MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Timewarp verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung, fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector: D'Optioun „Dësen Apparat“ ass ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Setzt de kopéierte Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Timewarp als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a setzt d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Setzt d'MCP-Serverkonfiguratioun fir Timewarp an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert d'Säit, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "vinistoisr-timewarp": {
      "command": "npx",
      "args": [
        "-y",
        "timewarp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vun der Integratioun Timewarp. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vun der Integratioun Timewarp.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierten MCP-Tools an engem ausgewielte KI-Modell
Kënnt Dir mir mat Timewarp bei dëser Aufgab hëllefen?
Timewarp
Jo. Ech hunn et gelies.
Dat hunn ech mat Timewarp fonnt.

Heefeg gestallte Froen

Fir wat gëtt den MCP-Server Timewarp benotzt?

Timewarp ass en MCP-Server, deen et kompatibele KI-Clienten erlaabt, op extern Tools a Kontextinformatioune zouzegräifen. An TypingMind kënnt Dir dësen MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Timewarp MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Timewarp mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni den MCP-Server fir all Modell separat anzeriichten.

Firwat Timewarp MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Timewarp verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Ären Aarbechtsoflaf beim Chatten an TypingMind organiséieren.

Wéi verbannen ech Timewarp MCP mat TypingMind?

Timewarp leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann den MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Timewarp MCP an TypingMind zur Verfügung?

Timewarp stellt MCP-Funktioune zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agente zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Timewarp MCP ze benotzen?

Nee. TypingMind ass nom Local-first-Prinzip opgebaut a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Timewarp eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir deen MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇