setup
Claude Code connects to screenpipe via MCP (Model Context Protocol). there are two ways to set this up:option 1: one-click from screenpipe app (recommended)
- open the screenpipe app
- go to settings → connections
- click “install extension” next to Claude Code
- done! Claude Code now has access to screenpipe
option 2: CLI command
option 3: add from JSON config
verify connection
check that screenpipe is connected:available tools
once connected, Claude Code has access to these tools:| tool | description |
|---|---|
search-content | search screen OCR, audio transcriptions, UI elements with time/app filters |
export-video | create video exports from screen recordings |
usage examples
ask Claude Code to use screenpipe naturally:search parameters
thesearch-content tool supports these parameters:
| parameter | description |
|---|---|
q | search query (optional - omit to get all content) |
content_type | ocr, audio, ui, 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
MCP not connecting?- 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/CLI is listed and enabled