AI Agent Memory · MCP Integration
Cursor MCP Memory
Stop explaining your codebase to Cursor every session. screenpipe is a local-first, private AI agent memory. It captures everything you see, hear, and do, then feeds it to Cursor and Windsurf via MCP so they always have full context.
19,000+ GitHub stars · 300,000+ installs · backed by Y Combinator
How Cursor MCP memory works
1. Capture runs in the background
screenpipe records your screen and audio 24/7, locally. OCR extracts text from every window — terminal output, docs, browser tabs, Slack, Zoom — and stores it in a local SQLite database.
2. MCP talks to your local API
The screenpipe MCP server talks to the local screenpipe API at localhost:3030 exposes search and activity tools. Add it to your Cursor or Windsurf MCP config in one step. Local-only mode does not require a cloud path.
3. Cursor queries your history
Cursor and Windsurf can query the MCP server for recent terminal output, code context, meeting notes, or research. Ask about your history and they draw on your full local context — no re-explaining needed.
Quick setup
- 1
Install screenpipe
Download for macOS, Windows, or Linux at screenpipe.com/onboarding. Capture starts automatically.
- 2
Add screenpipe MCP to Cursor config
Add
screenpipe-mcp@latestas a stdio MCP server in~/.cursor/mcp.json(Cursor) or~/.codeium/windsurf/mcp.json(Windsurf). Full instructions in the docs. - 3
Cursor and Windsurf have memory
Open a new Cursor or Windsurf session. Ask it about your recent work and it will query your local screenpipe history for context.
What Cursor can remember with screenpipe
Terminal & code context
Error messages, build output, test results, file diffs. Cursor sees what you ran and what failed, even from yesterday's session.
Browser research
Docs you read, Stack Overflow answers, GitHub issues, captured by OCR even if you closed the tab.
Meeting & conversation notes
Decisions made on Zoom, Slack messages, voice notes — all searchable and available to Cursor and Windsurf.
Cross-session continuity
Yesterday's debugging session, last week's architecture discussion. Context that survives closing the editor.
Give Cursor persistent memory today
Free to start. Local-first. Works on macOS, Windows, and Linux.
Download screenpipeAlso works with Claude Code, Cline, Claude Desktop, and any MCP-compatible agent. Security & privacy details →
Frequently asked questions
Still have questions? Try screenpipe free →