Skip to main content
Glama

Entwicklervorschau (v0.1-alpha). ContextPulse wird aktiv weiterentwickelt. APIs und Konfiguration können sich zwischen den Versionen ändern. Probleme melden.

ContextPulse ist ein Desktop-Daemon, der Ihren Bildschirm, Ihre Stimme und Ihre Tastatur-/Mausaktivität in Echtzeit erfasst und sie über das Model Context Protocol (MCP) an KI-Agenten liefert. Ein Prozess, ein Tray-Symbol, 35 MCP-Tools, null Cloud-Abhängigkeit.

Alles bleibt lokal. Keine Cloud. Keine Telemetrie. Ihre Daten verlassen niemals Ihren Rechner.

┌─────────────────────────────────────────────────┐
│              ContextPulse Daemon                 │
│                                                  │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐      │
│  │  Sight   │  │  Voice   │  │  Touch   │      │
│  │ Screen   │  │ Dictate  │  │ Keys +   │      │
│  │ OCR      │  │ Whisper  │  │ Mouse    │      │
│  │ Clipboard│  │ Vocab    │  │ Bursts   │      │
│  └────┬─────┘  └────┬─────┘  └────┬─────┘      │
│       └──────────────┼──────────────┘            │
│                      ▼                           │
│              ┌──────────────┐                    │
│              │  EventBus    │                    │
│              │  (Spine)     │                    │
│              └──────┬───────┘                    │
│                     ▼                            │
│              ┌──────────────┐                    │
│              │ activity.db  │                    │
│              │ SQLite+FTS5  │                    │
│              └──────────────┘                    │
└────────────────────┬────────────────────────────┘
                     │ MCP (streamable-http :8420)
        ┌────────────┼────────────┐
        ▼            ▼            ▼
   Claude Code    Cursor      Any MCP
                              Client

Schnelldemo

> You: "What am I looking at right now?"

Claude calls get_screenshot → get_screen_text:

  Active window: VS Code, src/auth/middleware.ts
  OCR text: "export async function validateToken(req: Request)..."
  Clipboard: "Bearer eyJhbGciOiJIUzI1NiIs..."

> Claude: "You're editing the auth middleware in VS Code.
>          I can see the validateToken function, and you have
>          a Bearer token in your clipboard. Want me to help
>          debug the token validation?"
> You hold Ctrl+Space and say: "refactor this to use the new auth provider"

ContextPulse Voice transcribes → pastes into editor
Claude calls get_recent_transcriptions → get_screen_text:

> Claude: "I can see your dictation and the current file.
>          Here's the refactored middleware using AuthProvider..."
> You: "What was I working on before lunch?"

Claude calls get_activity_summary(hours=4) → search_history("auth"):

  10:15 AM  VS Code, auth/middleware.ts (45 min)
  11:00 AM  Chrome, JWT.io (12 min)
  11:15 AM  VS Code, auth/tests/test_middleware.py (30 min)
  11:45 AM  Slack, #backend channel (15 min)

> Claude: "You spent the morning on auth middleware: writing
>          the implementation, checking JWT specs, then adding
>          tests. You were in Slack #backend right before lunch."

Related MCP server: Sutrana

Warum ContextPulse?

KI-Codierungsassistenten sind mächtig, aber blind. Sie können Ihren Bildschirm nicht sehen, Ihre Sprachnotizen nicht hören und nicht wissen, was Sie gerade getan haben. ContextPulse schließt diese Lücke:

  • Lokal zuerst, null Cloud-Abhängigkeit. Ihr Bildschirm, Ihre Stimme und Ihre Eingabedaten verlassen niemals Ihren Rechner. Keine Konten, keine Abonnements, keine Drittanbieter-Server. Datenschutz durch Architektur, nicht durch Richtlinie.

  • Von Anfang an MCP-nativ. ContextPulse stellt den gesamten Kontext als MCP-Tools bereit. Jeder MCP-Client (Claude Desktop, Cursor, Windsurf, VS Code) erhält vollen Kontext ohne benutzerdefinierte Integrationen.

  • Wirklich multimodal in einem einzigen Daemon. Bildschirmaufnahme, Sprachdiktat, Tastatur-/Mauseingabe und semantisches Gedächtnis laufen in einem leichtgewichtigen Prozess (<1% CPU). Kein Zusammensetzen mehrerer Tools.

  • Open Source (AGPL-3.0). Vollständig prüfbar, selbst hostbar und erweiterbar. Keine Herstellerbindung, keine SaaS-Abhängigkeit, kein Risiko von übernahmebedingten Abschaltungen.

