A Model Context Protocol server for personal journaling with context awareness, relationships, and visualization
Project description
๐ ๏ธ Memory Journal MCP Server
Last Updated October 8, 2025 3:50 PM EST
A production-ready developer journal with knowledge graphs, visual relationship mapping, and intelligent search
๐ Now Production/Stable! Memory Journal has graduated from beta with powerful relationship mapping, 10x faster startup, and comprehensive documentation.
๐ 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
โจ What's New in v1.1.3
๐ Production/Stable Release
Memory Journal has officially graduated from beta! This release includes:
- 15 MCP tools (up from 13)
- 8 workflow prompts (up from 6)
- 3 MCP resources (up from 2)
- 17 comprehensive wiki pages
- Automatic schema migrations
- Production-grade stability
๐ 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
๐ฏ Enhanced Workflow Prompts (8 Total, +2 from v1.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 entries
๐ก New Resources (3 Total, +1 from v1.0)
memory://graph/recent- NEW Live Mermaid diagram of recent relationshipsmemory://recent- 10 most recent entriesmemory://significant- Significant milestones and breakthroughs
๐๏ธ 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)
# Install
pip install memory-journal-mcp
# Add to ~/.cursor/mcp.json
{
"mcpServers": {
"memory-journal": {
"command": "memory-journal-mcp"
}
}
}
# Restart Cursor โ Start journaling!
Option 2: Docker (Full Features - 2 minutes)
# Pull image
docker pull writenotenow/memory-journal-mcp:latest
# Create data directory
mkdir data
# Add to ~/.cursor/mcp.json
{
"mcpServers": {
"memory-journal": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "./data:/app/data",
"writenotenow/memory-journal-mcp:latest",
"python", "src/server.py"
]
}
}
}
# Restart Cursor โ Start journaling!
๐ Core Capabilities
๐ ๏ธ 15 MCP Tools - Complete Development Workflow
Entry Management:
create_entry/create_entry_minimal- Create entries with auto-contextupdate_entry- Edit existing entries (thread-safe)delete_entry- Soft or permanent deletionget_entry_by_id- Retrieve with full relationship details
Search & Discovery:
search_entries- FTS5 full-text search with highlightingsearch_by_date_range- Time-based filtering with tagssemantic_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 periodexport_entries- JSON/Markdown exporttest_simple- Connectivity testing
๐ฏ 8 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 work
๐ 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)
- Recent GitHub issues (via
ghCLI) - 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
- Portable - Take your journal anywhere
๐ Usage Examples
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
})
// Access live graph resource
memory://graph/recent // Most recent 20 entries with relationships
๐๏ธ 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
- 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 5 curated gists with real-world examples and implementation patterns:
- 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
๐ 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-1.1.3.tar.gz.
File metadata
- Download URL: memory_journal_mcp-1.1.3.tar.gz
- Upload date:
- Size: 58.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ad10f2254d2f81855925c8a3ed7b47b3b7504ea12f57bd1c434252f528fe709
|
|
| MD5 |
26cb22083cae2e30db67459c829a2e19
|
|
| BLAKE2b-256 |
7797225887cab363288f4375080fd68cdcd751f121aa21cef4e041118ea9ecf6
|
File details
Details for the file memory_journal_mcp-1.1.3-py3-none-any.whl.
File metadata
- Download URL: memory_journal_mcp-1.1.3-py3-none-any.whl
- Upload date:
- Size: 32.0 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 |
40ed1d86616421f0d6514759bfc95b6c6d315c31a2ecad95f840c581a0cc0fcb
|
|
| MD5 |
af8bf60f2e71d9f5a777732ce2f76107
|
|
| BLAKE2b-256 |
0187526fcd0d699a4f8a7566d38ed140718d45b81ae78380c76d191073628cc0
|