Transform your AI workflow with seamless context management between Claude Desktop and Notion
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.
- 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
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
- π€ 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
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
# Clone the repository
git clone https://github.com/snahrup/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
Template URL: https://short-sidecar-46e.notion.site/Claude-Context-Template-244632e81d3a811c9936fe3021eb5ce9
- Node.js 16.0 or higher
- Claude Desktop (latest version)
- Notion Account (free tier works)
- Windows/Mac/Linux OS
Click for detailed manual setup instructions
cd src/mcp-server
npm installCreate a Notion integration at https://www.notion.so/my-integrations and save your API key.
cp .env.example .env
# Edit .env with your Notion API key and database IDsAdd to your Claude Desktop config:
{
"mcpServers": {
"claude-context": {
"command": "node",
"args": ["C:/path/to/claude-context-system/src/mcp-server/index.js"]
}
}
}- 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
- 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
Simply paste a Session ID to resume:
Claude-20250802143000
Claude will immediately load all context and continue where you left off.
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
Edit src/mcp-server/config.json:
{
"summarization": {
"enabled": true,
"maxLength": 500,
"includeCodeBlocks": true
},
"notion": {
"autoCreateProjects": true,
"defaultTags": ["#ai-assisted", "#development"]
}
}- 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
View System 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 <--> CSDB
For detailed architecture documentation, see Architecture Guide.
We welcome contributions! Please see our Contributing Guide for details.
# Install development dependencies
npm install --save-dev
# Run tests
npm test
# Run linter
npm run lint
# Build for production
npm run build- Context Capture: < 100ms per message
- Notion Sync: Async, non-blocking
- Memory Usage: < 50MB
- Setup Time: < 5 minutes
- Local Processing: No data sent to external servers
- Encrypted Storage: API keys stored securely
- Notion Permissions: Minimal required access
- Open Source: Fully auditable codebase
- Multi-model support (GPT-4, Gemini)
- Local context backup
- Advanced search capabilities
- Team collaboration features
- Mobile companion app
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: Full Docs
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Built with β€οΈ by developers, for developers
β Star us on GitHub!
