Back to MCP Servers
🧩

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

To add Obsidian Brain to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It declares 19 environment variables, listed below.

SearchAIDevTools

Install

npx -y obsidian-brain@1.7.24

Environment variables

VAULT_PATHSet in your MCP config
DATA_DIRSet in your MCP config
EMBEDDING_PRESETSet in your MCP config
EMBEDDING_MODELSet in your MCP config
EMBEDDING_PROVIDERSet in your MCP config
OLLAMA_BASE_URLSet in your MCP config
OLLAMA_EMBEDDING_DIMSet in your MCP config
OLLAMA_NUM_CTXSet in your MCP config
OBSIDIAN_BRAIN_OLLAMA_AUTO_PULLSet in your MCP config
OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULLSet in your MCP config
OBSIDIAN_BRAIN_NO_WATCHSet in your MCP config
OBSIDIAN_BRAIN_NO_CATCHUPSet in your MCP config
OBSIDIAN_BRAIN_WATCH_DEBOUNCE_MSSet in your MCP config
OBSIDIAN_BRAIN_COMMUNITY_DEBOUNCE_MSSet in your MCP config
OBSIDIAN_BRAIN_TOOL_TIMEOUT_MSSet in your MCP config
OBSIDIAN_BRAIN_MAX_CHUNK_TOKENSSet in your MCP config
OBSIDIAN_BRAIN_CONFIG_DIRSet in your MCP config
OBSIDIAN_BRAIN_DEBUGSet in your MCP config
OBSIDIAN_BRAIN_LOG_FORMATSet in your MCP config

Set only if the maker requires them; this listing does not flag any of them as required.

Install with your client

Terminal
claude mcp add obsidian-brain --env VAULT_PATH=<YOUR_VAULT_PATH> --env DATA_DIR=<YOUR_DATA_DIR> --env EMBEDDING_PRESET=<YOUR_EMBEDDING_PRESET> --env EMBEDDING_MODEL=<YOUR_EMBEDDING_MODEL> --env EMBEDDING_PROVIDER=<YOUR_EMBEDDING_PROVIDER> --env OLLAMA_BASE_URL=<YOUR_OLLAMA_BASE_URL> --env OLLAMA_EMBEDDING_DIM=<YOUR_OLLAMA_EMBEDDING_DIM> --env OLLAMA_NUM_CTX=<YOUR_OLLAMA_NUM_CTX> --env OBSIDIAN_BRAIN_OLLAMA_AUTO_PULL=<YOUR_OBSIDIAN_BRAIN_OLLAMA_AUTO_PULL> --env OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULL=<YOUR_OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULL> --env OBSIDIAN_BRAIN_NO_WATCH=<YOUR_OBSIDIAN_BRAIN_NO_WATCH> --env OBSIDIAN_BRAIN_NO_CATCHUP=<YOUR_OBSIDIAN_BRAIN_NO_CATCHUP> --env OBSIDIAN_BRAIN_WATCH_DEBOUNCE_MS=<YOUR_OBSIDIAN_BRAIN_WATCH_DEBOUNCE_MS> --env OBSIDIAN_BRAIN_COMMUNITY_DEBOUNCE_MS=<YOUR_OBSIDIAN_BRAIN_COMMUNITY_DEBOUNCE_MS> --env OBSIDIAN_BRAIN_TOOL_TIMEOUT_MS=<YOUR_OBSIDIAN_BRAIN_TOOL_TIMEOUT_MS> --env OBSIDIAN_BRAIN_MAX_CHUNK_TOKENS=<YOUR_OBSIDIAN_BRAIN_MAX_CHUNK_TOKENS> --env OBSIDIAN_BRAIN_CONFIG_DIR=<YOUR_OBSIDIAN_BRAIN_CONFIG_DIR> --env OBSIDIAN_BRAIN_DEBUG=<YOUR_OBSIDIAN_BRAIN_DEBUG> --env OBSIDIAN_BRAIN_LOG_FORMAT=<YOUR_OBSIDIAN_BRAIN_LOG_FORMAT> -- npx -y obsidian-brain@1.7.24

Run this in a terminal to add the server to Claude Code.

What this does

Obsidian Brain exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server declares the following environment variables. Set only the ones the maker requires for your setup; this listing does not flag any of them as required:

VAULT_PATH
DATA_DIR
EMBEDDING_PRESET
EMBEDDING_MODEL
EMBEDDING_PROVIDER
OLLAMA_BASE_URL
OLLAMA_EMBEDDING_DIM
OLLAMA_NUM_CTX
OBSIDIAN_BRAIN_OLLAMA_AUTO_PULL
OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULL
OBSIDIAN_BRAIN_NO_WATCH
OBSIDIAN_BRAIN_NO_CATCHUP
OBSIDIAN_BRAIN_WATCH_DEBOUNCE_MS
OBSIDIAN_BRAIN_COMMUNITY_DEBOUNCE_MS
OBSIDIAN_BRAIN_TOOL_TIMEOUT_MS
OBSIDIAN_BRAIN_MAX_CHUNK_TOKENS
OBSIDIAN_BRAIN_CONFIG_DIR
OBSIDIAN_BRAIN_DEBUG
OBSIDIAN_BRAIN_LOG_FORMAT

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Obsidian Brain?

Run the Claude Code command in the install section to add Obsidian Brain to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Obsidian Brain?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Obsidian Brain as well.

Does Obsidian Brain need an API key?

This listing does not flag an API key as required. The server can use these environment variables: VAULT_PATH, DATA_DIR, EMBEDDING_PRESET, EMBEDDING_MODEL, EMBEDDING_PROVIDER, OLLAMA_BASE_URL, OLLAMA_EMBEDDING_DIM, OLLAMA_NUM_CTX, OBSIDIAN_BRAIN_OLLAMA_AUTO_PULL, OBSIDIAN_BRAIN_OLLAMA_BYOM_AUTO_PULL, OBSIDIAN_BRAIN_NO_WATCH, OBSIDIAN_BRAIN_NO_CATCHUP, OBSIDIAN_BRAIN_WATCH_DEBOUNCE_MS, OBSIDIAN_BRAIN_COMMUNITY_DEBOUNCE_MS, OBSIDIAN_BRAIN_TOOL_TIMEOUT_MS, OBSIDIAN_BRAIN_MAX_CHUNK_TOKENS, OBSIDIAN_BRAIN_CONFIG_DIR, OBSIDIAN_BRAIN_DEBUG, OBSIDIAN_BRAIN_LOG_FORMAT; the maker's docs say which of them your setup needs. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-sweir1-obsidian-brain)](https://clauderules.net/mcp/io-github-sweir1-obsidian-brain)
HTML
<a href="https://clauderules.net/mcp/io-github-sweir1-obsidian-brain" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-sweir1-obsidian-brain" alt="Listed on clauderules.net" /></a>