Was ContextPulse anders macht

Fähigkeit

ContextPulse

Typischerweise verfügbar?

Bildschirmaufnahme + OCR

Ja, native Auflösung

Häufig

Sprachdiktat

Ja, lokales Whisper

Selten als integrierte Funktion

Tastatur- + Mausverfolgung

Ja

Selten

Semantisches Gedächtnis

Ja, dreistufig mit Hybridsuche

Selten

Alle Modalitäten in einem Daemon

Ja, ein leichtgewichtiger Prozess

Nein, normalerweise separate Tools

MCP-nativ

Ja, 35 Tools

Aufkommend

100% lokal, null Cloud

Ja, Datenschutz durch Architektur

Ungewöhnlich

Open Source

AGPL-3.0

Unterschiedlich

Plattformunterstützung

Plattform

Status

Windows 10+

Volle Unterstützung

macOS 13+ (Apple Silicon und Intel)

Volle Unterstützung

Linux

Community-Beiträge willkommen -- Kernabstraktionen sind vorhanden, Plattformmodule müssen implementiert werden

Installation

git clone https://github.com/ContextPulse/contextpulse
cd contextpulse
# Windows
pip install -e packages/core -e packages/screen -e packages/voice -e packages/touch -e packages/project

# macOS — the [macos] extras are REQUIRED, not optional niceties. They pull in
# pyobjc (clipboard, window, caret, session monitor), rumps (menu bar) and
# mlx-whisper (Apple Silicon transcription). Without them the install succeeds
# and then fails at runtime.
pip install -e "packages/core[macos]" -e "packages/screen[macos]" -e "packages/voice[macos]" \
            -e packages/touch -e packages/project

# Optional: persistent memory + semantic search
pip install -e packages/memory

Konfigurieren Sie Ihren KI-Agenten und installieren Sie Begleitfähigkeiten:

contextpulse --setup claude-code   # configures MCP + installs skills
# or: contextpulse --setup gemini  # for Gemini CLI
# or: contextpulse --setup all     # both

Starten Sie ContextPulse:

contextpulse       # starts the background daemon
contextpulse-mcp   # starts the MCP server on port 8420

Das war's. Ihr KI-Agent hat jetzt Werkzeuge zum Lesen Ihres Bildschirms, Ihrer Stimme, Ihrer Aktivität und Ihres Gedächtnisses.

Fügen Sie zu ~/.claude.json hinzu:

{
  "mcpServers": {
    "contextpulse": {
      "type": "http",
      "url": "http://127.0.0.1:8420/mcp"
    }
  }
}

MCP-Tools

Sicht (11 kostenlose Tools)

Tool

Was es tut

get_screenshot

Bildschirm erfassen (aktiver Monitor, alle Monitore oder eine Region)

get_recent

Aktuelle Frames aus dem Ringpuffer (mit Diff-Filterung)

get_screen_text

OCR des aktuellen Bildschirms in nativer Auflösung

get_monitor_summary

Leichte Textzusammenfassung aller Monitore (niedrige Token-Kosten)

get_buffer_status

Daemon-Health-Check + Pufferstatistiken

get_activity_summary

App-Nutzungsaufschlüsselung der letzten N Stunden

search_history

Volltextsuche über Fenstertitel + OCR-Text

get_context_at

Frame + Metadaten von vor N Minuten

get_clipboard_history

Aktuelle Zwischenablage-Einträge

search_clipboard

Zwischenablage nach Textinhalt durchsuchen

get_agent_stats

Welche MCP-Clients verbrauchen Kontext und wie oft

Stimme (3 kostenlose Tools)

Tool

Was es tut

get_recent_transcriptions

Aktuelle Sprachdiktat-Historie (roh + bereinigt)

get_voice_stats

Diktatanzahl, Dauer, Genauigkeitsstatistiken

get_vocabulary

Aktuelle Wortkorrektureinträge

Berührung (3 kostenlose Tools)

Tool

Was es tut

get_recent_touch_events

Tipp-Bursts, Klicks, Scrolls, Ziehbewegungen

get_touch_stats

Tastendruckanzahl, WPM, Klick-/Scroll-Summen

get_correction_history

Erkennung von Sprach-zu-Tipp-Korrekturen

Projekt (5 kostenlose Tools)

Tool

Was es tut

identify_project

Text gegen alle Projekte bewerten, beste Übereinstimmung zurückgeben

get_active_project

Aktuelles Projekt aus CWD oder Fenstertitel erkennen

list_projects

Alle indizierten Projekte mit Übersichten

get_project_context

