# stellavault

A local MCP server that lets Claude search, question and draft from your Obsidian vault. 21 tools, no API keys.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: Evanciel
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Evanciel/stellavault
- Updated: 2026-08-25
- HTML: https://affpapa.org/en/nevibecode/mcp/stellavault

## What it does

Stellavault hands your notes folder to the agent as a source: semantic and keyword search, questions answered from the vault, drafts, link checks. It runs over stdio and computes embeddings on your machine, so nothing is sent to a cloud service and no keys are involved. Your original files stay untouched.

For Claude the quick route is `claude mcp add stellavault -- npx -y stellavault`. To pin the database to a known location, add the variable: `claude mcp add --env STELLAVAULT_DB_PATH=<STELLAVAULT_DB_PATH> --transport stdio stellavault -- npx -y stellavault`. Node.js 20 or newer is required — older runtimes won't start the server.

Without `STELLAVAULT_DB_PATH` the index lands wherever the server picks, which is awkward if you keep vaults in separate folders. Cursor, GitHub Copilot and Gemini CLI each get their own config: a JSON block under `mcpServers` or `servers`, or the `gemini mcp add` command.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `STELLAVAULT_DB_PATH` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env STELLAVAULT_DB_PATH=<STELLAVAULT_DB_PATH> --transport stdio stellavault -- npx -y stellavault
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add stellavault --env STELLAVAULT_DB_PATH=<STELLAVAULT_DB_PATH> -- npx -y stellavault
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "stellavault": {
            "command": "npx",
            "args": [
                "-y",
                "stellavault"
            ],
            "env": {
                "STELLAVAULT_DB_PATH": "<STELLAVAULT_DB_PATH>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "stellavault": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "stellavault"
            ],
            "env": {
                "STELLAVAULT_DB_PATH": "<STELLAVAULT_DB_PATH>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e STELLAVAULT_DB_PATH=<STELLAVAULT_DB_PATH> stellavault npx -y stellavault
```
Replace <…> with your own values

## When to use it
- find a note by meaning instead of an exact phrase
- ask a question across the whole vault and get notes back as sources
- draft something new from material you already wrote
- spot contradictions and duplicates between notes
- give an agent access to a personal vault without uploading it

## Example prompts
- Search my vault for notes about release planning and show the three closest
- What do I have on caching? Answer with links to the notes
- Draft an article about local embeddings from my own notes

## Similar
- [wiki-query](https://affpapa.org/en/nevibecode/skills/wiki-query.md) — skill · 3600 installs
- [wiki-update](https://affpapa.org/en/nevibecode/skills/wiki-update.md) — skill · 3400 installs
- [obsidian-canvas-creator](https://affpapa.org/en/nevibecode/skills/obsidian-canvas-creator.md) — skill · 2000 installs
- [my-brain-is-full-crew](https://affpapa.org/en/nevibecode/skills/my-brain-is-full-crew.md) — skill · 1100 installs
- [connection-agent](https://affpapa.org/en/nevibecode/agents/connection-agent.md) — subagent · 1072 installs
- [vault-optimizer](https://affpapa.org/en/nevibecode/agents/vault-optimizer.md) — subagent · 727 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
