Home / Productivity / Obsidian Brain
Obsidian Brain
io.github.sweir1/obsidian-brain · v1.8.5 stdio
Obsidian MCP server: semantic search, knowledge graph, and vault editing. No plugin required.
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #176 of 355 Productivity servers on Socketlist by score, with 14 GitHub stars and a last code push 1d ago.
Install
npx -y obsidian-brain serverAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect Obsidian Brain to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env VAULT_PATH=<vault_path> --transport stdio obsidian-brain -- npx -y obsidian-brain server.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"obsidian-brain": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"obsidian-brain",
"server"
],
"env": {
"VAULT_PATH": "${VAULT_PATH}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"obsidian-brain": {
"command": "npx",
"args": [
"-y",
"obsidian-brain",
"server"
],
"env": {
"VAULT_PATH": "${env:VAULT_PATH}"
}
}
}
}Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
VAULT_PATH | Yes | No | Absolute path to your Obsidian vault (or any folder of .md files). |
DATA_DIR | No | No | Where 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 |
EMBEDDING_PRESET | No | No | Preset 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_MODEL | No | No | Power-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. |
EMBEDDING_PROVIDER | No | No | Embedding 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, |
OLLAMA_BASE_URL | No | No | Base URL of a local Ollama server. Only used when EMBEDDING_PROVIDER=ollama. |
OLLAMA_EMBEDDING_DIM | No | No | Override the embedding dimensionality when EMBEDDING_PROVIDER=ollama. If unset, the server probes the model on startup. |
OLLAMA_NUM_CTX | No | No | Override 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). S |
OBSIDIAN_BRAIN_OLLAMA_AUTO_PULL | No | No | Auto-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 progres |
OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULL | No | No | Opt-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/mode |
EMBEDDING_BASE_URL | No | No | Base 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. Ex |
EMBEDDING_DIM | No | No | Override 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 endpoin |
12 more are listed in the registry entry; see the README for the full set.
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"npx",
"-y",
"obsidian-brain",
"server"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Score breakdown
| Part | Points | What we observed | Result |
|---|---|---|---|
| Maintenance | 40/40 | Last push 1d ago, 0 open issues | Strong |
| Security hygiene | 25/35 | Licence Apache-2.0, SECURITY.md missing, published package or hosted endpoint | Fair |
| Adoption | 11/25 | 14 GitHub stars, 121 npm downloads a week | Weak |
Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.
Maintain this server? Claim or correct this listing, or get featured in Productivity. Paid placements are labelled and never change the score.
Five scored MCP servers, every Monday
The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.
| GitHub stars | 14 |
| npm weekly downloads | 121 |
| Last push | 1d ago |
| Licence | Apache-2.0 |
| Open issues | 0 |
| SECURITY.md | No |
| Language | TypeScript |
| Latest version published | 2026-11-30 |
Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.
Similar servers
seekstone
Score 90. Maintenance 40 of 40, security 35 of 35, adoption 15 of 25.io.github.shaqmughal/seekstone
Filesystem-direct Obsidian MCP server — search and edit your vault with low context-tax.
Obsidian Everywhere
Score 80. Maintenance 33 of 40, security 35 of 35, adoption 12 of 25.io.github.junnnnnw00/obsidian-everywhere
Graph context, semantic search, guarded edits, and reviewable Git for local Obsidian vaults.
Vault Cortex
Score 77. Maintenance 40 of 40, security 29 of 35, adoption 8 of 25.io.github.aliasunder/vault-cortex
Standalone MCP server for Obsidian vaults — hybrid search, notes & files, memory, tasks, OAuth 2.1