Vollständige PROJECT_CONTEXT.md für ein Projekt

route_to_journal

Eine Erkenntnis an das Projektjournal weiterleiten

Gedächtnis (5 kostenlose + 2 Pro-Tools)

Basisgedächtnis ist für immer kostenlos. Keine Lizenz erforderlich.

Tool

Stufe

Was es tut

memory_store

Kostenlos

Ein Schlüssel-Wert-Gedächtnis mit optionalen Tags und TTL speichern

memory_recall

Kostenlos

Ein Gedächtnis nach exaktem Schlüssel abrufen

memory_list

Kostenlos

Gedächtnisse auflisten, optional nach Tag gefiltert

memory_forget

Kostenlos

Ein Gedächtnis nach Schlüssel löschen

memory_stats

Kostenlos

Speicherstatistiken (Eintragsanzahl, DB-Größen, Stufen)

memory_search

Pro

Hybrid-/Schlüsselwort-/semantische Suche über alle gespeicherten Gedächtnisse

memory_semantic_search

Pro

Reine Vektorsuche mit all-MiniLM-L6-v2-Embeddings

Das Gedächtnis verwendet eine dreistufige Heiß/Warm/Kalt-Architektur: In-Memory-LRU-Cache → SQLite WAL + FTS5 → komprimiertes Archiv. Das optionale Paket pip install contextpulse-memory liefert diese Tools.

Pro (4 Tools, erfordert Lizenz oder 30-Tage-Testversion)

Tool

Was es tut

memory_search

Hybride/Schlüsselwort-/semantische Suche über gespeicherte Gedächtnisse

memory_semantic_search

Reine Vektorsuche mit Satz-Embeddings

search_all_events

Modalitätsübergreifende Volltextsuche über Bildschirm, Stimme, Zwischenablage, Tasten

get_event_timeline

Zeitliche Ansicht aller Ereignisse über alle Modalitäten

Für immer kostenlos: 27 Tools (Sicht × 11, Stimme × 3, Berührung × 3, Projekt × 5, Gedächtnis × 5) Pro: fügt 4 Suchtools hinzu: semantische Gedächtnissuche plus modalitätsübergreifende Ereignisabfragen Testversion: 30-tägige Pro-Testversion bei erster Nutzung, keine Kreditkarte erforderlich

Darüber hinaus enthält ContextPulse mehrere Hintergrund-Lerntools (Wortschatz-Konsolidierung, Korrekturerkennung), die automatisch laufen, um die Transkriptionsqualität im Laufe der Zeit zu verbessern.

Architektur

ContextPulse ist ein Monorepo mit modularen Paketen:

Paket

Zweck

contextpulse-core

Daemon, EventBus (Rückgrat), Konfiguration, Lizenzierung, Einstellungen

contextpulse-sight

Bildschirmaufnahme, OCR, Zwischenablage-Überwachung

contextpulse-voice

Halten-zum-Diktieren, Whisper-Transkription, Wortschatz

contextpulse-touch

Tastatur-/Mausaktivitätserfassung, Korrekturerkennung

contextpulse-project

Projekterkennung und Journal-Routing

contextpulse-memory

Persistenter Schlüssel-Wert-Speicher mit semantischer Suche (optional)

Alle Module senden Ereignisse an einen gemeinsamen EventBus (das "Rückgrat"), der in eine lokale SQLite-Datenbank mit FTS5-Volltextsuche schreibt. MCP-Server sind schreibgeschützte Prozesse, die diese Datenbank abfragen.

Entwicklung

git clone https://github.com/ContextPulse/contextpulse
cd contextpulse
uv venv
.venv\Scripts\activate
uv pip install -e "packages/core[dev]" -e packages/screen -e packages/voice -e packages/touch -e packages/project
pytest packages/ -x -q

Siehe CONTRIBUTING.md für Richtlinien.

Canary-Health-Check

Ein Canary-Skript übt jedes verfügbare MCP-Tool aus und meldet bestanden/nicht bestanden. Es läuft automatisch nach einem Cron-/Task-Scheduler-Zeitplan, um Regressionen zu erkennen, bevor Benutzer sie bemerken.

# Run manually
python scripts/canary_health_check.py

# Verbose (shows each tool as it runs)
python scripts/canary_health_check.py --verbose

# JSON output (for CI or external monitoring)
python scripts/canary_health_check.py --json

