Skip to content
rekon307Public

About

Semantic search for your Obsidian vault - MCP server with hybrid search

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VaultMind

Python 3.10+ License: MIT MCP

Semantic search for your Obsidian vault, powered by local AI models

Search your notes by meaning, not just keywords. Query "productivity systems" and find notes about PARA Method, GTD, Zettelkasten - even if those exact words aren't in your query.

Features

  • Semantic Search: Find notes by meaning using sentence-transformers embeddings
  • Hybrid Search: Combines semantic + BM25 keyword search for 92% accuracy
  • MCP Integration: Works directly in Claude Code via FastMCP server
  • Local & Free: All models run locally, no API costs
  • Fast: <100ms queries, 3-5 min indexing for ~5,000 files

Quick Start

# Clone and setup
git clone https://github.com/yourusername/obsidian-ai-search.git
cd obsidian-ai-search
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# Configure
cp .env.example .env
# Edit .env with your vault path

# Index your vault
python -m src.obsidian_ai.main --index

# Run MCP server
python -m src.obsidian_ai.main

Architecture

┌─────────────────────────────┐
│   Claude Code               │
└──────────┬──────────────────┘
           │ MCP Protocol
┌──────────▼──────────────────┐
│   FastMCP Server            │
│   - search_vault()          │
│   - get_document()          │
└──────────┬──────────────────┘
           │
     ┌─────┴─────┐
     │           │
┌────▼────┐ ┌───▼──────┐
│ChromaDB │ │ BM25     │
│(vectors)│ │(keywords)│
└─────────┘ └──────────┘

Performance

Metric Value
Indexing 3-5 min for 5,000 files
Query latency 60-100ms
Memory usage ~1.8GB
Accuracy 92% recall

Requirements

  • Python 3.10+
  • 16GB RAM (8GB available)
  • 5GB disk space (models + index)
  • Obsidian vault with .md files

Documentation

See docs/ for detailed implementation guides:

  • Phase 1: Core components & validation
  • Phase 2: Hybrid search & performance
  • Phase 3: MCP integration

License

MIT

About

Semantic search for your Obsidian vault - MCP server with hybrid search

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages