Project context management for AI-assisted development - Persistent knowledge graphs and intelligent context recall across fragmented AI threads
Project description
Memory Journal MCP Server
Last Updated October 28, 2025 - Production/Stable v2.0.0
Project context management for AI-assisted development - Bridge the gap between fragmented AI threads with persistent knowledge graphs and intelligent context recall
๐ฏ Solve the AI Context Problem: When working with AI across multiple threads and sessions, context is lost. Memory Journal maintains a persistent, searchable record of your project work, decisions, and progress - making every AI conversation informed by your complete project history.
๐ Quick Deploy:
- PyPI Package -
pip install memory-journal-mcp - Docker Hub - Alpine-based (225MB) with full semantic search
- MCP Registry - Discoverable by MCP clients
๐ Full Documentation: GitHub Wiki
๐ฐ Read the v1.1.2 Release Article - Learn about knowledge graphs, performance optimizations, and relationship mapping
๐ฏ Why Memory Journal?
The Fragmented AI Context Problem
When managing large projects with AI assistance, you face a critical challenge:
- Thread Amnesia - Each new AI conversation starts from zero, unaware of previous work
- Lost Context - Decisions, implementations, and learnings scattered across disconnected threads
- Repeated Work - AI suggests solutions you've already tried or abandoned
- Context Overload - Manually copying project history into every new conversation is tedious and incomplete
The Solution: Persistent Project Memory
Memory Journal acts as your project's long-term memory, bridging the gap between fragmented AI threads:
For Developers:
- ๐ Automatic Context Capture - Git commits, branches, GitHub issues, PRs, and project state captured with every entry
- ๐ Knowledge Graph - Link related work (specs โ implementations โ tests โ PRs) to build a connected history
- ๐ Intelligent Search - Find past decisions, solutions, and context across your entire project timeline
- ๐ Project Analytics - Track progress from issues through PRs, generate reports for standups/retrospectives/code reviews
For Project Managers:
- ๐ฅ Team Context Continuity - Maintain shared project memory across team members and time
- ๐ Progress Tracking - Monitor milestones, velocity, and cross-project insights from issues to PRs
- ๐ฏ Status Reporting - Generate comprehensive project summaries with PR metrics and timelines
- ๐ GitHub Integration - Connect entries with Projects, Issues, and Pull Requests for unified tracking
For AI-Assisted Work:
- ๐ก AI can query your complete project history in any conversation
- ๐ง Semantic search finds conceptually related work, even without exact keywords
- ๐ Context bundles provide AI with comprehensive project state instantly
- ๐ Relationship visualization shows how different pieces of work connect
Real-World Example
Without Memory Journal:
Thread 1: "Help me design the authentication system"
Thread 2 (next day): "How should I implement user sessions?"
AI: *suggests approach you already decided against*
Thread 3 (next week): "What was our decision about JWT tokens?"
AI: *no memory of previous threads*
With Memory Journal:
Thread 1: Work captured โ "Decided on JWT with refresh tokens"
Thread 2: AI queries history โ "I see you decided on JWT. Let's implement refresh token rotation..."
Thread 3: AI finds related entries โ "Based on your design from Oct 15, here's the implementation..."
โจ What's New in v2.0.0 (Modular Architecture - October 28, 2025)
๐๏ธ Complete Internal Refactoring - Production-Ready Modular Architecture
Transformed from a monolithic 4093-line file into a well-structured, maintainable codebase:
- 96% reduction in main file size (4093 โ 175 lines)
- 30 focused modules (~150-300 lines each for easy navigation)
- Clear separation of concerns (database, GitHub, handlers, utilities)
- 100% backward compatible - Zero breaking changes, seamless upgrade
- No performance degradation - All async operations maintained
- Enhanced maintainability - 10x easier to navigate, modify, and test
๐ New Module Structure
src/
โโโ server.py (175 lines) # Entry point
โโโ database/ # Database layer
โโโ github/ # GitHub integration
โโโ handlers/ # MCP tool/prompt handlers
โโโ constants.py, utils.py, exceptions.py
โโโ vector_search.py
๐ฏ Key Benefits
- For Developers: Much easier to contribute, test, and debug
- For Users: Same great features, more stable and maintainable
- For Operations: Easier to audit, monitor, and optimize
- Future-Ready: Modular structure enables rapid feature development
Migration: No action required! Simply upgrade and restart. All tools, prompts, and resources work identically.
Learn More: See REFACTORING_SUMMARY.md and Architecture Wiki
โจ What's New in v1.2.2 (Security Patch - October 26, 2025)
๐ Security Fix: URL Parsing Vulnerability (CodeQL #110, #111)
Fixed incomplete URL substring sanitization in GitHub remote URL parsing:
- Proper URL validation - Implemented
urllib.parse.urlparse()with exact hostname matching - Prevented URL spoofing - Blocks malicious URLs like
http://evil.com/github.com/fake/repo - Enhanced security - SSH URLs use explicit prefix validation, HTTPS URLs use proper parsing
- No breaking changes - Drop-in replacement maintaining full compatibility
Technical Details
- Vulnerability: CWE-20 (Improper Input Validation)
- Severity: Medium (limited to Git remote URL parsing in local repositories)
- Fix: Replaced substring checks (
'github.com' in url) with properurlparse()validation - Reference: CodeQL Rule py/incomplete-url-substring-sanitization
This security patch maintains full compatibility with v1.2.x - simply upgrade to receive the fix.
โจ What's New in v1.2.1 (Patch Release - October 26, 2025)
๐ Critical Bug Fix: Semantic Search Initialization
Fixed a critical async/lazy loading race condition that could cause semantic search to hang on first use:
- First semantic_search now completes in <1 second (was: could timeout after 30+ seconds)
- Eliminated async lock deadlocks during ML model loading
- Enhanced thread pool from 2 to 4 workers for better concurrent operations
- No more need to cancel and retry - reliable semantic search on every server restart
This patch release maintains full compatibility with v1.2.0 - simply upgrade and restart your MCP client.
โจ What's New in v1.2.0 (Organization Support)
๐ข Organization-Level GitHub Projects - Team Collaboration Ready
Full support for organization-level projects alongside user projects:
- Automatic Owner Detection - Detects whether repo belongs to user or organization
- Dual Project Lookup - Shows both user and org projects in context
- Org Project Analytics - All features work seamlessly with org projects
- Separate Token Support - Optional
GITHUB_ORG_TOKENfor org-specific permissions - Zero Breaking Changes - Fully backward compatible
๐ง Enhanced Features for Organizations
All advanced project analytics now support org projects:
- Cross-Project Insights - Analyze patterns across user AND org projects
- Status Summaries - Comprehensive reports for org project teams
- Milestone Tracking - Track org-level milestones and team velocity
- Project Timelines - Combined journal + GitHub activity for org projects
- Smart Caching - 80%+ API reduction for both user and org projects (24hr owner type cache, 1hr project cache)
๐ Advanced Project Analytics - Deep Insights Across Projects
- Cross-Project Insights - Analyze patterns across all tracked projects
- Project Breakdown - Time distribution and activity analysis per project
- Velocity Tracking - Measure productivity with entries per week
- Smart Caching - 80%+ reduction in API calls with intelligent caching (1hr TTL)
- Inactive Project Detection - Automatically identify projects needing attention
๐ Project Status & Milestone Tracking
- Status Summary Prompt - Comprehensive project reports with GitHub data integration
- Milestone Tracker - Progress visualization with velocity charts
- Project Timeline Resource - Live activity feed combining journal + GitHub events
- Item Status Monitoring - Track completion rates and project item states
๐ GitHub Projects Integration - Enhanced Context Awareness
Seamlessly connect your journal entries with GitHub Projects:
- Automatic Project Detection - Detects GitHub Projects associated with current repository (user & org)
- Active Work Items - Shows what you're actively working on from projects
- Entry-Project Linking - Associate journal entries with specific projects and items
- Project Filtering - Search and filter entries by project number
- Graceful Degradation - Works perfectly without GitHub token (features degrade gracefully)
๐ v2.0.0 - Full Capabilities
- 16 MCP tools - Complete development workflow from entry creation to export
- 13 workflow prompts - Including PR workflow prompts (
pr-summary,code-review-prep,pr-retrospective) - 8 MCP resources - Including issue/PR resources (issue entries, PR entries, PR timelines)
- GitHub Integration - Projects, Issues, and Pull Requests with auto-linking
- Smart caching system - GitHub API response caching (15min issues, 5min PRs, 1hr projects)
- Enhanced analytics - Project breakdown, issue/PR tracking, cross-project insights
- Backward compatible - Seamless upgrade with automatic schema migration
๐ Entry Relationships & Knowledge Graphs
Build connections between your entries with typed relationships:
references- General connections between workimplements- Link implementations to specs/designsclarifies- Add explanations and elaborationsevolves_from- Track how ideas develop over timeresponse_to- Thread conversations and replies
๐ Visual Relationship Mapping
Generate beautiful Mermaid diagrams showing how your work connects:
graph TD
E55["#55: Implementing visualization feature<br/>development_note"]
E56["#56: Testing the new tool<br/>technical_note"]
E57["#57: Documentation improvements<br/>enhancement"]
E56 ==>|implements| E55
E57 -.->|clarifies| E55
style E55 fill:#FFF3E0
style E56 fill:#FFF3E0
style E57 fill:#FFF3E0
โก Performance Revolution
- 10x faster startup - Lazy loading reduces init time from 14s โ 2-3s
- Thread-safe operations - Zero race conditions in concurrent tag creation
- Database lock prevention - Single-connection transactions eliminate conflicts
- Optimized queries - Strategic indexes for relationship traversal
๐ ๏ธ New Tools (15 Total, +2 from v1.0)
visualize_relationships- Generate Mermaid diagrams with depth controllink_entries- Create typed relationships between entries- Plus comprehensive CRUD, triple search, analytics, and export
๐ฏ Workflow Prompts (13 Total in v2.0.0)
find-related- Discover connected entries via semantic similarityprepare-standup- Daily standup summariesprepare-retro- Sprint retrospectivesweekly-digest- Day-by-day weekly summariesanalyze-period- Deep period analysis with insightsgoal-tracker- Milestone and achievement trackingget-context-bundle- Project context with Git/GitHubget-recent-entries- Formatted recent entriesproject-status-summary- GitHub Project status reportsproject-milestone-tracker- Milestone progress trackingpr-summary- Pull request journal activity summarycode-review-prep- Comprehensive PR review preparationpr-retrospective- Completed PR analysis with learnings
๐ก Resources (8 Total in v2.0.0)
MCP Server Identifier: user-memory-journal-mcp (when using recommended config name; Cursor prefixes your config key with user-)
memory://recent- 10 most recent entriesmemory://significant- Significant milestones and breakthroughsmemory://graph/recent- Live Mermaid diagram of recent relationshipsmemory://team/recent- Recent team-shared entriesmemory://projects/{number}/timeline- Project activity timelinememory://issues/{issue_number}/entries- All entries linked to a specific issuememory://prs/{pr_number}/entries- All entries linked to a specific pull requestmemory://prs/{pr_number}/timeline- Combined PR + journal timeline
๐๏ธ Database Improvements
- Automatic schema migrations (seamless v1.0 โ v1.1 upgrades)
- Soft delete support with
deleted_atcolumn - New
relationshipstable with cascading deletes - Enhanced indexes for optimal query performance
๐ Quick Start
Option 1: PyPI (Fastest - 30 seconds)
Step 1: Install the package
pip install memory-journal-mcp
Step 2: Add to ~/.cursor/mcp.json
{
"mcpServers": {
"memory-journal-mcp": {
"command": "memory-journal-mcp"
}
}
}
Step 3: Restart Cursor
Restart Cursor or your MCP client, then start journaling!
Option 2: Docker (Full Features - 2 minutes)
Step 1: Pull the Docker image
docker pull writenotenow/memory-journal-mcp:latest
Step 2: Create data directory
mkdir data
Step 3: Add to ~/.cursor/mcp.json
{
"mcpServers": {
"memory-journal-mcp": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "./data:/app/data",
"writenotenow/memory-journal-mcp:latest",
"python", "src/server.py"
]
}
}
}
Step 4: Restart Cursor
Restart Cursor or your MCP client, then start journaling!
โก Install to Cursor IDE
One-Click Installation
Click the button below to install directly into Cursor:
Or copy this deep link:
cursor://anysphere.cursor-deeplink/mcp/install?name=Memory%20Journal%20MCP&config=eyJtZW1vcnktam91cm5hbCI6eyJhcmdzIjpbInJ1biIsIi0tcm0iLCItaSIsIi12IiwiLi9kYXRhOi9hcHAvZGF0YSIsIndyaXRlbm90ZW5vdy9tZW1vcnktam91cm5hbC1tY3A6bGF0ZXN0IiwicHl0aG9uIiwic3JjL3NlcnZlci5weSJdLCJjb21tYW5kIjoiZG9ja2VyIn19
Prerequisites
- โ Docker installed and running
- โ ~500MB disk space for data directory
Configuration
After installation, Cursor will use this Docker-based configuration. If you prefer manual setup, add this to your ~/.cursor/mcp.json:
{
"memory-journal": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "./data:/app/data",
"writenotenow/memory-journal-mcp:latest",
"python", "src/server.py"
]
}
}
๐ See Full Installation Guide โ
๐ Core Capabilities
๐ ๏ธ 16 MCP Tools - Complete Development Workflow
Entry Management:
create_entry/create_entry_minimal- Create entries with auto-context and GitHub Projects linkingupdate_entry- Edit existing entries (thread-safe)delete_entry- Soft or permanent deletionget_entry_by_id- Retrieve with full relationship details and project info
Search & Discovery:
search_entries- FTS5 full-text search with highlighting and project filteringsearch_by_date_range- Time-based filtering with tags and projectssemantic_search- ML-powered similarity (optional)get_recent_entries- Quick access to recent work
Relationships & Visualization:
link_entries- Create typed relationshipsvisualize_relationships- Generate Mermaid diagrams
Organization & Analytics:
list_tags- Tag usage statisticsget_statistics- Comprehensive analytics by time period with project breakdownget_cross_project_insights- NEW - Cross-project pattern analysisexport_entries- JSON/Markdown exporttest_simple- Connectivity testing
๐ฏ 13 Workflow Prompts - Automated Productivity
prepare-standup- Daily standup summaries from recent entriesprepare-retro- Sprint retrospectives with achievements and learningsweekly-digest- Day-by-day weekly summariesanalyze-period- Deep analysis with pattern insightsgoal-tracker- Milestone and achievement trackingfind-related- Discover connected entries via semantic similarityget-context-bundle- Complete project context (Git + GitHub)get-recent-entries- Formatted display of recent workproject-status-summary- Comprehensive GitHub Project status reportsproject-milestone-tracker- Milestone progress with velocity trackingpr-summary- Pull request journal activity summary with statscode-review-prep- Code review preparation with full contextpr-retrospective- Post-merge PR analysis and learnings
๐ Triple Search System - Find Anything, Any Way
- Full-text search - SQLite FTS5 with result highlighting and rank ordering
- Date range search - Time-based filtering with tag and type filters
- Semantic search - FAISS vector similarity for concept-based discovery (optional)
๐ Entry Relationships - Build Your Knowledge Graph
- 5 relationship types - references, implements, clarifies, evolves_from, response_to
- Bidirectional linking - See both incoming and outgoing relationships
- Graph visualization - Generate Mermaid diagrams with depth control
- Smart discovery - Find related entries via semantic similarity and shared tags
๐ Comprehensive Analytics - Track Your Progress
- Entry counts by type (achievements, notes, milestones, etc.)
- Top tags with usage statistics
- Activity patterns by day/week/month
- Significant milestone tracking
- Export-ready statistics for reports
๐จ Visual Relationship Graphs - See How Work Connects
- 3 visualization modes - Entry-centric, tag-based, recent activity
- Customizable depth - Control relationship traversal (1-3 hops)
- Tag filtering - Focus on specific projects or topics
- Color-coded nodes - Personal (blue) vs Project (orange) entries
- Typed arrows - Different styles for different relationship types
๐ Git & GitHub Integration - Automatic Context Capture
- Repository name and path
- Current branch
- Latest commit (hash + message)
- GitHub Issues - Auto-fetch recent open issues, link entries to issues
- GitHub Pull Requests - Auto-detect current PR from branch, link entries to PRs
- GitHub Projects - Automatic project detection and tracking (user & org)
- Organization Support - Full support for org-level projects alongside user projects
- Project Analytics - Cross-project insights, status summaries, milestone tracking (user & org)
- Smart API Caching - 80%+ API call reduction (15min issues, 5min PRs, 1hr projects, 24hr owner type)
- Timeline Resources - Combined journal + GitHub activity feeds (projects, PRs)
- Auto Owner Detection - Automatically determines if repo belongs to user or organization
- Working directory
- Timestamp for all context
๐ฆ Data Export - Own Your Data
- JSON format - Machine-readable with full metadata
- Markdown format - Human-readable with beautiful formatting
- Flexible filtering - By date range, tags, entry types, projects
- Portable - Take your journal anywhere
๐ง Configuration & Setup
GitHub Projects Integration (Optional):
To enable GitHub Projects features, set the GITHUB_TOKEN environment variable:
# Linux/macOS
export GITHUB_TOKEN="your_github_personal_access_token"
# Windows PowerShell
$env:GITHUB_TOKEN="your_github_personal_access_token"
Organization Projects:
For organization-level projects, you can optionally use a separate token:
# Linux/macOS
export GITHUB_ORG_TOKEN="your_org_access_token"
export DEFAULT_ORG="your-org-name" # Optional: default org for ambiguous contexts
# Windows PowerShell
$env:GITHUB_ORG_TOKEN="your_org_access_token"
$env:DEFAULT_ORG="your-org-name"
Required Scopes:
- User projects:
repo,project - Org projects:
repo,project,read:org(minimum) - Full org features: Add
admin:orgfor team info
Fallback Options:
- Uses GitHub CLI (
gh) ifGITHUB_TOKENis not available - Uses
GITHUB_TOKENifGITHUB_ORG_TOKENnot set - Works without GitHub token (project features gracefully disabled)
- Auto-detects whether owner is user or organization
๐ Usage Examples
Create an Entry with GitHub Projects
// Create an entry linked to a GitHub Project
create_entry({
content: "Completed Phase 1 of GitHub Projects integration - all core features implemented!",
entry_type: "technical_achievement",
tags: ["github-projects", "integration", "milestone"],
project_number: 1, // Links to GitHub Project #1
significance_type: "technical_breakthrough"
})
// Context automatically includes GitHub Projects info
// Search entries by project
search_entries({
project_number: 1,
limit: 10
})
// Filter by project and date range
search_by_date_range({
start_date: "2025-10-01",
end_date: "2025-10-31",
project_number: 1
})
Create an Entry with Relationships
// Create a technical achievement
create_entry({
content: "Implemented lazy loading for ML dependencies - 10x faster startup!",
entry_type: "technical_achievement",
tags: ["performance", "optimization", "ml"],
significance_type: "technical_breakthrough"
})
// Returns: Entry #55
// Link related work
link_entries({
from_entry_id: 56, // Testing entry
to_entry_id: 55, // Implementation
relationship_type: "implements"
})
// Visualize the connections
visualize_relationships({
entry_id: 55,
depth: 2
})
Search and Analyze
// Full-text search with highlighting
search_entries({ query: "performance optimization", limit: 5 })
// Semantic search for concepts
semantic_search({ query: "startup time improvements", limit: 3 })
// Date range with tags
search_by_date_range({
start_date: "2025-10-01",
end_date: "2025-10-31",
tags: ["performance"]
})
// Get analytics
get_statistics({ group_by: "week" })
Generate Visual Maps
// Visualize entry relationships
visualize_relationships({
entry_id: 55, // Root entry
depth: 2 // 2 hops out
})
// Filter by tags
visualize_relationships({
tags: ["visualization", "relationships"],
limit: 20
})
// Listing resources - IMPORTANT: Call with NO parameters first
list_mcp_resources() // โ
Returns actual server identifier (e.g., user-memory-journal-mcp)
// Then fetch using exact identifier from list output
fetch_mcp_resource({
server: "user-memory-journal-mcp", // Use exact name from list_mcp_resources()
uri: "memory://graph/recent"
})
// Available resource URIs:
memory://graph/recent // Most recent 20 entries with relationships
memory://team/recent // Recent team-shared entries (v2.0.0)
Note: Always call list_mcp_resources() without parameters first. MCP clients like Cursor may prefix your config name (e.g., memory-journal-mcp becomes user-memory-journal-mcp).
Advanced Project Features
// Cross-project insights
get_cross_project_insights({
start_date: "2025-10-01",
end_date: "2025-10-31",
min_entries: 3
})
// Returns: Active projects ranked by activity, time distribution, productivity patterns, inactive projects
// Project statistics with breakdown
get_statistics({
start_date: "2025-10-01",
end_date: "2025-10-31",
group_by: "week",
project_breakdown: true
})
// Returns: Standard stats PLUS entries per project, active days per project
// Project status summary (prompt)
project-status-summary({
project_name: "memory-journal-mcp", // optional - filter by repo name
time_period: "sprint", // week, sprint, month
include_items: true
})
// Returns: Project overview, journal activity, key insights
// Milestone tracking (prompt)
project-milestone-tracker({
project_name: "R2-Manager-Worker", // optional - filter by repo name
milestone_name: "v1.2.0" // optional - filter by milestone name
})
// Returns: Milestone progress, velocity chart, journal activity summary
// Access project timeline resource (three formats supported)
memory://projects/1/timeline // By project number
memory://projects/memory-journal-mcp/timeline // By project name (uses current name from GitHub context)
memory://projects/neverinfamous/user/1/timeline // By owner/type/number
// Note: Project names in timeline URIs are looked up from the most recent GitHub context.
// Old journal entries may contain outdated project names in their stored context, but the
// resource lookup always uses the current project name from GitHub.
// Returns: Chronological feed of last 30 days (journal + GitHub events)
Organization Project Support
// Create entry with explicit org project
create_entry({
content: "Sprint planning meeting - discussed Q4 roadmap",
entry_type: "technical_note",
tags: ["sprint-planning", "Q4"],
project_number: 5,
project_owner: "my-company",
project_owner_type: "org"
})
// Auto-detect works for org repos too! (detects owner type automatically)
create_entry({
content: "Fixed critical bug in auth service",
project_number: 5 // Owner and type auto-detected from repo context
})
// Org project status summary
project-status-summary({
project_name: "internal-api", // optional - filter by repo name
owner: "my-company", // optional - auto-detected from git context
owner_type: "org", // optional - auto-detected
time_period: "sprint"
})
// Returns: Org project overview, team activity, key insights
// Org milestone tracking
project-milestone-tracker({
project_name: "internal-api", // optional - filter by repo name
owner: "my-company", // optional - auto-detected from git context
owner_type: "org" // optional - auto-detected
})
// Returns: Org milestone progress, team velocity, activity summary
// Access org project timeline (explicit format)
memory://projects/my-company/org/5/timeline
// Returns: Org project timeline with journal + GitHub events
// Access org project timeline (auto-detect format)
memory://projects/5/timeline
// Returns: Auto-detects if project belongs to org and fetches accordingly
// Cross-project insights automatically includes org projects
get_cross_project_insights({
start_date: "2025-10-01",
end_date: "2025-10-31"
})
// Returns: Insights across BOTH user and org projects
Using Workflow Prompts
Prompts are AI-assisted workflow templates that help you get insights from your journal. Simply ask Cursor's AI naturally:
Natural Language Requests:
Show me my recent journal entries
Show me recent team-shared entries
Prepare my standup for today
Generate a weekly digest
Find entries related to refactoring and testing
Give me a sprint retrospective
Track my progress on the modular architecture goal
Explicit Prompt Usage:
Use the memory-journal prepare-standup prompt for today
Use the memory-journal weekly-digest prompt
Use the memory-journal analyze-period prompt from 2025-10-01 to 2025-10-31
Use the memory-journal goal-tracker prompt with goal "refactoring" and milestone "v2.0.0"
Use the memory-journal find-related prompt with query "performance optimization"
Use the memory-journal project-status-summary prompt for project "memory-journal-mcp"
Available Prompts (10 Total):
Analysis & Reporting:
get-context-bundle- Current project context (Git + GitHub)get-recent-entries- Formatted display of recent entriesanalyze-period- Deep analysis with pattern insightsprepare-standup- Daily standup summariesprepare-retro- Sprint retrospectives
Discovery & Tracking:
weekly-digest- Day-by-day weekly activitygoal-tracker- Milestone and achievement trackingfind-related- Discover semantically related entries
GitHub Projects (v1.2.0+):
project-status-summary- Comprehensive project reportsproject-milestone-tracker- Milestone progress with velocity
How Prompts Work:
- Cursor's AI discovers the 10 available prompts from the MCP server
- When you ask for insights, Cursor recognizes relevant prompts
- The AI uses the prompt templates to query your journal
- Results are automatically formatted and presented
Note: Prompts are internal AI workflow templates, not user-invokable commands. They work best when you ask Cursor's AI naturally about your journal entries.
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MCP Server Layer (Async/Await) โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ
โ โ Entry Creation โ โ Triple Search โ โ Relationshipโ โ
โ โ with Context โ โ FTS5/Date/ML โ โ Mapping โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Thread Pool Execution Layer โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ
โ โ Git Operations โ โ Database Ops โ โ Lazy ML โ โ
โ โ (2s timeout) โ โ Single Conn โ โ Loading โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ SQLite Database with FTS5 + Relationships โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ entries + tags + relationships + embeddings + FTS โโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ง Technical Highlights
Performance & Security
- Python 3.14 - Latest Python with free-threaded support (PEP 779), deferred annotations (PEP 649), and performance optimizations
- 10x faster startup - Lazy loading of ML dependencies (2-3s vs 14s)
- Thread-safe operations - Zero race conditions in tag creation
- WAL mode - Better concurrency and crash recovery
- Database lock prevention - Single-connection transactions
- Aggressive timeouts - Git operations fail-fast (2s per command)
- Input validation - Length limits, parameterized queries, SQL injection prevention
Semantic Search (Optional)
- Model:
all-MiniLM-L6-v2(384-dimensional embeddings) - Storage: FAISS index for fast similarity search
- Graceful degradation: Works perfectly without ML dependencies
Data & Privacy
- Local-first: Single SQLite file, you own your data
- Portable: Move your
.dbfile anywhere - Secure: No external API calls, non-root Docker containers
๐ Documentation
Full documentation available on the GitHub Wiki:
- Installation Guide
- Tools Reference
- Prompts Guide
- Relationship Visualization
- Examples & Tutorials
- Architecture Deep Dive
GitHub Gists: Practical Examples & Use Cases
โ View All Memory Journal Gists
Explore 7 curated gists with real-world examples and implementation patterns:
Core Features (v1.1.2):
- Complete Feature Showcase - All 15 tools, 8 prompts, and 3 resources
- Relationship Mapping & Knowledge Graphs - Build knowledge graphs with typed relationships
- Triple Search System Guide - Master FTS5, date range, and semantic search
- Workflow Automation & Prompts - Standup, retrospectives, and weekly digests
- Git Integration & Context Capture - Automatic project context from Git and GitHub
GitHub Projects & Analytics (v1.2.x): 6. GitHub Projects Integration with Org Support - Connect entries with GitHub Projects (user & org level) 7. Advanced Project Analytics & Insights - Cross-project analytics, status summaries, milestone tracking
๐ Resources
- GitHub Wiki - Complete documentation
- GitHub Gists - 5 practical examples and use cases
- Docker Hub - Container images
- PyPI Package - Python package
- MCP Registry - Official MCP listing
- GitHub Issues - Bug reports & feature requests
- Adamic Support - Project announcements
๐ License
MIT License - See LICENSE file for details.
๐ค Contributing
Built by developers, for developers. PRs welcome! See CONTRIBUTING.md for guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file memory_journal_mcp-2.0.0.tar.gz.
File metadata
- Download URL: memory_journal_mcp-2.0.0.tar.gz
- Upload date:
- Size: 140.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04e886d461e6f413d14bfaa8c09a3b71aeea557c94d2418cb728beae77c26a15
|
|
| MD5 |
7859535a0acae31a4693703bfb0366b7
|
|
| BLAKE2b-256 |
a8819b1bf7cf96d06bbd1bcba2225e5050f9f52aae5a6db4b7e26109f9fd2381
|
File details
Details for the file memory_journal_mcp-2.0.0-py3-none-any.whl.
File metadata
- Download URL: memory_journal_mcp-2.0.0-py3-none-any.whl
- Upload date:
- Size: 100.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a29a6d463a7e1f70bd1cc0c061d9afda87e1dc876f71046dd5a2b589af994d67
|
|
| MD5 |
b0d89df85b9126fd8f94f7e54e05280b
|
|
| BLAKE2b-256 |
8f539c4e9a4b206bf5305d7bf7e745276e5e0c64d944c07a34e8c46f97aa0714
|