Was es tut:

  • Startet den ContextPulse-Daemon automatisch, falls er nicht bereits läuft

  • Ruft alle primären MCP-Tools mit minimalen gültigen Argumenten auf

  • Gibt eine menschenlesbare Zusammenfassung mit Aufschlüsselung pro Server aus

  • Hängt Ergebnisse an logs/canary_results.json an (letzte 100 Läufe werden behalten)

  • Beendet mit 0, wenn alle Tools bestehen, 1, wenn eines fehlschlägt

Zeitplanung (Windows Task Scheduler):

  1. Task Scheduler öffnen → Basisaufgabe erstellen

  2. Auslöser: Täglich, Wiederholung alle 4 Stunden

  3. Aktion: Programm starten

    • Programm: <Pfad-zu-contextpulse>\.venv\Scripts\python.exe

    • Argumente: scripts/canary_health_check.py

    • Starten in: <Pfad-zu-contextpulse>

Lizenz

ContextPulse ist unter der GNU Affero General Public License v3.0 (AGPL-3.0) lizenziert.

  • Sie können ContextPulse frei verwenden, modifizieren und verbreiten

  • Wenn Sie es modifizieren und als Dienst bereitstellen, müssen Sie Ihre Änderungen als Open Source veröffentlichen

  • Kommerzielle Lizenzen für die Einbettung in proprietäre Produkte verfügbar

Für kommerzielle Lizenzanfragen besuchen Sie contextpulse.ai.

Patenthinweis

Das vereinheitlichte multimodale Kontextbereitstellungssystem von ContextPulse ist patentrechtlich angemeldet.


Available Tools

36 tools
aboutA

Return a summary of ContextPulse: what it captures, how to install, and where to connect.

Returns a multi-line string describing the daemon, its data sources, the local MCP endpoint, and primary documentation URLs.

USE WHEN: an agent needs to learn what ContextPulse is or where to find docs before deciding to use other ContextPulse tools. NOT FOR: fetching live screen/voice/activity data — use get_screenshot, get_screen_text, get_recent_voice, or get_activity_summary for that. ALTERNATIVES: open GITHUB_URL or SITE_URL directly for human-readable docs.

BEHAVIOR: pure read of static metadata. No side effects, no auth, no rate limits. Safe to call from any agent at any time.

Inputs: no named parameters. Returns: result

add_to_vocabularyA

Add a custom term to ContextPulse's voice vocabulary so Whisper recognizes it correctly.

Returns the stored term, normalized form, and any pronunciation hint accepted.

USE WHEN: a proper noun or technical term keeps mis-transcribing and you want to teach the recognizer. NOT FOR: bulk vocabulary loads — use the local CLI for that. ALTERNATIVES: remove_from_vocabulary to undo, get_vocabulary to inspect.

BEHAVIOR: SIDE EFFECT — writes to the vocabulary database. Persists across daemon restarts. Idempotent for identical (term, pronunciation) pairs; second add updates the entry rather than duplicating.

PARAMETERS: term: the spelling you want Whisper to produce. Required, non-empty. pronunciation: optional phonetic hint (CMU dict format or plain English approximation). Omit to let ContextPulse infer.

Inputs: term (required), pronunciation. Returns: result

describe_workspaceA

Describe the current desktop workspace state: active app, open windows, monitors.

Returns a structured snapshot (active app, foreground window title, list of visible windows by monitor, time-of-day signal).

USE WHEN: you need a quick "where am I in the OS right now" without pulling pixels or OCR. NOT FOR: visual content (use get_screenshot) or text content (use get_screen_text).

BEHAVIOR: pure read. Snapshot is captured at call time; very low cost.

Inputs: no named parameters. Returns: result

get_active_projectA

Detect the user's current project from working directory, active window, and recent activity.

Returns project ID, detection method (cwd / window-title / activity-blend), and confidence.

USE WHEN: starting a session and you need to load the right project's context, or when the user says "where am I" / "what am I working on." NOT FOR: classifying arbitrary text — use identify_project.

BEHAVIOR: pure read; combines multiple signals. Returns "unknown" if nothing matches above the confidence floor.

Inputs: no named parameters. Returns: result

get_activity_summaryA

Summarize the user's activity (apps, focus time, OCR keyword hits) over the last N hours.

Returns a structured summary: per-app time-on-task, top OCR keywords, focus sessions detected, and idle gaps.

USE WHEN: the user asks "what have I been doing" / "where did the day go" / "summarize my last hour." NOT FOR: per-event detail (use get_recent_touch_events) or app-only breakdown (use get_app_usage).

BEHAVIOR: aggregates from buffer + activity log. No side effects. Result accuracy depends on buffer coverage; check get_buffer_status if results look sparse.

PARAMETERS: hours: lookback window. Range 1-24. Default 1.

