Skip to main content
Glama

開発者プレビュー(v0.1-alpha)。 ContextPulseは活発に開発中です。APIと設定はリリース間で変更される可能性があります。問題を報告する。

ContextPulseは、画面、音声、キーボード/マウス操作をリアルタイムでキャプチャし、Model Context Protocol (MCP)を通じてAIエージェントに配信するデスクトップデーモンです。1つのプロセス、1つのトレイアイコン、35のMCPツール、クラウド依存ゼロ。

すべてがローカルに留まります。クラウドなし。テレメトリなし。あなたのデータがマシンの外に出ることはありません。

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

クイックデモ

> 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

ContextPulseが必要な理由

AIコーディングアシスタントは強力ですが、盲目です。画面を見ることも、音声メモを聞くことも、あなたが直前に何をしていたかを知ることもできません。ContextPulseはこのギャップを埋めます:

  • ローカルファースト、クラウド依存ゼロ。 画面、音声、入力データがマシンの外に出ることはありません。アカウント不要、サブスクリプション不要、サードパーティサーバー不要。ポリシーではなくアーキテクチャによるプライバシー。

  • 初日からMCPネイティブ。 ContextPulseはすべてのコンテキストをMCPツールとして公開します。あらゆるMCPクライアント(Claude Desktop、Cursor、Windsurf、VS Code)がカスタム統合なしで完全なコンテキストを取得できます。

  • 単一デーモンで真のマルチモーダル。 画面キャプチャ、音声ディクテーション、キーボード/マウス入力、セマンティックメモリが1つの軽量プロセス(CPU使用率1%未満)で動作します。複数のツールを組み合わせる必要はありません。

  • オープンソース(AGPL-3.0)。 完全に監査可能、セルフホスト可能、拡張可能。ベンダーロックインなし、SaaS依存なし、買収によるサービス停止のリスクなし。

ContextPulseの特長

機能

ContextPulse

一般的に利用可能か?

画面キャプチャ + OCR

あり、ネイティブ解像度

一般的

音声ディクテーション

あり、ローカルWhisper

統合機能としては稀

キーボード + マウストラッキング

あり

稀

セマンティックメモリ

あり、ハイブリッド検索付き3層構造

稀

すべてのモダリティを1つのデーモンで

あり、単一の軽量プロセス

なし、通常は別々のツール

MCPネイティブ

あり、35ツール

発展中

100%ローカル、クラウドゼロ

あり、アーキテクチャによるプライバシー

珍しい

オープンソース

AGPL-3.0

さまざま

プラットフォームサポート

プラットフォーム

ステータス

Windows 10+

フルサポート

macOS 13+(Apple SiliconおよびIntel)

フルサポート

Linux

コミュニティからの貢献を歓迎します -- コア抽象化は整備済み、プラットフォームモジュールの実装が必要です

インストール

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

AIエージェントを設定し、コンパニオンスキルをインストールします:

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

ContextPulseを起動します:

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

これで完了です。AIエージェントに画面、音声、アクティビティ、メモリを読み取るためのツールが備わりました。

~/.claude.jsonに追加:

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

MCPツール

Sight(無料ツール11個)

ツール

機能

get_screenshot

画面をキャプチャ(アクティブモニター、全モニター、または領域)

get_recent

ローリングバッファからの最近のフレーム(差分フィルタリング付き)

get_screen_text

現在の画面をネイティブ解像度でOCR処理

get_monitor_summary

全モニターの軽量テキスト要約(低トークンコスト)

get_buffer_status

デーモンのヘルスチェック + バッファ統計

get_activity_summary

過去N時間のアプリ使用状況の内訳

search_history

ウィンドウタイトル + OCRテキストの全文検索

get_context_at

N分前のフレーム + メタデータ

get_clipboard_history

最近のクリップボードエントリ

search_clipboard

テキスト内容によるクリップボード検索

get_agent_stats

どのMCPクライアントがコンテキストを消費しているか、その頻度

Voice(無料ツール3個)

ツール

機能

get_recent_transcriptions

最近の音声ディクテーション履歴(生 + クリーン済み)

get_voice_stats

ディクテーション回数、時間、精度の統計

get_vocabulary

現在の単語修正エントリ

Touch(無料ツール3個)

ツール

機能

get_recent_touch_events

タイピングバースト、クリック、スクロール、ドラッグ

get_touch_stats

キーストローク数、WPM、クリック/スクロール合計

get_correction_history

音声からタイピングへの修正検出

Project(無料ツール5個)

ツール

機能

identify_project

テキストを全プロジェクトに対してスコアリングし、最適な一致を返す

get_active_project

