Skip to main content
Glama

开发者预览版(v0.1-alpha)。 ContextPulse 正在积极开发中。API 和配置可能在版本之间发生变化。报告问题。

ContextPulse 是一个桌面守护进程,可实时捕获您的屏幕、语音和键盘/鼠标活动,然后通过模型上下文协议(MCP)将其传递给 AI 智能体。一个进程、一个托盘图标、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: shyn

为什么选择 ContextPulse?

AI 编程助手功能强大但却是"盲人"。它们看不到您的屏幕、听不到您的语音笔记,也不知道您刚才在做什么。ContextPulse 弥合了这一差距:

  • 本地优先,零云端依赖。 您的屏幕、语音和输入数据永远不会离开您的机器。无需账户、无需订阅、无需第三方服务器。隐私由架构保障,而非政策承诺。

  • 从第一天起就是 MCP 原生。 ContextPulse 将所有上下文以 MCP 工具的形式暴露。任何 MCP 客户端(Claude Desktop、Cursor、Windsurf、VS Code)无需自定义集成即可获得完整上下文。

  • 单守护进程实现真正的多模态。 屏幕捕获、语音听写、键盘/鼠标输入和语义记忆在同一个轻量级进程中运行(<1% CPU)。无需拼接多个工具。

  • 开源(AGPL-3.0)。 完全可审计、可自托管、可扩展。无供应商锁定、无 SaaS 依赖、无被收购后关停的风险。

ContextPulse 的与众不同之处

能力

ContextPulse

通常是否可用?

屏幕捕获 + OCR

是,原生分辨率

常见

语音听写

是,本地 Whisper

作为集成功能较为罕见

键盘 + 鼠标追踪

是

罕见

语义记忆

是,三层架构配合混合搜索

罕见

所有模态集成于一个守护进程

是,单个轻量级进程

否,通常是独立工具

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 工具

视觉(11 个免费工具)

工具

功能

get_screenshot

捕获屏幕(活动显示器、所有显示器或指定区域)

get_recent

滚动缓冲区中的最近帧(带差异过滤)

get_screen_text

以原生分辨率对当前屏幕进行 OCR

get_monitor_summary

所有显示器的轻量级文本摘要(低 token 消耗)

get_buffer_status

守护进程健康检查 + 缓冲区统计

get_activity_summary

过去 N 小时的应用使用情况细分

search_history

跨窗口标题 + OCR 文本的全文搜索

get_context_at

N 分钟前的帧 + 元数据

get_clipboard_history

最近的剪贴板条目

search_clipboard

按文本内容搜索剪贴板

get_agent_stats

哪些 MCP 客户端在消费上下文,以及消费频率

语音(3 个免费工具)

工具

功能

get_recent_transcriptions

最近的语音听写历史(原始 + 清洗后)

get_voice_stats

听写次数、时长、准确率统计

get_vocabulary

当前词语纠正条目

触控(3 个免费工具)

工具

功能

get_recent_touch_events

打字爆发、点击、滚动、拖拽

get_touch_stats

击键次数、WPM、点击/滚动总数

get_correction_history

语音转打字纠正检测

项目(5 个免费工具)

工具

功能

identify_project

将文本与所有项目进行评分,返回最佳匹配

get_active_project

从 CWD 或窗口标题检测当前项目

list_projects

所有已索引项目及其概览

get_project_context

获取项目的完整 PROJECT_CONTEXT.md

route_to_journal

将洞察路由到项目日志

记忆(5 个免费 + 2 个 Pro 工具)

基础记忆永久免费。无需许可证。

工具

层级

功能

memory_store

免费

存储带可选标签和 TTL 的键值记忆

memory_recall

免费

按精确键检索记忆

memory_list

免费

列出记忆,可选按标签过滤

memory_forget

免费

按键删除记忆

memory_stats

免费

存储统计(条目数、数据库大小、层级)

memory_search

Pro

跨所有已存储记忆的混合/关键词/语义搜索

memory_semantic_search

Pro

使用 all-MiniLM-L6-v2 嵌入的纯向量搜索

记忆采用三层热/温/冷架构:内存 LRU 缓存 → SQLite WAL + FTS5 → 压缩归档。可选的 pip install contextpulse-memory 包提供这些工具。

Pro(4 个工具,需要许可证或 30 天试用)

工具

功能

memory_search

跨已存储记忆的混合/关键词/语义搜索

memory_semantic_search

使用句子嵌入的纯向量搜索

search_all_events

跨屏幕、语音、剪贴板、按键的跨模态全文搜索

get_event_timeline

所有模态下所有事件的时间视图

永久免费: 27 个工具(视觉 × 11,语音 × 3,触控 × 3,项目 × 5,记忆 × 5) Pro: 增加 4 个搜索工具:语义记忆搜索以及跨模态事件查询 试用: 首次使用提供 30 天 Pro 试用,无需信用卡

此外,ContextPulse 还包含几个后台学习工具(词汇整合、纠正检测),可自动运行以随时间提高转录质量。

架构

ContextPulse 是一个包含模块化包的 monorepo:

包

用途

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/任务计划程序计划自动运行,以便在用户遇到问题之前捕获回归。

# 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 任务计划程序):

  1. 打开任务计划程序 → 创建基本任务

  2. 触发器:每天,每 4 小时重复一次

  3. 操作:启动程序

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

    • 参数:scripts/canary_health_check.py

    • 起始于:<path-to-contextpulse>

许可证

ContextPulse 根据 GNU Affero 通用公共许可证 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
      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
      -
    • A
      license
      A
      quality
      C
      maintenance
      Gives AI assistants local access to a Mac's clipboard history, letting them search past clips and lists, read a clip in full (including text recognized inside screenshots), and place a clip back on the system clipboard for the user to paste. Everything runs over 127.0.0.1 with explicit user approval, and assistants cannot delete clips or see items concealed by password managers.
      1
      40 npm
      MIT