Inputs: hours. Returns: result

get_app_usageA

Return per-application time-on-task over the last N hours.

Returns a list of (app_name, foreground_seconds, focus_sessions) entries, sorted by foreground time descending.

USE WHEN: you want a clean app-level breakdown without OCR/keyword data. NOT FOR: full activity summary including content — use get_activity_summary.

BEHAVIOR: pure read from foreground-window log. No side effects. Granularity is per-second.

PARAMETERS: hours: lookback window. Range 1-24. Default 1.

Inputs: hours. Returns: result

get_buffer_statusA

Report the rolling capture buffer's size, age range, retention policy, and disk usage.

Returns counts (entries, hours of coverage), bytes on disk, and the configured retention window.

USE WHEN: troubleshooting why search_history returns no results, or before requesting historical context that may have aged out. NOT FOR: contents of the buffer — use get_recent or search_history for that.

BEHAVIOR: pure read of buffer metadata. No side effects.

Inputs: no named parameters. Returns: result

get_clipboard_historyA

Return the most recent N clipboard entries captured by ContextPulse.

Returns entries with timestamp, content (or content-type if non-text), and source application.

USE WHEN: the user references "what I just copied" or wants to recall something they copied earlier in the session. NOT FOR: text search — use search_clipboard.

BEHAVIOR: pure read. Sensitive content (passwords from password managers, OAuth tokens detected by pattern) is auto-excluded from the buffer; those will not appear here.

PARAMETERS: n: how many entries to return, newest-first. Range 1-100. Default 10.

Inputs: n. Returns: result

get_context_atA

Return screen + activity context from a specific point in the recent past.

Returns the captured screen state, OCR text, active window, and clipboard snapshot from the buffer entry closest to the requested timestamp.

USE WHEN: the user references something from earlier ("the error I saw 10 minutes ago", "what was on screen when I started this session") and you need to recall that exact state. NOT FOR: live state (use get_screenshot) or text-search across history (use search_history). ALTERNATIVES: get_recent for a chronological list.

BEHAVIOR: pure read. Returns the closest buffer entry within +/- 30 seconds of the requested point; raises if no entry exists.

PARAMETERS: minutes_ago: how many minutes back to look. Range 0-1440 (24h). Required.

Inputs: minutes_ago (required). Returns: result

get_correction_historyA

Return recent voice transcription corrections detected by the user or auto-detected.

Returns correction events: original transcript, corrected text, confidence delta, timestamp, and whether the correction was manual or auto-suggested.

USE WHEN: training the vocabulary, analyzing systemic Whisper errors, or debugging why a specific term keeps mis-transcribing. NOT FOR: vocabulary management — use add_to_vocabulary / remove_from_vocabulary.

BEHAVIOR: pure read. No side effects.

PARAMETERS: limit: max results, ordered newest-first. Range 1-100. Default 20.

Inputs: limit. Returns: result

get_monitor_summaryA

List the user's connected displays with resolution, scaling, and which is active.

Returns one entry per monitor with index, resolution, scale factor, and a flag marking the monitor that currently contains the cursor.

USE WHEN: about to call get_screenshot and need to know which monitor index to target, or when debugging multi-monitor setups. NOT FOR: capturing pixels — this returns metadata only. ALTERNATIVES: get_screenshot(monitor_index=...) to actually capture.

BEHAVIOR: pure read; no side effects. Result reflects monitor state at call time and may change if the user plugs/unplugs displays.

Inputs: no named parameters. Returns: result

get_project_contextA

Return the full PROJECT_CONTEXT.md for a specific project.

Returns the markdown content as a string, including front-matter if present.

USE WHEN: you need the canonical project description, decisions, and architecture before answering a project-specific question. NOT FOR: live activity — use get_activity_summary for that.

BEHAVIOR: pure read. Returns empty string if the project has no PROJECT_CONTEXT.md.

PARAMETERS: project_id: project slug as returned by list_projects or get_active_project. Required.

Inputs: project_id (required). Returns: result

get_recentA

Return the most recent N screenshots from the rolling capture buffer.

Returns a list of capture entries (timestamp, monitor index, thumbnail reference, OCR snippet) ordered newest-first.

USE WHEN: you need to see what the user was looking at over the last few minutes/hours without triggering a fresh capture. NOT FOR: live state — use get_screenshot for "right now." ALTERNATIVES: get_context_at (specific point in time), search_history (query by OCR text).

BEHAVIOR: pure read from the local buffer. Buffer size and retention are governed by daemon config; defaults to ~last 24h. No side effects.

