Obsidian Everywhere
Obsidian Everywhere bridges your local Obsidian vault to AI agents via 39 MCP tools for reading, searching, graph navigation, and guarded editing — vault stays on your machine.
Vault Overview & Status
Get high-level summaries: note counts, top tags, PageRank hub notes, recently modified files, mount health, and index freshness (vault_overview, vault_status).
Search
Full-text search with tag/folder filters (
search_notes)Semantic/meaning-based search using a local multilingual embedding model — no API key needed (
semantic_search)Regex search across note bodies with file, line, and excerpt results (
regex_search)
Graph Navigation
Pack a topic + its neighbors into a token budget for AI context (
get_context_bundle)Explore n-hop subgraphs around any note (
get_neighborhood)Find shortest paths between two notes (
find_path)Discover related but unlinked notes via Jaccard or semantic similarity (
get_related)Find orphaned notes and unresolved links (
find_orphans,find_unresolved)
Note Reading & Structure
Read notes with full graph context, optional heading scope, and pagination (
read_note)Get backlinks with linking sentence context (
get_backlinks)List notes/folders with frontmatter projection (
list_notes,list_folder)Browse tags and get notes by tag, including nested child tags (
list_tags,get_notes_by_tag)
Safe Writes
Create, append, move, rename, and delete notes with automatic inbound-link rewriting and recoverable trash
Replace exact text or patch a heading section without touching the rest of the note
Update/remove frontmatter fields and add/remove/rename tags
Apply templates with date/time/title substitution (
apply_template)
Bulk Operations with Dry-Run & Rollback
Bulk update or remove frontmatter fields across a folder or entire vault
Bulk find-and-replace text with regex support
Roll back any bulk edit from a saved snapshot (
rollback_bulk_edit)
Obsidian Settings
Read/set hotkey bindings, read core plugin settings, configure the Templates folder, and validate .base files (get_hotkeys, set_hotkey, get_obsidian_settings, set_templates_folder, validate_base).
Flexible & Secure Deployment
Local: stdio, no network exposure
Private network: Bearer-authenticated HTTP via Tailscale or ngrok
Public web apps (e.g., claude.ai): OAuth HTTP via Cloudflare tunnel
No cloud accounts, telemetry, or hosted copies required.
Provides graph-native tools for reading, searching, and writing notes in an Obsidian vault, including backlink traversal, neighborhood exploration, and full-text search.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Obsidian Everywhere search notes about machine learning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🧠 Obsidian Everywhere
Turn linked notes into AI context, use that context from agents anywhere, and checkpoint approved changes with Git.
Graph context · local semantic search · remote agents · guarded edits · opt-in Git checkpoints
Watch the Remote Vault Bridge in 44 seconds

