Skip to content
MCP server
Registry

Obsidian Brain MCP Server

Obsidian MCP server: semantic search, knowledge graph, and vault editing. No plugin required.

Obsidian Brain scores 45 (Fair), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Search, Productivity. GitHub shows 14 stars. Package registries report about 220 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by sweir1Apache-2.0TypeScript14 stars
Trust score
45Fair
Trust score 45 of 100, Fair

Fair trust

45 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 45 comes from

0 + 20 + 8 + 10 + 4 + 3 = 45. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity8 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 8 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "sweir1-obsidian-brain": {      "command": "npx",      "args": [        "-y",        "obsidian-brain@1.8.5"      ],      "env": {        "VAULT_PATH": "",        "DATA_DIR": "",        "EMBEDDING_PRESET": "english",        "EMBEDDING_MODEL": "",        "EMBEDDING_PROVIDER": "transformers",        "OLLAMA_BASE_URL": "http://localhost:11434",        "OLLAMA_EMBEDDING_DIM": "",        "OLLAMA_NUM_CTX": "",        "OBSIDIAN_BRAIN_OLLAMA_AUTO_PULL": "",        "OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULL": "",        "EMBEDDING_BASE_URL": "http://localhost:8080",        "EMBEDDING_DIM": "",        "EMBEDDING_API_KEY": "",        "OBSIDIAN_BRAIN_NO_WATCH": "",        "OBSIDIAN_BRAIN_NO_CATCHUP": "",        "OBSIDIAN_BRAIN_IGNORE": "",        "OBSIDIAN_BRAIN_HONOR_EXCLUDED_FILES": "",        "OBSIDIAN_BRAIN_WATCH_DEBOUNCE_MS": "3000",        "OBSIDIAN_BRAIN_COMMUNITY_DEBOUNCE_MS": "60000",        "OBSIDIAN_BRAIN_TOOL_TIMEOUT_MS": "30000",        "OBSIDIAN_BRAIN_MAX_CHUNK_TOKENS": "",        "OBSIDIAN_BRAIN_CONFIG_DIR": "",        "OBSIDIAN_BRAIN_DEBUG": "",        "OBSIDIAN_BRAIN_LOG_FORMAT": ""      }    }  }}

Environment variables

