crates/screenpipe-connect/screenpipe-mcp/README.md
<a href="https://www.pulsemcp.com/servers/screenpipe-screenpipe"></a>
https://github.com/user-attachments/assets/7466a689-7703-4f0b-b3e1-b1cb9ed70cff
MCP server for screenpipe - search your screen recordings, audio transcriptions, and control your computer with AI.
The easiest way to use screenpipe-mcp is with npx. Edit your Claude Desktop config:
~/Library/Application Support/Claude/claude_desktop_config.json%AppData%\Claude\claude_desktop_config.json{
"mcpServers": {
"screenpipe": {
"command": "npx",
"args": ["-y", "screenpipe-mcp"]
}
}
}
The MCP server can run over HTTP using the Streamable HTTP transport, allowing remote MCP clients to connect over the network instead of stdio. This is ideal when your AI assistant (e.g., OpenClaw) runs on a different machine than screenpipe.
# from npm
npx screenpipe-mcp-http --port 3031
# or from source
npm run start:http -- --port 3031
The server exposes:
http://localhost:3031/mcp — Streamable HTTP transport (POST for requests, GET for SSE stream)http://localhost:3031/healthOptions:
| Flag | Description | Default |
|---|---|---|
--port | Port for the MCP HTTP server | 3031 |
--screenpipe-port | Port where screenpipe API is running | 3030 |
Connecting a remote MCP client:
Point any MCP client that supports HTTP transport at the /mcp endpoint:
{
"mcpServers": {
"screenpipe": {
"url": "http://<your-ip>:3031/mcp"
}
}
}
If your machines are on different networks, expose port 3031 via Tailscale, SSH tunnel, or similar — see the OpenClaw integration guide for detailed examples.
Note: The HTTP server currently exposes
search_contentonly. The stdio server has the full tool set (export-video, list-meetings, activity-summary, search-elements, frame-context). We're working on bringing HTTP to full parity.
Clone and build from source:
git clone https://github.com/screenpipe/screenpipe
cd screenpipe/crates/screenpipe-integrations/screenpipe-mcp
npm install
npm run build
Then configure Claude Desktop:
{
"mcpServers": {
"screenpipe": {
"command": "node",
"args": ["/absolute/path/to/screenpipe-mcp/dist/index.js"]
}
}
}
Note: Restart Claude Desktop after making changes.
Test with MCP Inspector:
npx @modelcontextprotocol/inspector npx screenpipe-mcp
| Mode | Command | Use Case |
|---|---|---|
| stdio (default) | npx screenpipe-mcp | Claude Desktop, local MCP clients |
| HTTP | npx screenpipe-mcp-http | Remote clients, network access, OpenClaw on VPS |
Search through recorded content with content type filtering:
all — OCR + Audio + Accessibility (default)ocr — Screen text from screenshotsaudio — Audio transcriptionsinput — User actions (clicks, keystrokes, clipboard, app switches)accessibility — Accessibility tree textExport screen recordings as video files:
Get a lightweight compressed activity overview for a time range:
List detected meetings with duration, app, and attendees.
Search structured UI elements (accessibility tree nodes and OCR text blocks):
Get accessibility text, parsed tree nodes, and extracted URLs for a specific frame.