screen-memory-mcp
Enables Claude to remember and search everything that appeared on your screen using local OCR and embeddings. Provides tools for semantic search, activity timeline, and code change tracking.
README
🧠 Screen Memory MCP
Give Claude a perfect memory of everything that's ever been on your screen.
"What was I researching on ChatGPT an hour ago?" "What code did I write this morning?" "Walk me through what I did in the last 30 minutes."
Just ask Claude. It remembers.
How it works
Every N seconds:
📸 Screenshot → 🔤 Windows OCR → 🧬 Embed → 💾 SQLite
(built-in, accurate, (local model, (text only,
no hallucination) no API calls) ~5KB/capture)
100% local. No images stored. No cloud. No API costs.
Features
- Semantic search — "find when I was reading about X" across your entire screen history
- Activity timeline — connected narrative of what you did and why, not just isolated snapshots
- Code tracking — detects VS Code / PyCharm, tracks which files you edited, computes diffs between captures
- App awareness — knows if you were in a browser, editor, or terminal and tags captures accordingly
- Tiny footprint — text + embeddings only, ~5KB per capture, ~30MB/day at 10s interval
Requirements
- Windows 10 / 11
- Python 3.11+
- No Tesseract. No cloud APIs. No external accounts.
Installation
git clone https://github.com/YOUR_USERNAME/screen-memory-mcp
cd screen-memory-mcp
pip install -r requirements.txt
Usage
1. Start the capture daemon
python -m screen_memory.capture --interval 10
| Interval | Storage/day | Recommended for |
|---|---|---|
| 5s | ~90MB | Maximum detail |
| 10s | ~45MB | Daily use ✓ |
| 30s | ~15MB | Light use |
2. Connect to Claude Desktop
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"screen-memory": {
"command": "C:\\Python314\\python.exe",
"args": ["-m", "screen_memory.server"],
"cwd": "C:\\path\\to\\screen-memory-mcp",
"env": {
"PYTHONPATH": "C:\\path\\to\\screen-memory-mcp"
}
}
}
}
Restart Claude Desktop. The screen-memory tools will appear automatically.
3. Ask Claude anything
"What was I doing 20 minutes ago?"
"Summarize my activity for the last hour"
"What code did I write today in VS Code?"
"Find when I was reading about async Python"
"How did server.py change during my coding session?"
MCP Tools
| Tool | Description |
|---|---|
search_screen_memory |
Semantic search across all captures |
get_activity_timeline |
Chronological narrative of a time range |
get_code_changes |
Code diffs per file for a coding session |
get_recent_captures |
Latest N captures |
get_capture |
Full text of a specific capture by ID |
get_stats |
DB size, capture count, date range |
Auto-start on login (Windows)
Run once in an elevated terminal:
schtasks /create /tn "ScreenMemoryCapture" /tr "C:\path\to\start_capture.bat" /sc onlogon /ru YOUR_USERNAME /f
Storage
All data lives in ~/.screen_memory/memory.db — a single SQLite file.
To wipe everything: just delete it.
Privacy
- ✅ Fully offline after install
- ✅ No screenshots saved to disk
- ✅ All text stays on your machine
- ✅ Open source — every line auditable
- ✅ Delete anytime:
rm -rf ~/.screen_memory
Roadmap
- [ ] macOS / Linux support
- [ ] Auto-cleanup (configurable retention period)
- [ ] System tray app (start/stop without terminal)
- [ ] Screenshot viewer (opt-in)
- [ ] Multi-monitor support
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。