PARAMETERS: n: how many recent captures to return. Range 1-100. Default 10.

Inputs: n. Returns: result

get_recent_touch_eventsA

Return the most recent N keyboard and mouse activity events.

Returns events with timestamp, type (key/click/scroll), aggregate counts (not individual keystrokes — content is not logged), and active app.

USE WHEN: analyzing input patterns, idle detection, or activity timing. NOT FOR: keylogging — actual keystroke contents are NEVER stored, only aggregate event metadata.

BEHAVIOR: pure read. Privacy guarantee: no key contents, no clipboard targets, no scroll positions inside sensitive apps.

PARAMETERS: n: number of events. Range 1-500. Default 50.

Inputs: n. Returns: result

get_recent_voiceA

Return the most recent N voice transcription segments captured by ContextPulse.

Returns segments with timestamp, transcript text, confidence score, and duration.

USE WHEN: the user references something they just dictated ("what did I just say", "use my last voice note"). NOT FOR: text search over older voice — use search_voice. ALTERNATIVES: search_voice (text query), find_related_context (cross-source).

BEHAVIOR: pure read from the voice transcript log. No side effects.

PARAMETERS: n: how many segments to return. Range 1-100. Default 10.

Inputs: n. Returns: result

get_screenshotA

Capture a screenshot of the active monitor (or a specified monitor) at native resolution.

Returns a base64-encoded PNG plus capture metadata (timestamp, monitor index, resolution).

USE WHEN: you need pixel-level visual context (UI debugging, screenshot of a diagram, evidence of on-screen state). NOT FOR: text extraction — use get_screen_text, which is ~5x cheaper in tokens and runs OCR locally before returning. ALTERNATIVES: get_screen_text (OCR only), get_recent (rolling buffer of past captures), get_context_at (point-in-time recall).

BEHAVIOR: synchronous capture; takes 50-200 ms. Image is also written to the rolling buffer (visible via get_recent). No auth or rate limits — local only.

PARAMETERS: monitor_index: 0-based monitor index from get_monitor_summary. Omit (or pass None) to capture the monitor that currently contains the cursor.

Inputs: monitor_index. Returns: result

get_screen_textA

Run OCR over the current screen and return extracted text only.

Returns extracted text grouped by detected region (window/panel) with approximate bounding boxes.

USE WHEN: you need the textual content visible on screen (code, terminal, chat, docs) and visual layout doesn't matter. NOT FOR: visual content (diagrams, photos) — use get_screenshot. ALTERNATIVES: get_screenshot (raw pixels), search_history (OCR over past captures).

BEHAVIOR: captures + OCR in one call; takes 200-800 ms depending on screen size. Cheaper in tokens than get_screenshot (~200-700 vs ~1200). Result is also indexed into the OCR history (visible via search_history).

Inputs: no named parameters. Returns: result

get_session_summaryA

Summarize the current ContextPulse session (since daemon start) — apps, captures, voice.

Returns aggregate counts (screenshots taken, voice segments transcribed, clipboard events, keystrokes) plus the session start timestamp.

USE WHEN: at the end of a work session and you want a single-call rollup without specifying a window. NOT FOR: arbitrary windows — use get_activity_summary(hours=N).

BEHAVIOR: pure read. Session boundary is set by the most recent daemon start; restarting ContextPulse resets the counter.

Inputs: no named parameters. Returns: result

get_touch_statsA

Return aggregate keyboard and mouse activity stats over the last N hours.

Returns counts: keystrokes (count only — no contents), mouse clicks, scrolls, idle gaps, active-typing minutes.

USE WHEN: producing activity reports, idle detection, or fatigue tracking.

BEHAVIOR: pure read. Privacy guarantee as in get_recent_touch_events.

PARAMETERS: hours: lookback window. Range 1-24. Default 1.

Inputs: hours. Returns: result

get_vocabularyA

List every term in the user's voice vocabulary with pronunciations and add-date.

Returns one entry per term: spelling, pronunciation hint, source (manual / auto-learned), date added.

USE WHEN: auditing what's been taught, or before adding a term to check for duplicates. NOT FOR: searching transcript history — use search_voice.

BEHAVIOR: pure read of the vocabulary database. No side effects.

Inputs: no named parameters. Returns: result

get_voice_statsA

Return dictation quality stats (WPM, confidence average, correction rate) over a window.

Returns aggregate metrics: words-per-minute, average Whisper confidence, correction rate (per get_correction_history), session count.

USE WHEN: the user asks "how is my dictation going" or you're analyzing voice quality trends. NOT FOR: per-segment data — use get_recent_voice or search_voice.

