Skip to main content
Glama

Developer Preview (v0.1-alpha). ContextPulse is under active development. APIs and configuration may change between releases. Report issues.

ContextPulse is a desktop daemon that captures your screen, voice, and keyboard/mouse activity in real time, then delivers it to AI agents through the Model Context Protocol (MCP). One tray-icon daemon does the capture, a companion MCP process serves it to your agent. 37 MCP tools, zero cloud dependency.

Capture, storage and search all run on your machine, and there is no telemetry. ContextPulse sends nothing off the machine until you switch on one of three network features, each off by default:

  • Semantic memory search downloads its embedding model from huggingface.co the first time you use it. One file, once, then it runs offline.

  • Voice LLM cleanup sends the text of a dictation to Anthropic's API to fix grammar and strip filler words. It needs an API key in voice_anthropic_api_key (or ANTHROPIC_API_KEY) and voice_always_use_llm turned on. The same key lets the vocabulary learner send recent transcript pairs to Anthropic to find words that speech recognition keeps mishearing.

  • The fact consolidator, scripts/probe_consolidator.py, pipes recent captured events to the Claude CLI to distill them into facts. That prompt carries app names, window titles and the captured text itself. It runs only when you run the script or schedule it.

Captured text is redacted before it is stored and again before any MCP tool returns it. Rows written before 0.1.1 are redacted in place by a one-time sweep on the first daemon or MCP-server start after upgrade; scripts/purge_clipboard_secrets.py is there if you want to run it by hand. See SECURITY.md for what the filter covers and what it does not.

A note on MCP clients. Once your agent reads a tool result, what happens to it next is that client's decision, not ours. A local model keeps it on the machine. A cloud-backed client sends it to its provider like any other prompt. That applies to every context tool you give an agent, and ContextPulse cannot see or control the hop.

┌─────────────────────────────────────────────────┐
│              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

Quick Demo

> 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: "[REDACTED:BEARER]"

> Claude: "You're editing the auth middleware in VS Code.
>          I can see the validateToken function. You copied a
>          bearer token, but ContextPulse masked it on the way
>          to disk, so all I get is the marker. 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

Why ContextPulse?

AI coding assistants are powerful but blind. They can't see your screen, hear your voice notes, or know what you were just doing. ContextPulse bridges this gap:

  • Local-first. Capture, storage and search run on your machine. Core features need no account. Pro is an optional paid tier unlocked by a license key that verifies offline. ContextPulse contacts no third-party server until you switch on one of the opt-in network features listed above, two of which send captured text to Anthropic and are off by default.

  • MCP-native from day one. ContextPulse exposes all context as MCP tools over streamable HTTP, so any standards-compliant MCP client can read it without a custom integration. Ready-made config snippets for Claude Code, Cursor and Continue are in docs/mcp-configs.

  • True multi-modal in a single daemon. Screen capture, voice dictation and keyboard/mouse input all run in one background process. No stitching multiple tools together.

  • Open source (AGPL-3.0). Fully auditable, self-hostable, and extensible. No vendor lock-in, no SaaS dependency, no risk of acquisition-driven shutdowns.

What Makes ContextPulse Different

Capability

ContextPulse

Typically Available?

Screen capture + OCR

Yes, native resolution

Common

Voice dictation

Yes, local Whisper

Rare as integrated feature

Keyboard + mouse tracking

Yes

Rare

Semantic memory

Yes, three-tier with hybrid search

Rare

All capture in one daemon

Yes, single background process

No, usually separate tools

MCP-native

Yes, 37 tools

Emerging

Local capture and storage

Yes, with three opt-in network features, all off by default

Uncommon

Open source

AGPL-3.0

Varies

Platform Support

Platform

Status

Windows 10+

Supported. Installer on the Releases page

macOS

Planned. Platform code exists but has not been verified end to end; no Mac build is offered

Linux

Community contributions welcome -- core abstractions are in place, platform modules need implementation

Installation

