claude-context-system
v1.0.0
Published
Transform your AI workflow with seamless context management between Claude Desktop and Notion
Maintainers
Readme
🔗 Claude Context System
Transform your AI workflow with seamless context management between Claude Desktop and Notion
🚀 Overview
The Claude Context System is the first-of-its-kind integration that bridges Claude Desktop with Notion, creating a persistent memory layer for AI-assisted development. Never lose context between sessions again.
🎯 The Problem
- Context Loss: Every new Claude conversation starts from scratch
- No Continuity: Projects spanning multiple sessions lose critical context
- Manual Tracking: Developers waste time re-explaining project details
- Knowledge Silos: Valuable AI interactions disappear after each session
💡 The Solution
Claude Context System automatically:
- 📝 Captures every conversation with intelligent summarization
- 🔄 Maintains project continuity across sessions
- 🧠 Preserves decisions, code, and architectural choices
- 🔍 Enables instant context retrieval with Session IDs
✨ Key Features
- 🤖 Automatic Context Capture: Every chat is intelligently summarized and stored
- 🏗️ Project-Based Organization: Conversations linked to specific projects
- 🔗 Session Continuity: Resume any conversation with a simple Session ID
- 📊 Rich Metadata: Tags, priorities, participants, and decision tracking
- 🚀 One-Click Setup: Automated installer configures everything in < 5 minutes
- 🎨 Demo Mode: Pre-configured workspace with sample data for immediate testing
📸 Screenshots
🏗️ Architecture
graph TB
A[Claude Desktop] -->|MCP Protocol| B[Context MCP Server]
B -->|Capture & Process| C[Notion API]
C -->|Store & Organize| D[Notion Workspace]
D --> E[Projects Database]
D --> F[Chat Summaries Database]
style A fill:#f9f,stroke:#333,stroke-width:4px
style D fill:#bbf,stroke:#333,stroke-width:2px🎯 Quick Start
# Clone the repository
git clone https://github.com/yourusername/claude-context-system.git
cd claude-context-system
# Run the automated setup
setup.bat # Windows
./setup.sh # Mac/Linux
# Follow the interactive promptsThat's it! The installer will:
- ✅ Check system requirements
- ✅ Install dependencies
- ✅ Configure Claude Desktop
- ✅ Set up Notion integration
- ✅ Create demo workspace
- ✅ Verify everything works
📋 Requirements
- Node.js 16.0 or higher
- Claude Desktop (latest version)
- Notion Account (free tier works)
- Windows/Mac/Linux OS
🛠️ Manual Installation
1. Install Dependencies
cd src/mcp-server
npm install2. Configure Notion Integration
Create a Notion integration at https://www.notion.so/my-integrations and save your API key.
3. Set Up Environment Variables
cp .env.example .env
# Edit .env with your Notion API key and database IDs4. Configure Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"claude-context": {
"command": "node",
"args": ["C:/path/to/claude-context-system/src/mcp-server/index.js"]
}
}
}5. Import Demo Workspace
- Download the demo template from
/demo/demo-workspace.json - Import to Notion using the Notion API or web interface
- Share the databases with your integration
Starting a New Project
- Create a Project in Notion (or let Claude do it automatically)
- Start chatting in Claude Desktop - context is captured automatically
- View summaries in Notion - organized by project and date
Continuing a Session
Simply paste a Session ID to resume:
Claude-20250802143000Claude will immediately load all context and continue where you left off.
Viewing Your Context
Access your Notion workspace to see:
- 📊 Project overview with all related chats
- 💬 Detailed chat summaries with key decisions
- 🏷️ Tagged and categorized conversations
- 📈 Progress tracking across sessions
🔧 Configuration
Customizing Context Capture
Edit src/mcp-server/config.json:
{
"summarization": {
"enabled": true,
"maxLength": 500,
"includeCodeBlocks": true
},
"notion": {
"autoCreateProjects": true,
"defaultTags": ["#ai-assisted", "#development"]
}
}Advanced Features
- Custom Taxonomies: Define your own tags and categories
- Webhook Integration: Connect to other tools
- Export Options: Backup your context to JSON/Markdown
- Team Sharing: Collaborate with shared Notion workspaces
🏗️ Architecture
graph TB
subgraph "Claude Desktop"
CD[Claude Desktop App]
MCP[MCP Protocol]
end
subgraph "Claude Context System"
Server[MCP Server]
Handler[Command Handler]
NotionAPI[Notion Integration]
Config[Configuration]
end
subgraph "Notion Workspace"
PDB[(Projects Database)]
CSDB[(Chat Summaries Database)]
end
CD <--> MCP
MCP <--> Server
Server --> Handler
Handler --> NotionAPI
NotionAPI <--> PDB
NotionAPI <--> CSDBFor detailed architecture documentation, see Architecture Guide.
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
# Install development dependencies
npm install --save-dev
# Run tests
npm test
# Run linter
npm run lint
# Build for production
npm run build📊 Performance
- Context Capture: < 100ms per message
- Notion Sync: Async, non-blocking
- Memory Usage: < 50MB
- Setup Time: < 5 minutes
🔒 Security
- Local Processing: No data sent to external servers
- Encrypted Storage: API keys stored securely
- Notion Permissions: Minimal required access
- Open Source: Fully auditable codebase
🚧 Roadmap
- [ ] Multi-model support (GPT-4, Gemini)
- [ ] Local context backup
- [ ] Advanced search capabilities
- [ ] Team collaboration features
- [ ] Mobile companion app
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
📞 Support
- Documentation: Full Docs
- Issues: GitHub Issues
- Discussions: GitHub Discussions
