About deusXmachina-dev/memorylane
deusXmachina-dev/memorylane is an MCP server published by deusXmachina-dev in the Automation category: agent-native memory layer — persistent context, semantic recall, session history, SDK, CLI, API, and MCP for AI agents and developers. Conduid read 10 tools from its source: browse_timeline, get_activity_details, get_db_path, get_pattern_details, get_user_context, list_patterns and 4 more. No package is published for it, so it installs from a source checkout.
The repository has 125 stars and 15 forks, is licensed GPL-3.0, and its last commit was on 21 Nov 2026. The latest release is v1.5.12 (15 Oct 2026): MemoryLane v1.5.12 Scripted eval recordings now follow what is on screen instead of a timer. It follows v1.5.11 (15 Oct 2026), and the 5 most recent releases go back to v1.5.8 (11 Sep 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include ai-infrastructure, cli, local-first, memory, sdk and talocode.
Install
git clone https://github.com/deusXmachina-dev/memorylaneTools (10)
browse_timelineList activity during a time period — best for broad "what did I do?" questions. Each result is a one-line summary (~20 tokens), so use higher limits (30-50) to get a full picture. Supports uniform sampling to cover long ranges. Returns id, timestamp, app, window title, and summary for activity inference; call get_activity_details only when exact OCR text is needed.| Parameter | Type | Description |
|---|---|---|
| appName | string | Filter: app or website, case-insensitive substring over app name and site host — "notion" matches the Notion app and notion.so, "stripe" matches dashboard.stripe.com |
| endTime * | string | End of time range. Accepts ISO 8601 (e.g., "2024-01-15T18:00:00") or relative strings (e.g., "now", "1 hour ago") |
| limit | number | Maximum number of results to return (default: 100) |
| sampling | string | How to sample when there are more activities than the limit. "uniform" picks evenly spaced entries across the range (default). "recent_first" returns the newest entries. |
| startTime * | string | Start of time range. Accepts ISO 8601 (e.g., "2024-01-15T10:00:00") or relative strings (e.g., "1 hour ago", "yesterday", "2 days ago") |
get_activity_detailsFetch full activity details by ID, including summary and raw OCR screen text. This is the only tool that returns OCR content. Use after browse_timeline or search_context when exact on-screen text is required (quotes, file names, error strings), not as the primary source for activity inference.| Parameter | Type | Description |
|---|---|---|
| ids * | array | Activity IDs to fetch (from search_context or browse_timeline results) |
get_db_pathReturn the database path the MCP server is currently using, where it came from (flag/env/config/default), the active edition, and the default path for that edition. Use to verify you are reading the right DB before querying, or to decide whether to call set_db_path / reset_db_path.get_pattern_detailsFetch one recurring task pattern by ID, with its stats and the individual runs inside the stats window. Each run includes its time range, active minutes, apps, what was done, and the underlying activity IDs (pass those to get_activity_details for exact on-screen text). Use after list_patterns or search_patterns to drill into a specific pattern.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum runs to return, newest first (default: 20) |
| patternId * | string | Pattern ID (from list_patterns or search_patterns results) |
get_user_contextRetrieve the auto-generated user profile built from observed screen activity. Returns a short summary, a detailed summary, and when the profile was last updated. Useful for grounding personalized responses.list_patternsList recurring task patterns mined from captured screen activity. Each pattern is a task the user performs repeatedly, with stats: times seen, estimated runs per week, average active minutes per run, apps involved, and last seen. Classified patterns also carry a kind (procedure, monitoring, ambient, dev-loop, judgment) and a "Replace with" automation recommendation. Ordered most frequent first; one-off noise is hidden. Use search_patterns for keyword filtering and get_pattern_details for individual runs.reset_db_pathClear any custom DB path and revert the MCP server to the default database (the one the MemoryLane recorder writes to). Use after set_db_path when you are done inspecting a different DB.search_contextSemantic search over recorded screen activity sessions. Each result includes id, time, app, window title, and AI summary for summary-first activity reasoning. Use this for targeted questions (e.g. "when did I review PR #142?", "find my work on the auth module"). For exact strings, call get_activity_details to inspect OCR text. If query is omitted, returns activities chronologically (requires startTime or endTime).| Parameter | Type | Description |
|---|---|---|
| appName | string | Filter: app or website, case-insensitive substring over app name and site host — "notion" matches the Notion app and notion.so, "stripe" matches dashboard.stripe.com |
| endTime | string | Filter: only include results before this time. Accepts ISO 8601 (e.g., "2024-01-15T18:00:00") or relative time strings (e.g., "now", "1 hour ago") |
| limit | number | Maximum number of results to return (default: 100) |
| query | string | Semantic search query. When provided, results are ranked by relevance. When omitted, results are returned chronologically (requires at least startTime or endTime). |
| startTime | string | Filter: only include results after this time. Accepts ISO 8601 (e.g., "2024-01-15T10:00:00") or relative time strings (e.g., "1 hour ago", "yesterday", "2 days ago") |
search_patternsSearch recurring task patterns by keyword. Case-insensitive match against the pattern title, description, apps, and automation recommendation. Returns the same stats as list_patterns. Use list_patterns to see all patterns without filtering.| Parameter | Type | Description |
|---|---|---|
| query * | string | Keyword to match against pattern title, description, apps, or automation recommendation |
set_db_pathSet the database path for the MCP server. Persists the path to config and reinitializes the connection. Does not affect the MemoryLane recorder, which always writes to the default DB. Use reset_db_path to revert to the default.| Parameter | Type | Description |
|---|---|---|
| dbPath * | string | Absolute path to the MemoryLane .db file |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 198 words.
- ✓License declaredThe repository declares the GPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json and 3 more.
- ✓No dynamic code executionScanned 367 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/main/mcp/server.ts:11
- Starts other programs
- 10 callssrc/main/apps/installed-apps.ts:278, src/main/processor/ocr-windows-native.ts:215, src/main/processor/ocr.ts:66
- Outbound network calls
- 5 callssrc/main/access/customer-access-provider.ts:109, src/main/access/customer-access-provider.ts:204, src/main/access/enterprise-access-provider.ts:136
- Writes or deletes files
- 88 callssrc/main/activity/activity-cleanup.ts:9, src/main/activity/activity-cleanup.ts:42, src/main/debug/stream-jsonl-dumper.ts:19
- Lockfile
- package-lock.json and 3 more
Pattern matches on the source text of 367 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 198 words, fetched a month ago. The original in the repository is authoritative.
Read full README