Transform your Obsidian vault into a temporal knowledge graph powered by Graphiti. This plugin automatically discovers schema patterns from your notes' frontmatter and syncs them to a knowledge graph accessible by AI assistants through the Model Context Protocol (MCP).
IMPORTANT Not all features and functions are fully tested. We actively use this plugin every day with our intenral team, working on Windows with Neo4j. Although the infrastructure is there to support Mac/Linux & other db providers, we haven't tested them yet.
- Development Repo is private, along with obsidian source code. As we near Beta Launch, all source code will be pushed to this repo and request made to Obsidian Community Plugins.
- Early beta-testers are encouraged to contact the developer for a full obsidian template and customization services. Trust me, even at this stage, it's worth it(!)
- Smart Vault Scanning: Automatically discovers entity types and properties from your existing notes' frontmatter
- Intelligent Type Inference: Analyzes actual values to determine property types (string, number, date, array, etc.)
- No Manual Configuration: Unlike traditional approaches, you don't need to define schemas manually
- Visual Schema Editor: Intuitive interface to review and customize discovered schemas
- Property Management: Toggle properties on/off, edit descriptions, and refine types
- Pydantic Model Generation: One-click generation of Python models for Graphiti integration
- Best Practices Compliance: Automatic validation against Graphiti naming conventions and protected attributes
- Intelligent Auto Sync: Smart synchronization with granular control over when and what gets synced
- Filtering Options: Choose between syncing "New notes only" or "New and updated notes"
- Real-time Synchronization: Automatic sync on save, scheduled intervals, and manual triggers
- Custom Entity Support: Define your own entity types beyond standard Person/Company models
- Relationship Mapping: Automatically extract and map relationships between entities
- MCP Protocol Support: Make your knowledge graph accessible to Claude and other AI assistants
- Contextual Search: AI can query your knowledge graph for relevant information
- Dynamic Ontologies: Your custom schemas are understood by AI assistants
- Enhanced AI Responses: Get more accurate, context-aware responses based on your personal knowledge
- Obsidian: Version 0.15.0 or higher
- Database: Neo4j Desktop or FalkorDB (via Docker)
- Python: Version 3.11+ (for MCP server)
- Node.js: Version 18+ (for development)
- Install the plugin from Obsidian Community Plugins (coming soon) or build from source
- Set up your graph database (Neo4j or FalkorDB)
- Configure the MCP server for AI integration
- Open the Schema Manager to discover your vault's patterns
- Start syncing your notes to the knowledge graph!
The plugin scans your vault to find patterns in frontmatter:
---
type: Person
name: "John Doe"
occupation: "Software Engineer"
company: "TechCorp"
skills: ["Python", "JavaScript", "GraphQL"]
---
Based on your actual data, the plugin infers property types and generates schemas:
class Person(BaseModel):
name: Optional[str] = Field(None, description="Person's full name")
occupation: Optional[str] = Field(None, description="Current occupation")
company: Optional[str] = Field(None, description="Current employer")
skills: Optional[List[str]] = Field(None, description="List of skills")
Your notes are transformed into a temporal knowledge graph:
- Entities become nodes with properties
- Relationships are extracted from content
- Consecutive notes dynamically update the Graph
- AI assistants can query this structured data
- Track people you meet, companies you research, projects you work on
- Build a personal CRM within Obsidian
- Visualize connections between ideas and entities
- Organize research papers, authors, and concepts
- Track citations and relationships between works
- Build domain-specific knowledge graphs
- Track competitors, market trends, and industry insights
- Build company knowledge bases
- Create structured data from unstructured notes
- Manage characters, locations, and plot elements for writing
- Track inspiration sources and creative connections
- Build world-building databases
Choose between:
- Neo4j Desktop: Full-featured graph database with visualization
- FalkorDB: Lightweight Redis-based graph database
- Kuzu: coming soon
- Neptune: coming soon
The plugin features a custom MCP server that seamlessly bridges your Obsidian vault with AI assistants. It enables:
- Intelligent Communication: Facilitates communication between your vault, Graphiti, and connected AI models.
- AI-Powered Access: Allows AI assistants to directly interact with and query your knowledge graph.
- Dynamic Schema Sync: Manages the synchronization of your discovered schema patterns, ensuring AI understands your custom data structures.
- Database Configuration: Connection details and credentials
- Auto Sync Settings: Enable/disable automatic synchronization with intelligent filtering
- Sync Options: Choose between "New notes only" or "New and updated notes" for auto sync
- Sync Preferences: Choose folders to include/exclude from synchronization
- Field Management: Set globally ignored properties
- Advanced Options: Batch sizes, logging, performance tuning, and sync intervals
Explore the comprehensive documentation for MegaMem to get started and deepen your understanding:
- Introduction - Overview of MegaMem and its core concepts.
- Quick Start Guide - Get up and running in minutes.
- Plugin Settings - Detailed reference for all configuration options.
- Database Setup - Configure your preferred graph database.
- Claude Desktop Integration - Connect MegaMem with Claude Desktop.
- Custom Entity Types & Ontology Manager - Define and manage your custom data schemas.
- Sync Manager - Control how your notes are synchronized with the knowledge graph.
- MCP Commands - Reference for available Model Context Protocol commands.
- Roadmap - See what's coming next for MegaMem.
- Contributing Guide - Learn how to contribute to the project.
- FAQ - Find answers to frequently asked questions.
- GitHub Issues: Report bugs or request features
- Discussions: Share use cases and get help
- Discord: Join our community (coming soon)
- Documentation: Comprehensive guides and examples
- โ Automatic schema discovery
- โ Enhanced auto sync with granular filtering
- โ Intelligent sync options (new vs. new+updated notes)
- โ Real-time and scheduled synchronization
- โ MCP server integration
- โ Essential UI components
- ๐ Visual graph exploration
- ๐ Advanced query builder
- ๐ Batch operations
- ๐ Plugin ecosystem integration
- ๐ Cloud sync options
- ๐ Mobile support
This plugin embraces the principle of progressive formalization. Start with simple notes, let patterns emerge naturally, then gradually add structure as your knowledge grows. No need to define rigid schemas upfront โ the plugin discovers them from your actual usage.
Built with:
- Obsidian API
- Graphiti by Zep
- Svelte & UnoCSS
- Model Context Protocol (MCP) by Anthropic
MIT License - see LICENSE.txt for details
Transform your notes into knowledge. Build your personal AI-powered knowledge graph today.
Created by Casey Bjรธrn