Remote request → semantic search → graph context → guarded edit → mount-loss recovery.
Obsidian Everywhere is built around three ideas:
Notes are a graph and a semantic knowledge base, not a folder of text files. Backlinks, n-hop neighborhoods, shortest paths, PageRank, full-text search, and local multilingual embeddings turn a topic into focused, token-budgeted context.
Your vault should be usable where your agents run. The Remote Vault Bridge exposes that same graph and its guarded write tools over authenticated Streamable HTTP. A Claude Code or Codex process on another server can search, reason over, append to, and reorganize a vault that remains on your own machine.
Version-control actions deserve a narrower boundary than file writes. If the vault or one configured folder inside it is already a Git repository, the opt-in Git tools can inspect status, bounded diffs, and local history. Commit and push each require a preview, explicit confirmation, and a short-lived one-use approval ID.
The local path stays the source of truth. Obsidian Everywhere does not create a hosted copy, telemetry service, or mandatory cloud account; optional Git push publishes only to a repository the operator already configured. Remote access is a transport you operate, not a vault-sync product.
Related MCP server: Vault Cortex Obsidian MCP Server
Contents
Features
vault (.md files)
│ parse · watch
▼
SQLite index (FTS5) ⇄ in-memory graph (graphology)
│ n-hop · shortest path · PageRank
▼
41 core MCP tools + 0–5 opt-in Git tools
│
▼
local stdio · authenticated remote HTTP · OAuth HTTP🧩 Graph + semantic context engine — a markdown parser (wikilinks, embeds, frontmatter, nested tags, headings, block references), a SQLite index with full-text search, and an in-memory graphology layer for n-hop traversal, shortest paths, and PageRank.
get_context_bundlepacks a topic and its most useful neighbors into a requested token budget.🌍 Remote Vault Bridge — agents on an external server get the same search, graph, context, and guarded editing tools over authenticated Streamable HTTP. Use a private network or an HTTPS tunnel such as ngrok; the vault itself stays on the machine you control.
📎 Vault-wide file reading — Markdown plus text/code/data files, PDF, DOCX, PPTX, XLSX, OpenDocument, EPUB, RTF, and common images are indexed and exposed without uploading them to a conversion service. Extraction is lazy, cached, size-limited, and searchable with
search_files.🧠 Optional local semantic search —
semantic_searchandget_relatedwithmethod: "semantic"run a multilingual embedding model (multilingual-e5-small) entirely on your machine — no API key, cloud account, or Ollama process to run. Install the optional runtime withnpm install @huggingface/transformers@^4.2.0; its model downloads once (~120MB, cached under~/.obsidian-everywhere/), then works fully offline. It is disabled by default to keep the server below the 200 MiB memory target; opt in withOBSIDIAN_EVERYWHERE_ENABLE_SEMANTIC=truewhen extra memory is available.🛡️ Safe writes and resilient mounts — partial edits, dry-run-first bulk operations, rollback snapshots, recoverable deletion, and an opt-in Beta mount guard. If a removable drive, NAS share, or container mount disappears, the index is preserved, writes are blocked, and a full reconciliation runs after it returns.
🌱 Reviewable Git checkpoints (off by default) — inspect status, bounded diffs, and local history for the vault or one configured repository folder. Higher modes add selected-file commits and operator-pinned HTTPS pushes, both behind preview and a five-minute one-use approval.
🛠️ 41 core MCP tools, up to 46 when Git is explicitly enabled — structured reads, attachment extraction, graph navigation, semantic retrieval, safe lifecycle operations, persisted Obsidian settings, and explicit health reporting.
Three core workflows
1. Turn a linked vault into focused AI context
Exact search finds the words you wrote. Semantic search finds the idea even
when the wording or language differs. Graph traversal then explains how the
matching notes relate. get_context_bundle combines those signals into a
bounded context package instead of dumping an entire vault into the model.
2. Use and edit that context from an external server
Run Obsidian Everywhere beside the local vault, expose its HTTP endpoint through your private network or an HTTPS tunnel, and register the URL in the remote MCP client. The remote agent can read and search the local vault, then use the same guarded tools to create, append, move, tag, or clean up notes. The server reindexes each successful write before returning, so the next remote tool call sees the change.
For the complete ngrok path, see the Remote Vault Bridge with ngrok tutorial.
3. Review and checkpoint vault changes with Git
When the vault or one real folder inside it contains its own .git directory,
an agent can inspect the same repository state you would inspect locally, then
create a commit from an explicit file list. Set
OBSIDIAN_EVERYWHERE_GIT_REPO_PATH to that vault-relative folder, or leave its
default . to use the vault root. Push is a separate, stricter capability: it
can only publish the current HEAD to its existing upstream branch through an
operator-pinned HTTPS destination. It never pulls, fetches, changes branches,
constructs a free-form refspec, or accepts arbitrary Git arguments.
Start with OBSIDIAN_EVERYWHERE_GIT_MODE=read; move to commit or push only
after reviewing the safety model in the Vault Git guide.
Read
Tool | What it does |
| Note counts, top tags, PageRank hub notes, recently modified — a starting orientation |
| Mount availability, index freshness, write availability, and last full reconciliation |
| Full-text search with tag/folder filters (with a trigram fallback for CJK substring matches unicode61 alone would miss — see DECISIONS.md D9), each result annotated with link counts and tags |
| Search filenames, vault-relative paths, and locally extracted text across PDF, Office/OpenDocument, EPUB, RTF, text/code/data, and other attachments |
| Optional meaning-based search via local embeddings ( |
| Structured content/frontmatter/links/tags plus line pagination; optional heading-scoped read |
| Read any vault file: extracted document text with page/slide/sheet selection, or native image content for capable MCP clients; an exact on-disk path self-heals short watcher lag |
| Explicit folder-aware note listing with pagination; optionally projects named frontmatter fields (e.g. |
| Immediate child folders, notes, and attachments |
| JavaScript-regex search with file, line, and excerpt |
| Every note linking to a given note, with the linking sentence |
| Explicit n-hop node/edge list around a note (links treated as undirected) |
| The killer feature. Center note + prioritized 1-hop neighbors packed into a token budget |
| Full nested tag hierarchy with counts |
| Notes carrying a given tag (nested-aware) |
| Notes with no incoming or outgoing links |
| Links that don't resolve to any note, grouped by target |
| Shortest connection path between two notes, with a one-line summary per hop |
| Similar notes that aren't directly linked yet — Jaccard over shared tags/neighbors by default, or |
| Persisted hotkey command IDs, Templates folder, and core-plugin settings |
| Static YAML/shape validation for |
Write
Tool | What it does |
| Create a new note (with frontmatter); reindexed immediately — the next tool call already sees it |
| Create a note from a template, substituting |
| Append to a note, optionally under a specific heading; fails closed if the heading isn't found |
| Lifecycle operations with inbound-link rewriting, backlink guardrails, and recoverable trash |
| Guarded exact-text and heading-scoped edits |
| Change properties without replacing the note body |
| Same, across every note in a folder (or the whole vault); dry-run first with rollback |
| Add or remove frontmatter tags on one note |
| Rename a tag vault-wide across frontmatter and inline |
| Dry-run-first folder/regex replacement with snapshots and rollback |
| Update persisted Obsidian settings (vault reload may be required) |
Vault Git — registered only when explicitly enabled
Tool | Minimum Git mode | What it does |
|
| Safe, selected-repository-relative working-tree status and local ahead/behind information; no fetch |
|
| Bounded patch for safe tracked paths, plus explicitly named untracked paths in |
|
| Recent local commit history, optionally for one safe file |
|
| Preview, then commit only explicitly selected safe files using a five-minute one-use approval ID |
|
| Preview, then push the approved current |
Effective setup | Registered tools |
Git | 22 |
Git | 41 |
Git | 25 |
Git | 44 |
Git | 25 |
Git | 45 |
Git | 25 |
Git | 46 |
If the ordinary write gate is disabled, git_commit and git_push stay absent
even when the configured Git mode is higher; the three Git read tools remain
available. OAuth therefore requires both a sufficient Git mode and
OAUTH_ENABLE_WRITE_TOOLS=true for commit or push.
Ordinary write tools are on by default for stdio and the
bearer-token HTTP transport, and off by default for the public OAuth
connector transport (opt in with OAUTH_ENABLE_WRITE_TOOLS=true) — see
Configuration and DECISIONS.md D15. Git is independently off
by default on every transport.
Vault Git
Vault Git is an optional checkpoint-and-publish layer for repositories already
inside a vault. It is not a sync engine and it never initializes a repository.
Git must be installed on the vault machine. The operator selects exactly one
repository with OBSIDIAN_EVERYWHERE_GIT_REPO_PATH, a safe vault-relative real
directory that defaults to .. That selected directory must be the exact root
of a normal repository with a real, local .git directory. The rest of the
vault remains indexed and available to ordinary graph, search, and note tools.
For example, a vault at /Volumes/SanDisk/jwhong can keep full-vault context
while Git tools operate only on /Volumes/SanDisk/jwhong/DSLab:
export OBSIDIAN_VAULT_PATH=/Volumes/SanDisk/jwhong
export OBSIDIAN_EVERYWHERE_GIT_REPO_PATH=DSLab
export OBSIDIAN_EVERYWHERE_GIT_MODE=readGit tool path inputs and outputs are relative to DSLab in that setup;
ordinary note and file tool paths remain relative to the vault root. Parent
repository discovery, linked worktrees, submodule roots, symlinked repository
paths, and unsafe external or symlinked object/ref/log/core metadata
layouts—including alternate object stores—are refused by every Git tool.
The canonical vault, selected repository, and .git directory identities are
captured at startup and rechecked before every Git subprocess; replacing a
directory or introducing a symlink fails closed until the operator verifies the
mount and restarts the service.
Commit and push additionally refuse detached branches, shallow history, sparse
checkouts, per-worktree Git configuration, grafts/replacement refs, and
in-progress history operations.
With the supplied Compose file, set
OBSIDIAN_VAULT_HOST_PATH=/Volumes/SanDisk/jwhong and
OBSIDIAN_EVERYWHERE_HTTP_GIT_REPO_PATH=DSLab for the bearer service. The OAuth
service has its own independent OBSIDIAN_EVERYWHERE_OAUTH_GIT_REPO_PATH input;
both service-specific repository paths default to ..
Choose the narrowest capability that covers your workflow:
| Tools added | Network access |
| none | none |
|
| none; history and ahead/behind are local only |
| read tools + | none |
| read/commit tools + | approved push to an existing upstream only |
Push mode also requires a comma-separated operator mapping from each allowed
upstream remote name to one exact credential-free HTTPS destination. Continuing
the DSLab example above:
export OBSIDIAN_EVERYWHERE_GIT_MODE=push
export OBSIDIAN_EVERYWHERE_GIT_REPO_PATH=DSLab
export OBSIDIAN_EVERYWHERE_GIT_ALLOWED_PUSH_REMOTES=origin=https://github.com/owner/repo.gitUse OBSIDIAN_EVERYWHERE_GIT_REPO_PATH=. instead only when the whole vault is
the repository.
The selected branch must already track a normal branch on the mapped remote, and that remote's sole resolved push URL must exactly match the pinned mapping. The URL is operator configuration, never MCP tool input; credentials, queries, fragments, caller-selected branches, and caller-selected refspecs are refused. Git must authenticate to that exact URL non-interactively using credentials already configured on the vault machine.
The destination ref comes from the branch's existing upstream mapping, not from
the local branch name. For example, local main tracking origin/release can
push only to release; the caller cannot substitute another branch.
Commit and push are deliberately two-step operations:
git_status
git_diff
git_commit { action: "preview", message: "docs: update project notes", paths: ["Projects/Atlas.md"] }
→ inspect the plan and explicitly approve it
git_commit { action: "execute", approvalId: "<UUID from preview>" }
git_push { action: "preview" }
→ inspect the exact HEAD, upstream, and outgoing count; explicitly approve it
git_push { action: "execute", approvalId: "<UUID from preview>" }An approval ID expires after five minutes, works once, and is invalidated when the reviewed repository state changes. A preview never creates a commit or contacts the network. Hidden, excluded, and sensitive paths are omitted or blocked; commits select exact changed paths whose resulting entries are regular files, plus deletions; hooks, signing, clean filters (including Git LFS), submodules, and suspected secrets are refused. Push review is capped at 100 outgoing commits and 200 changed blobs, with an 8 MiB per-file/blob and 32 MiB aggregate content limit; commit messages and merge results are scanned too. Commit messages are single-line and secret-scanned, and commit approval binds the exact proposed tree.
Push execution uses the displayed literal HTTPS destination and an exact
OID lease for the reviewed upstream ref. That lease is a compare-and-swap
guard—not permission for an arbitrary force-push—so a deleted, advanced, or
reset remote ref fails instead of being overwritten.
Repository-local credential helpers, URL rewrites, http.* transport settings,
and selected-remote proxy overrides are also refused for push. Trusted HTTPS
credentials and any required network policy belong in the vault machine's user
or system Git configuration, outside the repository.
There is intentionally no git_exec or free-form command tool. Passing raw Git
arguments to a remote agent is effectively a remote-code-execution primitive:
Git aliases can expand to shell commands, hooks execute programs, diff/textconv
drivers run helpers, SSH transports launch commands, and credential helpers may
invoke executables. A small set of fixed commands with fixed arguments is the
safety boundary, not a cosmetic API choice.
Read the complete setup, operational limits, and troubleshooting guide before enabling commit or push: Using a Git-backed vault.
Try it without your vault
Run the built-in demo first. It creates a temporary sample vault, shows graph orientation and unresolved-link discovery, previews a safe bulk edit, and then removes the sample. It never reads or changes your own notes.
npx -y obsidian-everywhere demo
When you are ready to connect a real vault, generate copyable configuration for Codex, ChatGPT Desktop, Claude Code, and Claude Desktop:
npx -y obsidian-everywhere init /absolute/path/to/your/vault
npx -y obsidian-everywhere doctor /absolute/path/to/your/vaultinit only prints configuration—it never edits global client settings.
doctor checks Node.js, permissions, Obsidian metadata, SQLite, parsing, and the
graph engine without printing note content. Add --share to redact the vault
path before pasting diagnostics into an issue.
Why Obsidian Everywhere?
There are several good Obsidian MCPs. Pick the architecture that matches how you work rather than assuming one server wins every category.
Obsidian Everywhere | ||||
Install |
|
| Obsidian community plugin |
|
Published tools | 41 core; up to 46 with opt-in Git | 14 | 16 | 74 |
Obsidian must be open | No | Yes | Yes | No |
Best graph capability | PageRank, shortest path, n-hop, unresolved links | Outgoing links in structured reads | Live Obsidian metadata/search | Multi-hop, centrality, clusters, suggestions |
Safe editing | Partial edits; bulk dry-run, snapshot, rollback | Surgical edits and frontmatter/tag management | Live heading/block/frontmatter patching | Conflict hashes, audit rollback, Git-backed batch |
Live app commands/current file | Persisted settings only | Yes | Yes | No |
Remote transport | stdio, bearer HTTP over private network or HTTPS tunnel, OAuth 2.1 | stdio, HTTP with JWT/OAuth | HTTP with API key | stdio, HTTP, WebSocket, TCP |
Best fit | Graph + semantic context from a headless vault, including guarded remote access and edits | Rich app-driven CRUD and Omnisearch | Direct control of a running Obsidian app | Maximum breadth, multi-vault and advanced analysis |
Comparison checked against each project's published documentation on 2026-07-20. A blank or narrower cell means “not documented there,” not that a project can never support it. If you need active-file state or command-palette execution, choose a plugin-backed server. If you want a headless, one-command graph server with token-budgeted context, guarded cleanup, and narrowly scoped Git checkpoints, that is the niche Obsidian Everywhere is designed for.
Everything runs locally by default. There is no account, API key, hosted vault, or telemetry requirement.
See docs/architecture.md for how it's built,
docs/deploy.md for the deployment topology, and
docs/ngrok-remote.md for an end-to-end external
server tutorial. Git-backed vault operators should also read
docs/git-vault.md.
Where does this actually run?
The obsidian-everywhere process needs direct filesystem access to your
vault's .md files (to parse them, watch for changes, etc.) — so it
must always run on the machine where your vault physically lives
("the vault machine": your laptop, most likely). It does not matter which
client machine you're working from — the server always runs on the vault
machine; only the client connection method changes.
Where you use the MCP client | What you need |
The same machine as the vault | stdio. Nothing else — Codex, ChatGPT Desktop, Claude Code/Desktop, or another local client spawns the server directly. |
A different machine you control (a lab/work server, another laptop, an SSH box) | Bearer-token HTTP over a private network such as Tailscale, or an HTTPS tunnel such as ngrok. |
claude.ai (web app or mobile app) | OAuth HTTP + a public HTTPS URL (via Cloudflare Tunnel). claude.ai runs in Anthropic's cloud, not your network, so it can't reach Tailscale or |
You can run more than one of these at once (e.g. stdio on your laptop and bearer-token HTTP for your work server) — they're independent processes that all index the same vault.
Quickstart
The fastest install needs no clone or build step. Run this on the vault
machine (wherever your .md files live):
npx -y obsidian-everywhere /absolute/path/to/your/vaultMCP clients normally launch this command for you using one of the configurations below.
Not sure whether the path and runtime are ready? Run the privacy-safe diagnostic:
npx -y obsidian-everywhere doctor /absolute/path/to/your/vaultOption A — Codex CLI and ChatGPT Desktop, same machine as the vault (stdio)
Codex CLI, the Codex IDE extension, and ChatGPT Desktop's Codex experience share the same MCP configuration (official MCP documentation). Add the server once:
codex mcp add obsidian-everywhere -- npx -y obsidian-everywhere /absolute/path/to/your/vault
codex mcp listThen restart ChatGPT Desktop (or the IDE extension). In ChatGPT Desktop you
can also add it through Settings → MCP servers → Add server, choose
STDIO, and enter the same command and arguments. Type /mcp in Codex to
confirm that the expected tools are connected: 41 with ordinary writes enabled
and Git off, or the conditional counts documented in Vault Git.
For a project-scoped configuration instead, add this to a trusted project's
.codex/config.toml; use ~/.codex/config.toml to make it available globally:
[mcp_servers.obsidian-everywhere]
command = "npx"
args = ["-y", "obsidian-everywhere", "/absolute/path/to/your/vault"]
startup_timeout_sec = 30Use an absolute vault path. GUI apps may not inherit the same PATH as your
terminal; if npx is not found, replace command with the absolute result
of command -v npx.
Option A′ — Claude Code, same machine as the vault (stdio)
Still on the vault machine:
claude mcp add obsidian-everywhere -- npx -y obsidian-everywhere /path/to/your/vaultOr with environment variables instead of a positional arg:
OBSIDIAN_VAULT_PATH=/path/to/your/vault claude mcp add obsidian-everywhere -- npx -y obsidian-everywhereOption A″ — Claude Desktop, same machine as the vault
Add to claude_desktop_config.json on the vault machine:
{
"mcpServers": {
"obsidian-everywhere": {
"command": "npx",
"args": ["-y", "obsidian-everywhere", "/absolute/path/to/your/vault"]
}
}
}Option A‴ — Google Antigravity CLI (agy)
Add to your global Antigravity MCP configuration file (~/.gemini/config/mcp_config.json):
{
"mcpServers": {
"obsidian-everywhere": {
"command": "npx",
"args": ["-y", "obsidian-everywhere", "/absolute/path/to/your/vault"]
}
}
}Option B — Codex, ChatGPT Desktop, or Claude on a different machine
Choose one secure route to the vault machine:
Private network: use Tailscale and follow the steps below.
Public HTTPS tunnel: use the read-only-first ngrok Remote Vault Bridge tutorial. Never expose the local plaintext HTTP port directly.
Step 1 — set up a private network between the two machines, if you chose Tailscale:
# on BOTH the vault machine and the MCP client machine
curl -fsSL https://tailscale.com/install.sh | sh # or: brew install tailscale (macOS)
tailscale up # opens a browser to log in / join your "tailnet"
tailscale status # confirm both machines can see each otherNote the vault machine's Tailscale hostname/IP from tailscale status
(something like my-macbook.tailnet-name.ts.net or 100.x.y.z).
Step 2 — start the server, on the vault machine:
openssl rand -hex 32
# Save that output in a password manager, then use the same value on both machines.
export OBSIDIAN_EVERYWHERE_TOKEN="<saved token>"
OBSIDIAN_VAULT_PATH=/path/to/vault \
npx -y --package obsidian-everywhere obsidian-everywhere-httpKeep the saved token — you'll need it in step 3. (To keep this running
persistently instead of in a foreground terminal, see the LaunchAgent
setup in docs/deploy.md,
or run it in Docker via docker-compose.yml if the vault machine is a server.)
Step 3 — connect from the other machine (the lab server, etc.), using the vault machine's Tailscale address from step 1. For Codex (and the shared ChatGPT Desktop configuration), keep the token in an environment variable:
export OBSIDIAN_EVERYWHERE_CLIENT_TOKEN="<the token from step 2>"
codex mcp add obsidian-everywhere \
--url http://<vault-machine-tailscale-name>:3737/mcp \
--bearer-token-env-var OBSIDIAN_EVERYWHERE_CLIENT_TOKENEnsure ChatGPT Desktop is launched with that environment variable available, then restart it. Alternatively, use Settings → MCP servers to add the Streamable HTTP URL and bearer credential if your app version exposes those fields.
For Claude Code:
claude mcp add --transport http obsidian-everywhere \
http://<vault-machine-tailscale-name>:3737/mcp \
--header "Authorization: Bearer <the token from step 2>"The second machine now has access to the vault indexed on the first. Full
walkthrough (Docker, LaunchAgent):
docs/deploy.md.
Option C — claude.ai web/mobile app (custom connector, OAuth)
This needs a public HTTPS endpoint — claude.ai's servers can't reach your
Tailscale network or localhost. See
docs/deploy.md
for the full Cloudflare Tunnel walkthrough. Once your server is reachable at
https://your-domain:
claude.ai → Settings → Connectors → Add custom connector
Server URL:
https://your-domain/mcpclaude.ai auto-discovers the OAuth flow and shows this server's sign-in page — enter the
OAUTH_LOGIN_SECRETyou configured.
You only need this if you actually want claude.ai's web/mobile apps to read your vault. If you only ever use Claude Code (locally or from another machine), skip this entirely — Option A/B already fully covers that with no Cloudflare/OAuth involved.
Configuration
Env var | Used by | Meaning |
| all | Vault path (or pass as a positional CLI arg) |
| all | SQLite index path override. Filenames are transport-specific: |
|
| Static bearer token |
|
| HTTP port (defaults 3737 / 3738) |
|
| Public HTTPS origin (e.g. your Cloudflare Tunnel hostname) |
|
| Single-user login secret |
|
| Set to |
| all | Opt in after installing the optional |
| all | Maximum source attachment size for local extraction (default |
| all | PDF-specific extraction limit (default |
| all | Maximum uncompressed XML/HTML entry read from Office/OpenDocument/EPUB archives (default |
| all entrypoints | Opt-in Beta mount-loss protection and automatic reconciliation |
| all entrypoints | Optional vault-relative identity path, e.g. |
| all entrypoints | Runtime mount probe interval (default |
|
| Set to |
| direct processes and container environment | Git capability: |
| direct processes and container environment | One safe vault-relative real directory containing the repository; defaults to |
| direct processes and container environment | Comma-separated exact |
| supplied Docker Compose | Bearer-service inputs mapped to the three generic Git variables inside its container; mode defaults to |
| supplied Docker Compose | Independent OAuth-service inputs mapped inside its container; mode defaults to |
Obsidian Everywhere does not modify a user's vault .gitignore. Built-in
Vault Git rejects hidden .obsidian-everywhere paths, but if an index directory
falls inside a repository you also manage with ordinary Git, add
.obsidian-everywhere/ to that repository's own .gitignore.
Git configuration is independent of semantic search and ordinary note tools.
For stdio and bearer HTTP, OBSIDIAN_EVERYWHERE_READONLY=true removes both
ordinary write tools and Git commit/push. For OAuth, commit/push require both
OBSIDIAN_EVERYWHERE_GIT_MODE=commit|push and
OAUTH_ENABLE_WRITE_TOOLS=true. git_status, git_diff, and git_log remain
read-only tools at every mode above off.
Direct CLI, HTTP, OAuth, and LaunchAgent processes read the generic Git names.
The supplied docker-compose.yml deliberately uses the service-specific
HTTP/OAuth .env inputs above so enabling Git for one exposed service cannot
silently enable it for the other.
Development
npm run dev:stdio # tsx, no build step
npm run dev:http
npm run dev:oauth-http
npm test # vitest, runs against fixtures/test-vault
npm run typecheck
npm run lint
npm run format:check
npm run memory:smoke # asserts the default attachment workload stays below 200 MiB RSSfixtures/test-vault/ is a 30+ note fixture vault exercising every link
and parsing edge case the parser needs to handle (piped aliases, heading
and block links, embeds, frontmatter-embedded wikilinks, nested tags,
duplicate filenames across folders, unresolved links, code-block
exclusion, and Korean filenames/tags/wikilinks). It's what every test in
src/**/*.test.ts runs against.
Project status
The current release line includes the graph and optional local semantic context
engine, all three transports (stdio, bearer HTTP, OAuth HTTP), 41 core MCP
tools, guarded partial and bulk writes, and client setup for Codex, ChatGPT
Desktop, and Claude. Remote Vault Bridge is a first-class deployment path. Its
opt-in mount guard remains Beta while it receives cross-platform feedback
for removable drives, NAS shares, and container mounts. The separately opt-in
Vault Git tools expose read, commit, and push as progressively wider,
review-gated capabilities instead of a general-purpose Git shell.
Help test a real remote-vault setup in Beta Issue #18, or ask questions in Discussion #19. A disposable vault is welcome; never share note contents, tokens, or private hostnames.
Contributing
Bug reports, feature requests, and PRs are welcome — see
CONTRIBUTING.md for dev setup, testing conventions,
and how the fixture vault relates to the test suite. Security issues:
please see SECURITY.md rather than opening a public issue.
License
MIT — see LICENSE.
Available Tools
41 toolsadd_tagsAdd TagsA
Add one or more tags to a note's frontmatter tags array, deduplicated against existing tags.
Inputs: path (required), tags (required).
append_to_noteAppend To NoteA
Append content to an existing note — either at the end of the file, or at the end of a specific heading's section. Fails without writing anything if the heading isn't found. Reindexed immediately.
Inputs: path (required), content (required), heading.
apply_templateApply TemplateADestructive
Create a new note from an existing template note (path, title, or alias), substituting Obsidian's core Templates plugin variables: {{date}}, {{date:FORMAT}}, {{time}}, {{time:FORMAT}}, {{title}}. FORMAT supports YYYY/YY/MM/DD/HH/mm/ss tokens. Templater-only syntax (<% %>) is not evaluated and is left as literal text. Fails if the target note already exists unless overwrite is set.
Inputs: path (required), template (required), overwrite, frontmatter.
bulk_remove_frontmatter_fieldBulk Remove Frontmatter FieldADestructive
Remove exactly one frontmatter field from every note under a folder (or the whole vault) that carries it. Defaults to dry-run, enforces maxFiles, and creates a rollback snapshot (restorable via rollback_bulk_edit) when applied.
Inputs: field (required), dryRun, folder, maxFiles.
bulk_replaceBulk ReplaceADestructive
Replace text across notes selected by folder, optionally using regex. Defaults to dry-run, reports every changed file, enforces maxFiles, and creates a rollback snapshot before applying.
Inputs: find (required), replace (required), regex, dryRun, +3 more.
bulk_update_frontmatterBulk Update FrontmatterADestructive
Merge the same frontmatter fields into every note under a folder (or the whole vault). Only notes where a value actually changes are touched. Defaults to dry-run, enforces maxFiles, and creates a rollback snapshot (restorable via rollback_bulk_edit) when applied.
Inputs: fields (required), dryRun, folder, maxFiles.
create_noteCreate NoteADestructive
Create a new note in the vault. Fails if the note already exists unless overwrite is set. The note is indexed immediately — outlinks/tags in its content become real graph edges right away, visible to the very next tool call.
Inputs: path (required), content, overwrite, frontmatter.
delete_noteDelete NoteADestructive
Delete a note. By default it is moved to the vault's .trash folder and deletion is refused when backlinks exist. Permanent deletion and backlink override must be explicit.
Inputs: path (required), force, permanent.
find_orphansFind OrphansARead-onlyIdempotent
List notes with no outgoing or incoming links — useful for vault maintenance.
Inputs: no named parameters.
find_pathFind PathARead-onlyIdempotent
Find the shortest connection path between two notes (links treated as undirected), with a one-line summary of each note along the way. Shows how two concepts are actually connected in the vault.
Inputs: to (required), from (required).
find_unresolvedFind Unresolved LinksARead-onlyIdempotent
List links that don't resolve to any note in the vault, grouped by target — useful for vault maintenance.
Inputs: no named parameters.
get_backlinksGet BacklinksARead-onlyIdempotent
List every note that links to the given note, with the sentence/line each link appears in.
Inputs: path (required).
get_context_bundleGet Context BundleARead-onlyIdempotent
The killer feature: given a topic (note path/title/alias, or a search phrase), pack the center note plus its most relevant 1-hop neighbors (prioritized by backlink count, then recency) into a token budget. Prefer this over read_note when you want broad context on a topic rather than just one note.
Inputs: topic (required), tokenBudget.
get_hotkeysGet Obsidian HotkeysARead-onlyIdempotent
Read persisted Obsidian hotkey bindings and their actual command IDs from .obsidian/hotkeys.json. This includes configured commands, not the app's full runtime command registry.
Inputs: no named parameters.
get_neighborhoodGet NeighborhoodARead-onlyIdempotent
Get the n-hop subgraph around a note: an explicit node list and edge list, treating links as undirected for hop counting.
Inputs: path (required), hops.
get_notes_by_tagGet Notes By TagARead-onlyIdempotent
List every note carrying a given tag.
Inputs: tag (required), includeNested.
get_obsidian_settingsGet Obsidian SettingsARead-onlyIdempotent
Read the Templates folder and enabled/disabled core plugins from persisted vault settings.
Inputs: no named parameters.
list_folderList FolderARead-onlyIdempotent
List the immediate child folders, Markdown notes, and attachments in one vault folder.
Inputs: folder.
list_notesList NotesARead-onlyIdempotent
List note paths explicitly, optionally scoped to a folder, with pagination. Use this instead of an empty full-text search when enumerating files. Pass properties to project specific frontmatter fields (e.g. status, project) alongside each note without reading every note individually.
Inputs: limit, folder, offset, recursive, +1 more.
list_tagsList TagsARead-onlyIdempotent
List the full tag hierarchy (including nested #parent/child tags) with note counts.
Inputs: no named parameters.
move_noteMove NoteADestructive
Move a note to a new vault-relative path and update every resolvable wikilink/Markdown link that pointed to it. Fails if the destination exists.
Inputs: to (required), from (required), updateLinks.
patch_sectionPatch SectionADestructiveIdempotent
Replace the content under one heading, preserving the heading and the rest of the note.
Inputs: path (required), content (required), heading (required).
read_fileRead Vault FileARead-onlyIdempotent
Read any indexed vault file. Markdown delegates to read_note; PDF/Office/OpenDocument/EPUB/RTF/text/code/data files return locally extracted, paginated text; supported images return MCP image content. Legacy or unknown binary formats return metadata and a clear unsupported status.
Inputs: path (required), page, limit, sheet, +2 more.
read_noteRead NoteARead-onlyIdempotent
Read a note's full content plus its graph context header (outlinks, backlinks, tags, frontmatter). Optionally read just one heading's section.
Inputs: path (required), limit, offset, heading. Returns: path, tags, error, title, +7 more
regex_searchRegex SearchARead-onlyIdempotent
Search note bodies with a JavaScript regular expression and return matching file, line, and excerpt.
Inputs: pattern (required), flags, limit, folder.
remove_frontmatter_fieldRemove Frontmatter FieldADestructiveIdempotent
Remove exactly one YAML frontmatter field without replacing the note body.
Inputs: path (required), field (required).
remove_tagsRemove TagsADestructiveIdempotent
Remove one or more tags from a note's frontmatter tags array.
Inputs: path (required), tags (required).
rename_noteRename NoteADestructive
Rename a note within its current folder and update links that point to it.
Inputs: path (required), newName (required), updateLinks.
rename_tagRename TagADestructive
Rename a tag vault-wide, across both frontmatter tags arrays and inline #tag text. Defaults to dry-run and creates a rollback snapshot (restorable via rollback_bulk_edit) when applied.
Inputs: to (required), from (required), dryRun, includeNested.
replace_textReplace TextADestructive
Replace exact text in one note without overwriting the full note. Multiple matches require all: true or an exact expectedOccurrences guard.
Inputs: find (required), path (required), replace (required), all, +1 more.
rollback_bulk_editRollback Bulk EditADestructiveIdempotent
Restore every file from a rollback snapshot created by bulk_replace or rename_tag.
Inputs: rollbackId (required).
search_filesSearch FilesARead-onlyIdempotent
Search extracted text from non-Markdown vault files (PDF, DOCX, PPTX, XLSX, OpenDocument, EPUB, RTF, and text/code/data files). Extraction is local, cached, and incremental.
Inputs: limit, query, folder, extension.
search_notesSearch NotesARead-onlyIdempotent
Full-text search over note content and titles, with optional tag/folder filters. Each result includes its outgoing/incoming link counts and tags.
Inputs: tag, limit, query, folder.
semantic_searchSemantic SearchARead-onlyIdempotent
Optional meaning-based search via local multilingual-e5-small embeddings. Requires OBSIDIAN_EVERYWHERE_ENABLE_SEMANTIC=true because the model can exceed 500 MiB RSS; the default low-memory mode keeps graph, FTS, attachment search, and Jaccard related-note search available without loading it.
Inputs: query (required), limit, folder.
set_hotkeySet Obsidian HotkeyADestructiveIdempotent
Set persisted hotkey bindings for an exact Obsidian command ID. The app may need a vault reload; command IDs cannot be runtime-validated by the standalone server.
Inputs: hotkeys (required), commandId (required).
set_templates_folderSet Templates FolderADestructiveIdempotent
Set the persisted folder used by Obsidian's Templates core plugin.
Inputs: folder (required).
update_frontmatterUpdate FrontmatterADestructiveIdempotent
Merge one or more fields into a note's YAML frontmatter without replacing its body.
Inputs: path (required), fields (required).
validate_baseValidate Obsidian BaseARead-onlyIdempotent
Statically validate YAML and core structural fields in a .base file or fenced base block. Reports the limit that formula semantics and rendering require a live Obsidian app.
Inputs: path, content.
vault_overviewVault OverviewARead-onlyIdempotent
Get a high-level picture of the vault: note counts, top tags, hub notes by PageRank, and recently modified notes. Good first call at the start of a conversation.
Inputs: no named parameters.
vault_statusVault StatusARead-onlyIdempotent
Report mount-guard state, index freshness, indexed counts, write availability, and the last full reconciliation.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 41 tools
Most tools target a distinct resource/action, and the detailed descriptions disambiguate the many read/search/graph tools. A few pairs still invite confusion: list_folder vs list_notes both enumerate notes in a folder, and create_note vs apply_template both create a note.
Snake_case is used everywhere and most tools follow a verb_noun pattern like create_note, delete_note, update_frontmatter, and rename_tag. Exceptions such as vault_overview, vault_status, regex_search, and semantic_search break the verb-first pattern, though they remain readable and predictable.
At 41 tools, the surface is well beyond the 25+ threshold for 'too many' and will create selection overhead for agents. The breadth is real, but several families—frontmatter, tags, bulk edits, and settings—could be consolidated into fewer parameterized tools without losing capability.
Note lifecycle coverage is strong: create, read, update, delete, move, rename, and bulk editing with rollback are all present. Minor gaps remain, such as read-only folder handling, no explicit duplicate/restore-from-trash tool, and set_hotkey's inability to validate command IDs against the runtime registry.
Maintenance
Related MCP Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Search, read, and safely update Markdown notes in your connected Phasoric knowledge vaults.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to read, write, search, and navigate Obsidian vault notes with support for CRUD operations, full-text search, graph navigation, daily notes, and frontmatter management.3,713 npm-
- AlicenseAqualityAmaintenanceStandalone MCP server for Obsidian vaults - hybrid search (FTS5 + vector + cross-encoder reranking), images and PDFs in agent-readable form, Kanban-aware tasks (Tasks-plugin + Dataview formats), structured memory with topic recall, fine-grained read/write tools for optimal token efficiency, and link graph support. Run locally, self-host, or one-click deploy for remote access. OAuth 2.1.1633636 npm38MIT
- AlicenseBqualityDmaintenanceEnables Claude to interact with an Obsidian vault via the Local REST API plugin, supporting file operations, search, periodic notes, commands, and semantic search.223,713 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables reading, writing, searching, and managing an Obsidian vault through Claude, operating directly on markdown files via Node.js fs without requiring the Obsidian app.7,721 npmMIT