NameRequiredNotes
VAULT_PATHRequiredAbsolute path to your Obsidian vault (or any folder of .md files).
DATA_DIROptionalWhere to store the SQLite index. Defaults to $XDG_DATA_HOME/obsidian-brain or ~/.local/share/obsidian-brain. (Downloaded embedding models live in the transformers.js cache — set TRANSFORMERS_CACHE to move it.)
EMBEDDING_PRESETOptionalPreset name: english (default, bge-small-en-v1.5), english-fast, english-quality, multilingual, multilingual-quality, multilingual-ollama, multilingual-openai. Ignored when EMBEDDING_MODEL is set.
EMBEDDING_MODELOptionalPower-user override: any transformers.js checkpoint, Ollama model id, or — for EMBEDDING_PROVIDER=openai-compatible — the id of the model the server has loaded. Takes precedence over EMBEDDING_PRESET. Switching auto-reindexes.
EMBEDDING_PROVIDEROptionalEmbedding backend. 'transformers' (local, default), 'ollama' (requires a running Ollama server), or 'openai-compatible' (any server speaking POST /v1/embeddings — llama.cpp's llama-server, LM Studio, vLLM, text-embeddings-inference, or OpenAI itself). Aliases for the last one: openai, llamacpp, llama-cpp, llama.cpp, lmstudio, lm-studio, vllm, tei.
OLLAMA_BASE_URLOptionalBase URL of a local Ollama server. Only used when EMBEDDING_PROVIDER=ollama.
OLLAMA_EMBEDDING_DIMOptionalOverride the embedding dimensionality when EMBEDDING_PROVIDER=ollama. If unset, the server probes the model on startup.
OLLAMA_NUM_CTXOptionalOverride Ollama's num_ctx for embed requests. Leave UNSET to let obsidian-brain auto-detect via `/api/show`'s `context_length` (e.g. nomic-embed-text=2048, bge-m3=8192, qwen3-embedding:0.6b=32 768). Setting this manually imposes a hard cap and may silently truncate longer inputs — see https://github.com/ollama/ollama/issues/14259. Ollama's own default is 2048 which truncates for any model trained on a larger context. See also https://github.com/ollama/ollama/issues/7008. Fallback when both env is unset AND /api/show is unreachable: 8192.
OBSIDIAN_BRAIN_OLLAMA_AUTO_PULLOptionalAuto-pull the configured Ollama model when /api/show returns 404 (model not present). Default ON — choosing an Ollama-backed preset is implicit consent to download its model. Streams /api/pull progress to stderr. Set to '0' to disable auto-pull entirely (master kill-switch) and fall back to the actionable error path (`HTTP 404 — try: ollama pull <model>`).
OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULLOptionalOpt-in to auto-pull for BYOM (custom EMBEDDING_MODEL) Ollama models OUTSIDE Ollama's official `library/` namespace. Default OFF — third-party models (e.g. `user/custom-fork`, `myregistry.com/team/model`) require this env var to be set to `1` before they will auto-pull, to prevent silent downloads of arbitrary user-named artifacts. Preset-known models (via EMBEDDING_PRESET) and bare model ids in the official library (e.g. `qwen3-embedding:0.6b`, `library/llama3:8b`) continue to auto-pull by default per the existing OBSIDIAN_BRAIN_OLLAMA_AUTO_PULL behavior.
EMBEDDING_BASE_URLOptionalBase URL of an OpenAI-compatible embedding server. Only used when EMBEDDING_PROVIDER=openai-compatible (or one of its aliases). A trailing '/v1' is optional — it is stripped so both spellings work. Example for llama.cpp: llama-server -m model.gguf --embedding --pooling last --port 8080.
EMBEDDING_DIMOptionalOverride the embedding dimensionality when EMBEDDING_PROVIDER=openai-compatible. If unset, the server learns it by spending one throwaway embed at startup — the OpenAI protocol has no metadata endpoint to ask. Well-known dims: Qwen3-Embedding-0.6B = 1024, Qwen3-Embedding-4B = 2560, Qwen3-Embedding-8B = 4096, bge-m3 = 1024.
EMBEDDING_API_KEYOptionalBearer token sent to an OpenAI-compatible embedding server. Only used when EMBEDDING_PROVIDER=openai-compatible. Leave unset for a local llama.cpp / LM Studio server, which needs no auth; required when pointing at a hosted endpoint.
OBSIDIAN_BRAIN_NO_WATCHOptionalSet to '1' to disable the live chokidar file watcher. Useful on SMB/NFS vaults where FSEvents/inotify don't fire reliably — fall back to running `obsidian-brain index` on a schedule (launchd/systemd).
OBSIDIAN_BRAIN_NO_CATCHUPOptionalSet to '1' to skip the startup catchup reindex pass that picks up edits made while the server was down. The live file watcher still starts (via OBSIDIAN_BRAIN_NO_WATCH=1 to disable that separately), and first-time indexing on an empty DB is unaffected — this knob only governs the post-restart `enqueueBackgroundReindex` walk.
OBSIDIAN_BRAIN_IGNOREOptionalFolders or files to keep out of the index, in .gitignore syntax: a comma- or newline-separated list, or a JSON array for names that contain commas (e.g. `Claude outputs/, Templates/`). Same rules as a `.obsidianbrainignore` file at the vault root, applied after it. Excluded notes stay on disk; already-indexed ones are removed on the next catch-up or reindex.
OBSIDIAN_BRAIN_HONOR_EXCLUDED_FILESOptionalSet to '1' to also skip everything listed in Obsidian's Settings → Files and links → Excluded files (read from `.obsidian/app.json`), matched the way Obsidian matches them. Off by default.
OBSIDIAN_BRAIN_WATCH_DEBOUNCE_MSOptionalPer-file reindex debounce for the live watcher, in milliseconds.
OBSIDIAN_BRAIN_COMMUNITY_DEBOUNCE_MSOptionalGraph-wide community-detection (Louvain) debounce for the live watcher, in milliseconds. Louvain is the only expensive op — batching it prevents per-edit CPU spikes.
OBSIDIAN_BRAIN_TOOL_TIMEOUT_MSOptionalPer-tool-call timeout in milliseconds. Tools exceeding this return an MCP error instead of hanging. Applies to every tool except `reindex`, which keeps its own 10-minute default unless OBSIDIAN_BRAIN_TOOL_TIMEOUT_MS_REINDEX is set.
OBSIDIAN_BRAIN_MAX_CHUNK_TOKENSOptionalOverride the chunk-size budget (in tokens). When set, this beats the capacity probed from the model's tokenizer or Ollama /api/show, and the 512-token cap applied to models whose window exceeds 1,024 tokens. Use to choose larger chunks for a long-context model, or for models with stale tokenizer configs.
OBSIDIAN_BRAIN_CONFIG_DIROptionalOverride the per-user config directory where obsidian-brain stores model overrides (`model-overrides.json`) and the user-fetched seed (`seed-models.json`). Default is `$XDG_CONFIG_HOME/obsidian-brain` on macOS/Linux (or `~/.config/obsidian-brain`) and `%APPDATA%/obsidian-brain` on Windows. Both files survive `npm update obsidian-brain` because they live outside the package.
OBSIDIAN_BRAIN_DEBUGOptionalSet to "1" to print a verbose synchronous startup trace to stderr — every preflight, createContext, server.connect, and shutdown step is logged with a monotonic timestamp. The LAST line before any silent failure tells you exactly which step the server reached. No-op when unset (no overhead). Use to diagnose silent-crash failure modes.
OBSIDIAN_BRAIN_LOG_FORMATOptionalSet to 'ndjson' for one-JSON-object-per-line stderr output (timestamp + level + message + structured fields). Default is human-readable plain text (`obsidian-brain: <message>`). Useful for piping logs into aggregators (Datadog, Loki, Vector, journald) that index structured fields.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Standalone Node MCP server: semantic search + knowledge graph + vault editing for Obsidian, no plugin required

Frequently asked questions

What is Obsidian Brain MCP Server?

Obsidian MCP server: semantic search, knowledge graph, and vault editing. No plugin required.

How do I install Obsidian Brain MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Obsidian Brain MCP Server runs locally from the npm package obsidian-brain with the command npx -y obsidian-brain@1.8.5.

Is Obsidian Brain MCP Server free and open source?

Yes. Obsidian Brain MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Obsidian Brain MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Obsidian Brain MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Obsidian Brain MCP Server's trust score calculated?

Obsidian Brain MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server