About Persistent AI Memory
Persistent AI Memory is an MCP server published by savantskie in the Developer Tools category: a persistent local memory for AI, LLMs, or Copilot in VS Code. Conduid read 39 tools from its source: cancel_appointment, complete_appointment, complete_reminder, create_appointment, create_memory, create_reminder and 33 more. No package is published for it, so it installs from a source checkout.
The repository has 237 stars and 30 forks, is licensed MIT, and its last commit was on 20 Sep 2026. The latest release is v2.0.0 (20 Sep 2026): PAM v2.0.0 -- Full Feature Parity Release Persistent AI Memory (PAM) is now fully in sync with our production system. The release before it was v1.5.0 (28 Mar 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include github-copilot, persistent-memory, lmstudio, ollama, devtools and embeddings.
Install
git clone https://github.com/savantskie/persistent-ai-memoryTools (39)
cancel_appointmentCancel a scheduled appointment| Parameter | Type | Description |
|---|---|---|
| appointment_id * | string | ID of the appointment to cancel |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
complete_appointmentMark an appointment as completed| Parameter | Type | Description |
|---|---|---|
| appointment_id * | string | ID of the appointment to complete |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
complete_reminderMark a reminder as completed| Parameter | Type | Description |
|---|---|---|
| model_id * | string | Model ID for model separation |
| reminder_id * | string | ID of the reminder to complete |
| user_id * | string | User ID for user separation |
create_appointmentCreate an appointment, optionally recurring (e.g., weekly mental health appointments)| Parameter | Type | Description |
|---|---|---|
| description | string | Appointment description |
| location | string | Location |
| model_id * | string | Model ID for model separation |
| recurrence_count | integer | Number of appointments to create (including first), e.g., 12 for 12 weeks |
| recurrence_end_date | string | End date for recurrences (ISO format), alternative to recurrence_count |
| recurrence_pattern | string | Recurrence pattern: 'daily', 'weekly', 'monthly', 'yearly' |
| scheduled_datetime * | string | ISO format datetime for first appointment |
| title * | string | Appointment title |
| user_id * | string | User ID for user separation |
create_memoryCreate a curated memory entry| Parameter | Type | Description |
|---|---|---|
| content * | string | Memory content |
| importance_level | integer | Importance (1-10) |
| memory_bank | string | Memory category (General, Personal, Work, Context, Tasks) |
| memory_type | string | Type of memory |
| model_id * | string | Model ID for model separation |
| source_conversation_id | string | Source conversation ID |
| tags | array | Memory tags |
| user_id * | string | User ID for user separation |
create_reminderCreate a reminder or multiple recurring reminders| Parameter | Type | Description |
|---|---|---|
| content * | string | Reminder content |
| due_datetime * | string | ISO format datetime |
| model_id * | string | Model ID for model separation |
| priority_level | integer | Priority (1-10) |
| recurrence_count | integer | Optional: Number of recurring reminders to create |
| recurrence_end_date | string | Optional: ISO format datetime to stop recurring reminders |
| recurrence_pattern | string | Optional: Pattern for recurring reminders |
| user_id * | string | User ID for user separation |
delete_reminderPermanently delete a reminder| Parameter | Type | Description |
|---|---|---|
| model_id * | string | Model ID for model separation |
| reminder_id * | string | ID of the reminder to delete |
| user_id * | string | User ID for user separation |
export_all_tool_callsExport all tool calls from current and archived databases for LORA training dataset generation (web-only, not for models)| Parameter | Type | Description |
|---|---|---|
| model_id * | string | Model ID for logging (required) |
| output_filename | string | Optional custom filename for export (defaults to timestamp-based name) |
| user_id * | string | User ID for logging (required) |
get_active_remindersGet active (not completed) reminders| Parameter | Type | Description |
|---|---|---|
| days_ahead | integer | Only show reminders due within X days |
| limit | integer | Number of reminders to return |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_ai_insightsGet recent AI self-reflection insights and patterns| Parameter | Type | Description |
|---|---|---|
| insight_type | string | Type of insight to filter |
| limit | integer | Number of insights |
| model_id * | string | Model ID for model separation |
| query | string | Search query for keywords or phrases in insights |
| user_id * | string | User ID for user separation |
get_appointmentsGet recent appointments, optionally filtered by date range| Parameter | Type | Description |
|---|---|---|
| days_ahead | integer | Only show appointments scheduled within X days |
| limit | integer | Number of appointments to return |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_character_contextGet relevant context about characters from memory| Parameter | Type | Description |
|---|---|---|
| character_name * | string | Character name to search for |
| context_type | string | Type of context (personality, relationships, history) |
| limit | integer | Max results |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_completed_remindersGet recently completed reminders| Parameter | Type | Description |
|---|---|---|
| days | integer | Look back X days |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_conversation_contextRetrieve conversation context linked to a memory in three modes: snippet (4 msgs before/after), summary (count, date range, first/last msgs), or full (all messages)| Parameter | Type | Description |
|---|---|---|
| memory_id * | string | ID of the memory to get linked conversation for |
| mode | string | Mode: snippet (default, 4 msgs before/after), summary (overview), or full (all messages) |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_current_timeGet the current server time in ISO format (UTC and local)| Parameter | Type | Description |
|---|---|---|
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_project_continuityGet context to continue development work| Parameter | Type | Description |
|---|---|---|
| limit | integer | Context items |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
| workspace_path * | string | Workspace path |
get_recent_contextGet recent conversation context from the last N days| Parameter | Type | Description |
|---|---|---|
| days_back | integer | Only show messages from the last N days |
| limit | integer | Number of recent items |
| model_id * | string | Model ID for model separation |
| session_id | string | Specific session ID |
| user_id * | string | User ID for user separation |
get_remindersGet recent reminders, optionally filtered by date range| Parameter | Type | Description |
|---|---|---|
| days_ahead | integer | Only show reminders due within X days |
| include_completed | boolean | Include completed reminders |
| limit | integer | Number of reminders to return |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_system_healthGet comprehensive system health, statistics, and database status| Parameter | Type | Description |
|---|---|---|
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_tool_informationGet tool usage statistics OR tool documentation. Pass mode='documentation' to get descriptions of available tools. Optionally specify tool_name to get docs for a specific tool.| Parameter | Type | Description |
|---|---|---|
| client_id | string | For usage mode: Specific client ID to analyze |
| days | integer | For usage mode: Days to analyze |
| mode | string | Mode: 'usage' (default) for statistics or 'documentation' for tool descriptions |
| model_id * | string | Model ID for model separation |
| tool_name | string | Optional: specific tool name to document (only with mode='documentation') |
| user_id * | string | User ID for user separation |
get_upcoming_appointmentsGet upcoming appointments (not cancelled)| Parameter | Type | Description |
|---|---|---|
| days_ahead | integer | Only show within X days |
| limit | integer | Number to return |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
get_weather_open_meteoOpen-Meteo forecast (no API key). Defaults to configured location and caches once per local day.| Parameter | Type | Description |
|---|---|---|
| force_refresh | boolean | Ignore same-day cache |
| latitude | any | Ignored unless override=True |
| longitude | any | Ignored unless override=True |
| model_id * | string | Model ID for model separation |
| return_changes_only | boolean | If true, return only a summary of changed fields for today. |
| severe_update | boolean | If true, shrink the update window to 30 minutes for severe weather. |
| timezone_str | any | Ignored unless override=True |
| update_today | boolean | If true (default), fetch and merge changes into today's file before returning. |
| user_id * | string | User ID for user separation |
link_code_contextLink conversation to specific code context| Parameter | Type | Description |
|---|---|---|
| conversation_id | string | Related conversation ID |
| description * | string | Context description |
| file_path * | string | File path |
| function_name | string | Function name |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
list_available_memory_banksGet list of available memory banks with memory counts per bank| Parameter | Type | Description |
|---|---|---|
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
list_available_tagsGet list of available tags from registry with their canonical forms, variations, and usage counts| Parameter | Type | Description |
|---|---|---|
| memory_bank | string | Filter tags by specific memory bank (optional) |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
reflect_on_tool_usageAI self-reflection on tool usage patterns and effectiveness| Parameter | Type | Description |
|---|---|---|
| client_id | string | Specific client ID to analyze |
| days | integer | Days to analyze |
| model_id * | string | Model ID for model separation |
| user_id * | string | User ID for user separation |
reschedule_reminderUpdate the due date of a reminder| Parameter | Type | Description |
|---|---|---|
| model_id * | string | Model ID for model separation |
| new_due_datetime * | string | New ISO datetime (e.g., 2025-08-03T14:00:00Z) |
| reminder_id * | string | ID of the reminder |
| user_id * | string | User ID for user separation |
save_development_sessionSave VS Code development session context| Parameter | Type | Description |
|---|---|---|
| active_files | array | Active files |
| git_branch | string | Current git branch |
| model_id * | string | Model ID for model separation |
| session_summary | string | Session summary |
| user_id * | string | User ID for user separation |
| workspace_path * | string | Workspace path |
search_memoriesSearch memories using semantic similarity with importance and type filtering, or direct ID lookup. Searches across long-term curated memories, short-term memories, conversations, and schedule. Either 'query' or 'memory_id' must be provided.| Parameter | Type | Description |
|---|---|---|
| database_filter | string | Filter by database type — ai_memories includes both long-term curated and short-term memories |
| limit | integer | Max results |
| max_importance | integer | Maximum importance level to include (1-10) |
| memory_bank | string | Filter by memory bank (e.g., General, Personal, Work, Context, Tasks) |
| memory_id | string | Direct lookup by memory ID (bypasses semantic search, required if query not provided) |
| memory_type | string | Filter by memory type (e.g., 'safety', 'preference', 'skill', 'general') |
| min_importance | integer | Minimum importance level to include (1-10) |
| model_id * | string | Model ID for model separation |
| query | string | Search query (required if memory_id not provided) |
| tags | array | Filter by tags (OR logic - returns memories matching ANY tag) |
| user_id * | string | User ID for user separation |
search_memories_by_dateSearch all memories and conversations chronologically within a date range. If a query is provided, results are filtered by semantic relevance first then sorted by date. If no query, returns everything in the date range oldest-first. Searches short-term memories, long-term curated memories, and conversation history.| Parameter | Type | Description |
|---|---|---|
| database_filter | string | Filter by database type |
| end_date | string | End of date range in ISO format e.g. '2024-12-31' |
| limit | integer | Max results to return |
| memory_bank | string | Optional filter by memory bank |
| model_id * | string | Model ID for model separation |
| query | string | Optional semantic search query to filter results by relevance within the date range |
| start_date | string | Start of date range in ISO format e.g. '2024-10-01' |
| tags | array | Optional filter by tags |
| user_id * | string | User ID for user separation |
search_project_historySearch VS Code project development history| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max results |
| model_id * | string | Model ID for model separation |
| query * | string | Search query |
| user_id * | string | User ID for user separation |
search_roleplay_historySearch past roleplay interactions and character development| Parameter | Type | Description |
|---|---|---|
| character_name | string | Focus on specific character |
| limit | integer | Max results |
| model_id * | string | Model ID for model separation |
| query * | string | Search query |
| user_id * | string | User ID for user separation |
store_ai_reflectionStore an AI self-reflection/insight record (manual write)| Parameter | Type | Description |
|---|---|---|
| confidence_level | number | Confidence 0.0–1.0 |
| content * | string | Freeform write-up of the reflection |
| insights | array | Bullet insights derived from the analysis |
| model_id * | string | Model ID for model separation |
| recommendations | array | Recommended next actions |
| reflection_type | string | Category (e.g., tool_usage_analysis, memory, general) |
| source_period_days | integer | Days of data this reflection summarizes |
| user_id * | string | User ID for user separation |
store_conversationStore conversation automatically| Parameter | Type | Description |
|---|---|---|
| content * | string | Conversation content |
| metadata | object | Additional metadata |
| model_id * | string | Model ID for model separation |
| role * | string | Role (user/assistant) |
| session_id | string | Session identifier |
| user_id * | string | User ID for user separation |
store_project_insightStore development insight or decision| Parameter | Type | Description |
|---|---|---|
| content * | string | Insight content |
| importance_level | integer | Importance (1-10) |
| insight_type | string | Type of insight |
| model_id * | string | Model ID for model separation |
| related_files | array | Related files |
| user_id * | string | User ID for user separation |
store_roleplay_memoryStore important roleplay moments or character developments| Parameter | Type | Description |
|---|---|---|
| character_name * | string | Character involved |
| event_description * | string | What happened |
| importance_level | integer | Importance (1-10) |
| model_id * | string | Model ID for model separation |
| tags | array | Relevant tags |
| user_id * | string | User ID for user separation |
trigger_database_maintenanceManually trigger database maintenance (archival, repairs, optimization) outside of the regular 6-hour schedule| Parameter | Type | Description |
|---|---|---|
| force | boolean | Force maintenance to run immediately, bypassing any running checks |
| model_id * | string | Model ID for user separation |
| user_id * | string | User ID for user separation |
update_memoryUpdate an existing curated memory| Parameter | Type | Description |
|---|---|---|
| content | string | Updated content |
| importance_level | integer | Updated importance |
| memory_id * | string | Memory ID to update |
| model_id * | string | Model ID for model separation |
| tags | array | Updated tags |
| user_id * | string | User ID for user separation |
write_ai_insightsAlias of store_ai_reflection — write an AI self-reflection/insight record| Parameter | Type | Description |
|---|---|---|
| confidence_level | number | Confidence 0.0–1.0 |
| content * | string | Freeform write-up of the reflection |
| insights | array | Bullet insights derived from the analysis |
| model_id * | string | Model ID for model separation |
| recommendations | array | Recommended next actions |
| reflection_type | string | Category (e.g., tool_usage_analysis, memory, general) |
| source_period_days | integer | Days of data this reflection summarizes |
| user_id * | string | User ID for user separation |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.8K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 17 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
- stdioai_memory_mcp_server.py:44
- Starts other programs
- 2 callsai_memory_core.py:6556, ai_memory_core.py:6583
- Outbound network calls
- 17 callsai_memory_core.py:4570, ai_memory_core.py:4597, ai_memory_core.py:4650
- Writes or deletes files
- 46 callsai_memory_core.py:117, ai_memory_core.py:3476, ai_memory_core.py:4474
- Lockfile
- None in the repository
Pattern matches on the source text of 17 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.8K words, fetched a month ago. The original in the repository is authoritative.
Read full README