Windows installer (no Python needed)

  1. Download ContextPulseSetup-<version>.exe from the latest release and run it. It installs for your user account only, so it needs no administrator rights. The installer is not code-signed yet, so Windows SmartScreen may warn you first: choose More info, then Run anyway.

  2. ContextPulse starts in the system tray. Pro tools are open for a 30-day trial from first use, with no card needed.

  3. Connect your agent: copy the access token from the tray under Settings -> MCP Access. Then see Manual MCP configuration below.

Activating Pro

  1. Buy a Pro licence ($29, one time) at gumroad.com/l/lpcuoe. Your licence key arrives by email.

  2. In the tray menu choose Enter License Key and paste the key. The key is checked offline against a public key built into the app.

Without the tray, save the key to a text file and run, from the install folder (by default %LOCALAPPDATA%\Programs\ContextPulse):

.\ContextPulseCLI.exe --activate-license C:\path\to\key.txt
.\ContextPulseCLI.exe --license-status

--license-status should report tier=pro and source=license. Add --json to either command for machine-readable output.

From source

macOS from source is unverified: the [macos] extras below are what the code expects, but no Mac install has been tested end to end.

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

Configure your AI agent and install companion skills:

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

contextpulse --setup writes the authenticated contextpulse entry into Claude Code, Cursor and Gemini CLI, creating the access token if this is the first run. Re-run it after regenerating the token.

Start ContextPulse:

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

That's it. Your AI agent now has tools for reading your screen, voice, activity, and memory.

Add to ~/.claude.json:

{
  "mcpServers": {
    "contextpulse": {
      "type": "http",
      "url": "http://127.0.0.1:8420/mcp",
      "headers": { "Authorization": "Bearer YOUR_TOKEN_HERE" }
    }
  }
}

The endpoint requires an access token. ContextPulse generates one per install on first use and stores it with user-only permissions at %APPDATA%\ContextPulse\mcp_token (macOS: ~/Library/Application Support/ContextPulse/mcp_token; Linux: $XDG_CONFIG_HOME/ContextPulse/mcp_token). Print yours with contextpulse-mcp --print-config claude-code, or find it in the tray under Settings -> MCP Access. See docs/mcp-configs for Cursor, Gemini CLI, Claude Desktop and troubleshooting.

The token defends against other local callers: other accounts on the machine, sandboxed applications with loopback access, and other MCP clients and agents. It does not defend against a process already running as you, which can read the token file and the databases directly.

MCP Tools

Sight (11 free tools)

Tool

What it does

get_screenshot

Capture screen (active monitor, all monitors, or a region)

get_recent

Recent frames from the rolling buffer (with diff filtering)

get_screen_text

OCR the current screen at native resolution

get_monitor_summary

Lightweight text summary of all monitors (low token cost)

get_buffer_status

Daemon health check + buffer stats

get_activity_summary

App usage breakdown over last N hours

search_history

Full-text search across window titles + OCR text

get_context_at

Frame + metadata from N minutes ago

get_clipboard_history

Recent clipboard entries

search_clipboard

Search clipboard by text content

get_agent_stats

Which MCP clients are consuming context, and how often

Voice (7 free tools)

Tool

What it does

get_recent_transcriptions

Recent voice dictation history (raw + cleaned)

get_voice_stats

Dictation count, duration, accuracy stats

get_vocabulary

Current word correction entries

learn_from_session

Analyze dictation history to auto-learn vocabulary corrections (patterns seen 2+ times)

rebuild_context_vocabulary

Rebuild vocabulary from PROJECT_CONTEXT.md files (project names + domain terms)

consolidate_learning

Run the full cross-modal vocabulary consolidation pipeline (the core learning loop)

check_corrections

Detect repeated voice corrections that should become permanent vocabulary

Touch (3 free tools)

Tool

What it does

get_recent_touch_events

Typing bursts, clicks, scrolls, drags

get_touch_stats

Keystroke count, WPM, click/scroll totals

get_correction_history

Voice-to-typing correction detections

Project (5 free tools)

Tool

What it does

identify_project

Score text against all projects, return best match

get_active_project

Detect current project from CWD or window title

list_projects

All indexed projects with overviews

get_project_context

Full PROJECT_CONTEXT.md for a project

route_to_journal

Route an insight to the project journal

Recall (2 free tools)

Tool

What it does

facts_about

Consolidated facts about a project, person, file, tool, or topic

context_at

What was happening around a given moment in time

These two read the nightly-distilled fact store, so they return nothing until the consolidator has run at least once.

Memory (5 free + 2 Pro tools)

Basic memory is free forever. No license required.

Tool

Tier

What it does

memory_store

Free

Store a key-value memory with optional tags and TTL

memory_recall

Free

Retrieve a memory by exact key

memory_list

Free

List memories, optionally filtered by tag

memory_forget

Free

Delete a memory by key

memory_stats

Free

Storage statistics (entry counts, DB sizes, tiers)

memory_search

Pro

Hybrid/keyword/semantic search across all stored memories

memory_semantic_search

Pro

Pure vector search using all-MiniLM-L6-v2 embeddings

Memory uses a 3-tier hot/warm/cold architecture: in-memory LRU cache → SQLite WAL + FTS5 → compressed archive. The optional pip install contextpulse-memory package ships these tools.

Pro (4 tools, requires license or 30-day trial)

Tool

What it does

memory_search

Hybrid/keyword/semantic search across stored memories

memory_semantic_search

Pure vector search using sentence embeddings

search_all_events

Cross-modal full-text search across screen, voice, clipboard, keys

get_event_timeline

Temporal view of all events across all modalities

Free forever: 33 tools (Sight × 11, Voice × 7, Touch × 3, Project × 5, Memory × 5, Recall × 2) Pro: adds 4 search tools: semantic memory search plus cross-modal event queries Trial: 30-day Pro trial on first use, no credit card required

Additionally, ContextPulse includes several background learning tools (vocabulary consolidation, correction detection) that run automatically to improve transcription quality over time.

Architecture

ContextPulse is a monorepo with modular packages:

Package

Purpose

contextpulse-core

Daemon, EventBus (spine), config, licensing, settings

contextpulse-sight

Screen capture, OCR, clipboard monitoring

contextpulse-voice

Hold-to-dictate, Whisper transcription, vocabulary

contextpulse-touch

Keyboard/mouse activity capture, correction detection

contextpulse-project

Project detection and journal routing

contextpulse-memory

Persistent key-value memory with semantic search (optional)

All modules emit events to a shared EventBus (the "spine"), which writes to a local SQLite database with FTS5 full-text search. The MCP servers never write to activity.db; that pipeline is capture-only. The memory server is the exception, and writes by design to its own memory.db through memory_store and memory_forget.

Development

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

# Mirrors what GitHub Actions runs. `pytest packages/` alone misses the guards
# in the root tests/ directory, which is how a pull request goes red after a
# clean-looking local run. --fast does lint plus those guards in ~2s.
bash scripts/ci-tests.sh

See CONTRIBUTING.md for guidelines.

Canary Health Check

A canary script exercises every exposed MCP tool and reports pass/fail. It runs automatically on a cron/Task Scheduler schedule to catch regressions before users do.

# 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

What it does:

  • Auto-starts the ContextPulse daemon if it is not already running

  • Calls all primary MCP tools with minimal valid arguments

  • Prints a human-readable summary with per-server breakdown

  • Appends results to logs/canary_results.json (last 100 runs retained)

  • Exits 0 if all tools pass, 1 if any fail

Scheduling (Windows Task Scheduler):

  1. Open Task Scheduler → Create Basic Task

  2. Trigger: Daily, repeat every 4 hours

  3. Action: Start a program

    • Program: <path-to-contextpulse>\.venv\Scripts\python.exe

    • Arguments: scripts/canary_health_check.py

    • Start in: <path-to-contextpulse>

License

ContextPulse is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

  • You can use, modify, and distribute ContextPulse freely

  • If you modify and deploy it as a service, you must open-source your changes

  • Commercial licensing available for embedding in proprietary products

For commercial licensing inquiries, visit contextpulse.ai.

Patent Notice

ContextPulse's unified multi-modal context delivery system is patent pending.


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
      -