setup
verify connection
available tools
once connected, Claude Code has access to these tools:| tool | description |
|---|---|
search-content | search screen OCR, audio transcriptions, input events with time/app filters |
export-video | create video exports from screen recordings |
usage examples
ask Claude Code to use screenpipe naturally:search parameters
search-content (vision + audio + input)
| parameter | description |
|---|---|
q | search query (optional - omit to get all content) |
content_type | vision, audio, accessibility, input, or all (default: all) |
limit | max results (default: 10) |
offset | pagination offset |
start_time | ISO 8601 UTC start time |
end_time | ISO 8601 UTC end time |
app_name | filter by app (e.g., “Chrome”, “Slack”) |
window_name | filter by window title |
include_frames | include base64 screenshots |
speaker_ids | comma-separated speaker IDs for audio filtering |
speaker_name | filter audio by speaker name |
example workflows
recall context from earlier:requirements
- screenpipe running on localhost:3030
- Claude Code CLI installed
- Node.js >= 18.0.0
troubleshooting
AI agent crashed with “Error: AI agent crashed — restarting automatically…”? this happens when Claude Code can’t communicate with screenpipe or screenpipe encounters an error. try these steps in order:-
check screenpipe is running:
you should see
{"status":"healthy"}. if this fails, start screenpipe first. -
verify MCP is connected:
you should see
screenpipein the list with status “ready”. -
check screenpipe has recorded data:
if empty, screenpipe hasn’t recorded anything yet—let it run for a minute and try again.
-
restart the MCP connection:
-
check screenpipe logs:
- macOS/Linux:
~/.screenpipe/screenpipe.log - Windows: check event viewer or
%APPDATA%\screenpipe\logs
- macOS/Linux:
- verify screenpipe is running:
curl http://localhost:3030/health - check MCP status in Claude Code:
/mcp - remove and re-add:
claude mcp remove screenpipe && claude mcp add screenpipe --transport stdio -- npx -y screenpipe-mcp
- check screenpipe has data:
curl "http://localhost:3030/search?limit=1" - ensure screen recording permissions are granted
- verify the time range you’re querying
- macos: check System Settings > Privacy & Security > Screen Recording
- ensure screenpipe app is listed and enabled