BEHAVIOR: pure read. Returns zero-valued metrics if no voice activity in the window.

PARAMETERS: hours: lookback window. Range 1-720 (30d). Default 24.

Inputs: hours. Returns: result

identify_projectA

Score a text snippet against the indexed project corpus and return the best-match project.

Returns the top project ID, a confidence score (0.0-1.0), and the next two runners-up.

USE WHEN: the user pastes a question or note and you need to route it to the right project's context before answering. NOT FOR: detecting the user's CURRENT project — use get_active_project, which factors in CWD and window title.

BEHAVIOR: pure read; runs TF-IDF + project-keyword scoring. No side effects.

PARAMETERS: text: snippet to classify. Required, non-empty. Longer text scores more reliably; aim for 50+ characters.

Inputs: text (required). Returns: result

list_projectsA

List every project indexed by ContextPulse with name, slug, and a one-line overview.

Returns one entry per project: id, display name, root path, brief summary, last-touched timestamp.

USE WHEN: showing the user a project picker, or before calling get_project_context for a specific project. NOT FOR: full content — use get_project_context for that.

BEHAVIOR: pure read of the project registry. No side effects.

Inputs: no named parameters. Returns: result

memory_forgetA

Delete a memory entry by exact key.

Returns confirmation with the deleted key and whether it existed before deletion.

USE WHEN: a stored value is wrong or no longer needed. NOT FOR: clearing all memory — there is no clear-all tool by design; loop over memory_list and call memory_forget for each key.

