claude-code-obsidian-integration

d33disc/claude-code-obsidian-integration

3.1

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

License: MIT GitHub release GitHub stars GitHub issues Build Status

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

  1. Clone the repository:

    git clone https://github.com/d33disc/claude-code-obsidian-integration.git
    cd claude-code-obsidian-integration
    
  2. Install dependencies:

    npm install
    
  3. Run setup verification:

    ./📚\ SYSTEM/scripts/verify-integration.sh
    
  4. 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

ShortcutActionDescription
⌘⇧TClaude Code terminalOpen AI-powered terminal
⌘⇧EEdit with ClaudeAI-assisted file editing
⌘⇧GGenerate from diagramConvert drawings to code
⌘⇧AAnalyze projectGet project insights
⌘⇧CCustom Claude requestAsk anything
⌥EnterEmbedded terminalQuick terminal access
^EOpen in NeovimAdvanced code editing

Workflow Examples

🎨 Visual Development
  1. Create a diagram in Excalidraw
  2. Press ⌘⇧G to generate code
  3. Review and refine with Claude
  4. Deploy with confidence
🤖 AI-First Development
  1. Press ⌘⇧T to open Claude terminal
  2. Describe your coding challenge
  3. Get instant, context-aware solutions
  4. 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

Build Status:

📊 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

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests and documentation
  5. 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


⭐ Star this repo if you find it useful!

Made with ❤️ for the AI-powered development community