kObsidian
v0.2.1Filesystem-first MCP for Obsidian — an LLM-maintained wiki inspired by Karpathy's LLM Wiki.
Values you need
| Variable | What it is | |
|---|---|---|
OBSIDIAN_VAULT_PATH | required | Absolute path to the Obsidian vault this server should operate on. |
OBSIDIAN_API_URL | optional | Base URL of the Obsidian Local REST API plugin. Only required for workspace.* / commands.* / live dataview.query* tools. Default: https://127.0.0.1:27124 |
OBSIDIAN_API_VERIFY_TLS | optional | Set to 'true' if you've trusted the Local REST API's self-signed certificate. Default: false |
OBSIDIAN_REST_API_KEY | optional secret | Bearer key for the Obsidian Local REST API plugin (only needed for REST-bridged tools). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add kobsidian-mcp -e 'OBSIDIAN_VAULT_PATH=<OBSIDIAN_VAULT_PATH>' -- npx -y kobsidian-mcp@0.2.1Add to
claude_desktop_config.json{
"mcpServers": {
"kobsidian-mcp": {
"args": [
"-y",
"kobsidian-mcp@0.2.1"
],
"command": "npx",
"env": {
"OBSIDIAN_VAULT_PATH": "<OBSIDIAN_VAULT_PATH>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"kobsidian-mcp": {
"args": [
"-y",
"kobsidian-mcp@0.2.1"
],
"command": "npx",
"env": {
"OBSIDIAN_VAULT_PATH": "<OBSIDIAN_VAULT_PATH>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "OBSIDIAN_VAULT_PATH",
"id": "obsidian-vault-path",
"password": true,
"type": "promptString"
}
],
"servers": {
"kobsidian-mcp": {
"args": [
"-y",
"kobsidian-mcp@0.2.1"
],
"command": "npx",
"env": {
"OBSIDIAN_VAULT_PATH": "${input:obsidian-vault-path}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.kobsidian-mcp]
command = "npx"
args = ["-y", "kobsidian-mcp@0.2.1"]
env = { "OBSIDIAN_VAULT_PATH" = "<OBSIDIAN_VAULT_PATH>" }For AI agents
- Ask the user for: OBSIDIAN_VAULT_PATH. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: notes.read, notes.create, notes.update, notes.delete, notes.search, notes.searchByDate, notes.list, notes.listFolders, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json