d33disc/claude-code-obsidian-integration
If you are the rightful owner of claude-code-obsidian-integration and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Model Context Protocol (MCP) server facilitates seamless integration and communication between various development tools and platforms, enhancing productivity and collaboration.
🤖 Claude Code Obsidian Integration
Transform Obsidian into an AI-powered development powerhouse with Claude Code integration, visual programming, and zero-friction AI assistance.
🌟 Overview
The most comprehensive Claude Code integration ever built for Obsidian. This project transforms your note-taking app into a complete AI-powered development environment that bridges visual thinking with professional code implementation.
✨ Key Features
- 🤖 Deep Claude Code Integration - Terminal integration with Neovim v0.11.4
- 🎨 Visual Programming - Real-time diagram-to-code generation
- ⚡ Zero-Friction Access - 7 instant hotkey commands for AI assistance
- 🔌 Multi-Protocol Support - MCP Server + REST API + WebSocket + Shell Commands
- 📊 Zero-Token Monitoring - Background ecosystem awareness without API costs
- 🧠 Smart Organization - Clean workspace separation for focused development
- 📚 Auto-Updating Docs - Living documentation that evolves with your system
🚀 Quick Start
Prerequisites
- Obsidian 1.0.0 or higher
- Claude Code CLI installed and configured
- Node.js 18+ (for plugin builds)
- Git for version control
Installation
-
Clone the repository:
git clone https://github.com/d33disc/claude-code-obsidian-integration.git cd claude-code-obsidian-integration -
Install dependencies:
npm install -
Run setup verification:
./📚\ SYSTEM/scripts/verify-integration.sh -
Open in Obsidian and enable plugins
🏗️ Architecture
System Overview
cc-obsidian-vault/
├── 🧠 WORKSPACE/ ← Your main development area
│ ├── projects/ ← Active coding projects
│ ├── notes/ ← Daily notes & ideas
│ ├── research/ ← Research materials
│ └── archive/ ← Completed work
├── 📚 SYSTEM/ ← Background infrastructure
│ ├── docs/ ← Documentation (12+ files)
│ ├── scripts/ ← Automation scripts
│ ├── configs/ ← Configuration files
│ └── plugins/ ← Plugin management
├── 🎨 DIAGRAMS/ ← Visual programming assets
└── 📦 ARCHIVE/ ← Deprecated files
Integration Components
- MCP Server (Port 22360) - Direct vault file access via Model Context Protocol
- REST API (Port 27123) - External tool integration
- Terminal Integration - Embedded terminals with Neovim support
- Shell Commands - 7 Claude Code commands with hotkey automation
- Plugin Architecture - 8 specialized Obsidian plugins
🎮 Usage
Essential Hotkeys
| Shortcut | Action | Description |
|---|---|---|
⌘⇧T | Claude Code terminal | Open AI-powered terminal |
⌘⇧E | Edit with Claude | AI-assisted file editing |
⌘⇧G | Generate from diagram | Convert drawings to code |
⌘⇧A | Analyze project | Get project insights |
⌘⇧C | Custom Claude request | Ask anything |
⌥Enter | Embedded terminal | Quick terminal access |
^E | Open in Neovim | Advanced code editing |
Workflow Examples
🎨 Visual Development
- Create a diagram in Excalidraw
- Press
⌘⇧Gto generate code - Review and refine with Claude
- Deploy with confidence
🤖 AI-First Development
- Press
⌘⇧Tto open Claude terminal - Describe your coding challenge
- Get instant, context-aware solutions
- Iterate with visual feedback
🧪 Testing & Quality Assurance
Automated Testing Workflow
This project uses comprehensive automated testing to ensure code quality and reliability:
Test Coverage
- Python Tests: 16 unit/integration tests with 81.82% coverage
- Shell Script Tests: 38 bats tests covering critical automation scripts
- Coverage Threshold: 80% minimum enforced in CI/CD
Running Tests Locally
Python Tests:
# Install dependencies
pip install -r requirements-dev.txt
# Run tests with coverage
pytest --cov=. --cov-report=term-missing --cov-report=html -v
# View coverage report
open htmlcov/index.html
Shell Script Tests:
# Install bats-core
./install-bats.sh
# Run all shell tests
bats tests/shell/*.bats
# Run specific test file
bats tests/shell/test_auto_startup.sh.bats
Code Quality Checks:
# Run all linters (shellcheck, flake8, black)
./lint-all.sh
Continuous Integration
GitHub Actions automatically runs on every push and pull request:
- ✅ Python tests with coverage enforcement (≥80%)
- ✅ Shell script tests (bats framework)
- ✅ Code quality checks (shellcheck, flake8, black)
- ✅ Automated coverage reporting
📊 System Status
Current Version: Production Ready (Phase 1 Complete)
System Health: 🟢 EXCELLENT
- ✅ All 8 plugins operational
- ✅ Terminal integration fully functional
- ✅ Zero-token ecosystem monitoring active
- ✅ 2.5MB build verified successful
- ✅ Comprehensive documentation suite
Feature Completeness
- Core Platform: 🟢 100% Complete
- Terminal Integration: 🟢 100% Complete
- Ecosystem Monitoring: 🟢 100% Complete
- Visual Development: 🟡 25% Planned (Phase 2)
- Advanced AI Features: 🔴 10% Visioned (Phase 4)
🗺️ Roadmap
Phase 2: Enhanced AI Workflows (v1.2)
- 🎨 Real-time diagram collaboration
- 🧠 Intelligent context understanding
- ⚡ Performance optimizations
- 🎮 Multi-modal interactions
Phase 3: Developer Experience (v1.2)
- 📊 Visual analytics dashboards
- 🔄 Git/CI-CD automation
- 📱 Multi-platform sync
- 👥 Team collaboration
Phase 4: Platform Ecosystem (v2.0)
- 🌐 Integration hub (GitHub, VS Code, Slack)
- 🤖 Multiple AI model support
- 📚 Research tools integration
- 🎓 Educational content generation
🤝 Contributing
We welcome contributions! Please see our for details.
Quick Contribution Steps
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests and documentation
- Submit a pull request
📄 License
This project is licensed under the MIT License - see the file for details.
🙏 Acknowledgments
- Claude Code Team - For the amazing AI development platform
- Obsidian Community - For the extensible note-taking platform
- Plugin Contributors - For the specialized Obsidian plugins
- Open Source Community - For inspiration and best practices
📞 Support & Community
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 📧 Contact: Create an issue for support requests
⭐ Star this repo if you find it useful!
Made with ❤️ for the AI-powered development community