BEHAVIOR: SIDE EFFECT — DESTRUCTIVE. Removes the row from the memory database; not recoverable except by re-storing. Idempotent (no-op if key doesn't exist).

PARAMETERS: key: exact key as passed to memory_store. Case-sensitive. Required.

Inputs: key (required). Returns: result

memory_listA

List stored memory keys, optionally filtered by tag.

Returns (key, tag, byte_size, last_updated) entries sorted by last_updated descending.

USE WHEN: auditing what's stored, or before bulk-deleting by tag. NOT FOR: retrieving values — use memory_recall (exact) or memory_search (fuzzy). This returns metadata only.

BEHAVIOR: pure read. Sub-millisecond.

PARAMETERS: tag: filter to entries with this exact tag. Omit to list all entries.

Inputs: tag. Returns: result

memory_recallA

Recall the value stored at an exact key from the local memory database.

Returns the stored value as a string, or a "not found" indicator if the key doesn't exist.

USE WHEN: you stored something via memory_store and need to retrieve it by its exact key. NOT FOR: fuzzy or substring lookup — use memory_search. For semantic similarity, use memory_semantic_search.

BEHAVIOR: pure read. Sub-millisecond. Does NOT update any access timestamp — repeated recall is invisible.

PARAMETERS: key: exact key as passed to memory_store. Case-sensitive. Required.

Inputs: key (required). Returns: result

memory_statsA

Return statistics about the local memory database (entry count, size, tags, embedding state).

Returns counts (rows, distinct tags, total bytes), embedding index status (built / building / stale), and last-write timestamp.

USE WHEN: troubleshooting why memory_semantic_search returns no results, or sizing the user's local data footprint.

BEHAVIOR: pure read of metadata. No side effects.

Inputs: no named parameters. Returns: result

memory_storeA

Persist a string value under a key in ContextPulse's local memory database.

Returns confirmation with the stored key and an indication of whether the write was new or an overwrite.

USE WHEN: you need a value to survive across sessions and be recallable by exact key (preferences, agent memos, named facts). NOT FOR: fuzzy retrieval (use memory_search) or semantic similarity (use memory_semantic_search). For ephemeral session state, hold it in agent context — don't bloat persistent memory. ALTERNATIVES: route_to_journal (timestamped narrative log) is better for journaling.

BEHAVIOR: SIDE EFFECT — overwrites any existing value at the same key (last-write-wins). Persists to the local SQLite memory database; survives daemon restart. Idempotent for identical (key, value, tag) tuples. No auth or rate limits — local only.

PARAMETERS: key: stable identifier. ASCII recommended. Max 256 chars. Required. value: string to persist. Max ~1 MB. Required. tag: optional grouping label, queryable via memory_list(tag=...).

Inputs: key (required), value (required), tag. Returns: result

remove_from_vocabularyA

Remove a term from the voice vocabulary.

Returns confirmation with the removed term and whether the term existed.

USE WHEN: a vocabulary entry is causing wrong corrections or is no longer relevant. NOT FOR: temporarily disabling — there is no soft-disable; this is a permanent delete.

BEHAVIOR: SIDE EFFECT — DESTRUCTIVE. Removes the term from the vocabulary database; not recoverable except by re-adding. Idempotent (no-op if term doesn't exist).

PARAMETERS: term: exact spelling as stored. Required. Case-sensitive — confirm via get_vocabulary first.

Inputs: term (required). Returns: result

route_to_journalA

Route a piece of text to the correct project's journal database.

Returns the project the entry was routed to, the journal entry ID, and storage location.

USE WHEN: the user wants to log something and you want it filed under the right project automatically. NOT FOR: identifying the project without writing — use identify_project. ALTERNATIVES: passing project_id explicitly to skip auto-detection.

BEHAVIOR: SIDE EFFECT — writes a row to the per-project journal SQLite database. Idempotent only if you pass the same content + project pair. Auto-detects the project via identify_project + get_active_project blend when project_id is omitted.

PARAMETERS: text: journal entry content. Required, non-empty. project_id: explicit project slug to route to. Omit to auto-detect.

Inputs: text (required), project_id. Returns: result

search_clipboardA

Full-text search over the clipboard history.

Returns matching entries with timestamp, snippet, and source application.

USE WHEN: the user asks "find that thing I copied about X" / "did I copy the bug ID." NOT FOR: non-text clipboard content — only text entries are indexed.

BEHAVIOR: pure read. Sensitive entries are excluded from the index (see get_clipboard_history).

PARAMETERS: query: substring or FTS expression. Required, non-empty. limit: max results. Range 1-100. Default 20.

Inputs: query (required), limit. Returns: result

search_historyA

Full-text search the OCR history of past screen captures.

Returns matching entries with timestamp, snippet of matched text, and capture reference, ordered by relevance.

USE WHEN: the user asks "when did I see X" / "find that error message" / "show me where I was working on Y." NOT FOR: vector similarity (use memory_semantic_search), live screen (get_screen_text), or non-text content (get_recent).

BEHAVIOR: pure read; sub-100 ms for typical buffers. Search is case-insensitive and runs against OCR text only — visual elements without text won't match.

PARAMETERS: query: substring or simple SQLite FTS expression. Required, non-empty. limit: max results. Range 1-100. Default 20.

Inputs: query (required), limit. Returns: result

search_voiceA

Full-text search over the user's voice transcription history.

Returns matching segments ranked by relevance with timestamp, transcript snippet, and full-segment reference.

USE WHEN: the user references something they said ("when did I mention X", "find the part where I talked about Y"). NOT FOR: live transcription — ContextPulse transcribes asynchronously; very recent audio may not be indexed yet.

BEHAVIOR: pure read. Substring + FTS search. Sub-second for typical buffers.

PARAMETERS: query: substring or FTS expression. Required, non-empty. limit: max results. Range 1-100. Default 20.

Inputs: query (required), limit. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 36 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. Tools like get_screen_text, get_screenshot, get_recent, and get_context_at are well-delineated in their descriptions, and memory operations are separated by exact, substring, and semantic search. The tool set is well-organized and logically partitioned.

    Naming Consistency5/5

    All tool names follow a consistent snake_case convention with predictable verb_noun patterns (e.g., get_activity_summary, add_to_vocabulary, search_history). The naming is uniform and intuitive, facilitating easy understanding of each tool's function.

    Tool Count4/5

    With 36 tools, the count is relatively high, but the server's scope is broad, covering screen capture, OCR, voice transcription, clipboard, memory, project context, activity tracking, and more. Each tool serves a specific need, and the descriptions justify their inclusion. The count is slightly above what is typically considered ideal, but it is still well-scoped and not excessive.

    Completeness5/5

    The tool set provides comprehensive coverage of the ContextPulse domain, including capture, recall, search, statistics, vocabulary management, memory operations, project context, and activity summaries. All major functionality is exposed, and there are no obvious gaps. The design intentionally avoids destructive operations like clear-all, which is a deliberate choice.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      A local autonomous AI agent that watches your screen, understands the visual layout, and executes native OS commands (clicking, typing) without cloud APIs.
      45
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Local-first ambient memory for Mac that captures screen content, indexes it on-device, and provides MCP tools for searching memory, timeline, and open tasks.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to search and retrieve memories from your Mac, including screen captures, meeting transcripts, and browsing history, all locally and privately.
      1
      Elastic 2.0
    • F
      license
      A
      quality
      B
      maintenance
      Runs locally on your Mac to give AI agents a shared, private memory of your profile, notes, projects, and saved web pages, with semantic search and version history.
      31
      -