Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By obrav0.1.0
Finds how notes in an Obsidian vault connect, through semantic search, path finding and cluster analysis. It says it runs locally with no cloud APIs; the first index downloads a 22MB embedding model.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Query and traverse an Obsidian vault as a knowledge graph. Semantic search, path finding, community detection, and graph analysis — all local, no cloud APIs.
Parses an Obsidian vault into an untyped graph (files = nodes, wiki links = edges), indexes it into SQLite with vector embeddings and full-text search, and exposes 10 operations via CLI and MCP server.
Search: Semantic search via local embeddings, full-text keyword search via FTS5.
Traverse: Find paths between nodes, shared connections, N-hop neighborhoods, local subgraphs.
Analyze: Community detection (Louvain), bridge nodes (betweenness centrality), central nodes (PageRank).
git clone https://github.com/obra/knowledge-graph.git
cd knowledge-graph
npm install
Set your vault path:
export KG_VAULT_PATH=/path/to/your/obsidian/vault
Optionally set the data directory (defaults to ~/.local/share/knowledge-graph):
export KG_DATA_DIR=/path/to/data
Index your vault (first run downloads a 22MB embedding model):
npx tsx src/cli/index.ts index
Then query:
# Look up a node (brief mode — metadata + connections)
npx tsx src/cli/index.ts node "Alice Smith"
# Full content + edge context
npx tsx src/cli/index.ts node "Alice Smith" --full
# Semantic search
npx tsx src/cli/index.ts search "distributed systems framework"
# Full-text keyword search
npx tsx src/cli/index.ts search "distributed systems" --fulltext
# Find paths between two nodes
npx tsx src/cli/index.ts paths "Alice Smith" "Widget Theory"
# Shared connections
npx tsx src/cli/index.ts common "Alice Smith" "Bob Jones"
# Local neighborhood
npx tsx src/cli/index.ts neighbors "Alice Smith" --depth 2
# Subgraph extraction
npx tsx src/cli/index.ts subgraph "Widget Theory" --depth 1
# Community detection
npx tsx src/cli/index.ts communities
# Bridge nodes (connectors between clusters)
npx tsx src/cli/index.ts bridges --limit 10
# Central nodes (PageRank)
npx tsx src/cli/index.ts central --limit 10
All commands return JSON. Names are fuzzy-matched (title, aliases, substring). You can also pass full node IDs (file paths).
This repo is also a Claude Code plugin. Add it to your plugins and the MCP server starts automatically, exposing all 10 operations as tools (kg_node, kg_search, kg_paths, etc.).
The prove-claim skill teaches the agent a structured workflow for investigating claims: decompose into entities, find them via search, trace connections via path traversal, read the evidence, assess and report with citations.
No LLM inside the tool — the agent does the reasoning, the tool provides the data infrastructure.
.md files, extracts YAML frontmatter (via gray-matter), wiki links, inline #tags, and enclosing paragraphs as edge context. Handles malformed YAML gracefully.Xenova/all-MiniLM-L6-v2 via @huggingface/transformers. Runs locally, 22MB quantized model, 384-dimensional embeddings computed from title + tags + first paragraph.--force for a full rebuild.| Role | Package |
|---|---|
| Graph algorithms | graphology |
| Persistence | better-sqlite3 |
| Vector search | sqlite-vec |
| Full-text search | SQLite FTS5 |
| Embeddings | @huggingface/transformers |
| MCP server | @modelcontextprotocol/sdk |
| Tests | vitest (76 tests) |
WHERE embedding MATCH ? AND k = ?, not LIMIT.MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (obra/knowledge-graph) — no native marketplace selected
npx claudepluginhub p/obra-knowledge-graphPlugins from other owners that cover similar ground