CWDまたはウィンドウタイトルから現在のプロジェクトを検出

list_projects

概要付きの全インデックス済みプロジェクト

get_project_context

プロジェクトの完全なPROJECT_CONTEXT.md

route_to_journal

インサイトをプロジェクトジャーナルにルーティング

Memory(無料ツール5個 + Proツール2個)

基本メモリは永久に無料です。ライセンスは不要です。

ツール

ティア

機能

memory_store

無料

オプションのタグとTTL付きでキーと値のメモリを保存

memory_recall

無料

正確なキーでメモリを取得

memory_list

無料

メモリを一覧表示、タグでオプションでフィルタリング

memory_forget

無料

キーでメモリを削除

memory_stats

無料

ストレージ統計(エントリ数、DBサイズ、ティア)

memory_search

Pro

保存された全メモリのハイブリッド/キーワード/セマンティック検索

memory_semantic_search

Pro

all-MiniLM-L6-v2埋め込みを使用した純粋なベクトル検索

メモリは3層のホット/ウォーム/コールドアーキテクチャを使用します:インメモリLRUキャッシュ → SQLite WAL + FTS5 → 圧縮アーカイブ。オプションのpip install contextpulse-memoryパッケージにこれらのツールが含まれています。

Pro(ツール4個、ライセンスまたは30日間トライアルが必要)

ツール

機能

memory_search

保存されたメモリのハイブリッド/キーワード/セマンティック検索

memory_semantic_search

文埋め込みを使用した純粋なベクトル検索

search_all_events

画面、音声、クリップボード、キー入力にわたるクロスモーダル全文検索

get_event_timeline

全モダリティにわたる全イベントの時系列ビュー

永久無料: 27ツール(Sight × 11、Voice × 3、Touch × 3、Project × 5、Memory × 5) Pro: セマンティックメモリ検索とクロスモーダルイベントクエリの4つの検索ツールを追加 トライアル: 初回使用時に30日間のProトライアル、クレジットカード不要

さらに、ContextPulseには、時間の経過とともに文字起こし品質を向上させるために自動的に実行されるバックグラウンド学習ツール(語彙の統合、修正検出)が含まれています。

アーキテクチャ

ContextPulseはモジュラーパッケージを備えたモノレポです:

パッケージ

目的

contextpulse-core

デーモン、EventBus(スパイン)、設定、ライセンス、設定

contextpulse-sight

画面キャプチャ、OCR、クリップボード監視

contextpulse-voice

押している間ディクテーション、Whisper文字起こし、語彙

contextpulse-touch

キーボード/マウス操作キャプチャ、修正検出

contextpulse-project

プロジェクト検出とジャーナルルーティング

contextpulse-memory

セマンティック検索付き永続キーと値メモリ(オプション)

すべてのモジュールは共有EventBus(「スパイン」)にイベントを発行し、FTS5全文検索付きのローカルSQLiteデータベースに書き込みます。MCPサーバーはこのデータベースをクエリする読み取り専用プロセスです。

開発

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

ガイドラインについてはCONTRIBUTING.mdを参照してください。

Canaryヘルスチェック

Canaryスクリプトは公開されているすべてのMCPツールを実行し、合格/不合格を報告します。cron/Task Schedulerスケジュールで自動的に実行され、ユーザーが気付く前にリグレッションを検出します。

# 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

機能:

  • ContextPulseデーモンが実行されていない場合は自動起動します

  • 最小限の有効な引数で主要なMCPツールをすべて呼び出します

  • サーバーごとの内訳付きの人間が読める要約を出力します

  • 結果をlogs/canary_results.jsonに追記します(直近100回の実行を保持)

  • すべてのツールが合格した場合は0で終了、いずれかが失敗した場合は1で終了

スケジュール設定(Windows Task Scheduler):

  1. Task Schedulerを開く → 基本タスクの作成

  2. トリガー:毎日、4時間ごとに繰り返し

  3. 操作:プログラムの開始

    • プログラム:<path-to-contextpulse>\.venv\Scripts\python.exe

    • 引数:scripts/canary_health_check.py

    • 開始場所:<path-to-contextpulse>

ライセンス

ContextPulseはGNU Affero General Public License v3.0(AGPL-3.0)の下でライセンスされています。

  • ContextPulseを自由に使用、変更、配布できます

  • 変更してサービスとしてデプロイする場合は、変更をオープンソース化する必要があります

  • プロプライエタリ製品への組み込み用の商用ライセンスが利用可能です

商用ライセンスのお問い合わせは、contextpulse.aiをご覧ください。

特許について

ContextPulseの統合マルチモーダルコンテキスト配信システムは特許出願中です。


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
      -