Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add sunub/obsidian-mcp-server/plugin install vault-tidyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/sunub/obsidian-mcp-server/reindex)<a href="https://agentmods.dev/commands/sunub/obsidian-mcp-server/reindex"><img src="https://agentmods.dev/badge/commands/sunub/obsidian-mcp-server/reindex/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/sunub/obsidian-mcp-server/reindex"><img src="https://agentmods.dev/badge/commands/sunub/obsidian-mcp-server/reindex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00414 |
| Opus 5.5 | $0.00008 | $0.00166 |
| Sonnet 5.5 | $0.00004 | $0.00083 |
| Haiku 4.5 | $0.00002 | $0.00041 |
Grade A, and why
reindex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Vault 벡터 인덱스 재색인
전체 벡터 인덱스 구축은 시간이 오래 걸리는 운영 작업이므로 MCP 도구가 아니라 CLI 서브커맨드로 실행한다.
인자 처리
- 전달된 인자:
$ARGUMENTS --force또는-f가 포함되면 기존 벡터 캐시를 초기화하고 전체 문서를 처음부터 다시 색인한다.- 인자가 없으면 변경되었거나 누락된 문서만 증분 색인한다.
절차
- 실행할 범위(증분 색인 vs
--force전체 초기화 재색인)를 사용자에게 한 줄로 알린다.--force인 경우 시간이 오래 걸릴 수 있음을 함께 알리고 실행 전 확인을 받는다. VAULT_DIR_PATH환경변수가 설정되어 있는지 확인하고, 비어 있으면 먼저 설정을 안내한다.- 아래 CLI 명령을 실행한다.
- 로컬 개발 플러그인(
${CLAUDE_PLUGIN_ROOT}/../build/index.js가 존재하는 경우):node "${CLAUDE_PLUGIN_ROOT}/../build/index.js" reindex(옵션이 있으면--force추가) - 배포 패키지 환경:
npx -y @sunub/obsidian-mcp-server@latest reindex(옵션이 있으면--force추가)
- 로컬 개발 플러그인(
- 실행 결과를 보고한다.
- 로컬 임베딩 모델이 없어 실패하면
npx @sunub/obsidian-mcp-server setup실행을 안내한다. - 성공하면 색인 모드와 처리된 문서 수를 요약해 알린다.
- 로컬 임베딩 모델이 없어 실패하면
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 29 lines · 21 tokens per session scan A b2697b40eaa9
reindex is a command published in the GitHub repository sunub/obsidian-mcp-server (2 stars, last pushed yesterday), licensed ISC. It adds 21 tokens to every session and 414 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.
reindex compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reindexsunub/obsidian-mcp-server | Command | 2 | yesterday | ISC | A | 21 | Claude Code |
| queryingupstash/redis-js | Command | 988 | today | MIT | A | 0 | Claude Code |
| ingestGalbaz1/video-research-mcp | Command | 23 | 7d ago | MIT | A | 10 | Claude Code |
| agentget-convex/convex-agent-plugins | Command | 117 | 1mo ago | MIT | A | 21 | Claude Code, Cursor |
| inference.embedstratalab/strata-core | Command | 5 | today | Apache-2.0 | A | 0 | Claude Code |
| vector.batch_upsertstratalab/strata-core | Command | 5 | today | Apache-2.0 | A | 0 | Claude Code |
| proofragunshDee/proofrag | Command | 2 | 6d ago | MIT | A | 22 | Claude Code |