# Obsidian Vault (TUI, CLI & MCP)

> Obsidian Vault (TUI, CLI & MCP) is an open-source MCP server for knowledge and memory. Terminal TUI, CLI and MCP server for searching and editing local Obsidian vaults. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, macOS, Windows, Linux, Self-hosted
- **Website:** https://bitefoundry.dev
- **Repository:** https://github.com/bitefoundry/obsidian
- **MCP Registry name:** io.github.BiteFoundry/obsidian
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [security](https://ai-powered.com/categories/security), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-11-27

## About

Obsidian Vault from BiteFoundry lets you work with Markdown notes already on your disk without signing in to anything. It finds the vaults registered in your Obsidian configuration, then builds a local SQLite index with full-text search, so queries run against files on your machine.

The same engine is reachable four ways: an interactive terminal interface with a quick switcher, backlink inspector, task list and a Braille-rendered knowledge graph; a scriptable CLI with JSON output; a local HTTP API; and a stdio MCP server exposing 20 typed tools to AI clients. Edits such as toggling a checkbox, appending text or moving a note rewrite the Markdown in place, and deletions go to the .trash folder only when a confirm flag is set.

It suits people who live in the terminal, developers who want notes available to coding agents, and anyone who wants scripted access to a personal knowledge base. It is an unofficial client and is not affiliated with Obsidian.

## Features

- **Local vault discovery:** Finds existing Obsidian vaults on Windows, macOS and Linux without API keys or cloud accounts.
- **Full-text search index:** Uses SQLite with FTS5 and incremental scanning so searches stay fast on large vaults.
- **Terminal knowledge graph:** Shows local or global note links as a Braille canvas with adjustable hop depth.
- **Safe note editing:** Edits checkboxes and text in place, and moves notes while updating incoming links.
- **JSON CLI and HTTP API:** Returns compact JSON for shell scripts and a token-protected local API for other tools.
- **MCP tools for agents:** Provides 20 typed tools over stdio so AI clients can read, search and edit a vault.

## Good for

- Search and read notes from the terminal without opening the Obsidian app
- Let a coding agent look up project notes and update task checkboxes
- Script daily note entries or bulk note reads with JSON output
- Find orphaned notes and inspect backlinks across a large vault
- Move notes between folders while keeping wikilinks intact

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add obsidian -- docker run -i --rm ghcr.io/bitefoundry/obsidian:0.4.3
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add obsidian -- docker run -i --rm ghcr.io/bitefoundry/obsidian:0.4.3
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.obsidian]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/bitefoundry/obsidian:0.4.3"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user obsidian docker -- run -i --rm ghcr.io/bitefoundry/obsidian:0.4.3

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "obsidian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bitefoundry/obsidian:0.4.3"
      ]
    }
  }
}
```

## FAQ

### Does Obsidian Vault (TUI, CLI & MCP) need an Obsidian account or API key?

No. It reads Markdown files directly from the vault folders on your computer.

### Can Obsidian Vault (TUI, CLI & MCP) delete notes accidentally through MCP?

Deletions into the .trash folder require confirm set to true, which acts as a safety guard.

### How do I run Obsidian Vault (TUI, CLI & MCP) as an MCP server?

Add a server entry with the command bitefoundry-obsidian and the argument mcp to your MCP client settings.

### Is Obsidian Vault (TUI, CLI & MCP) free?

Yes. Obsidian Vault (TUI, CLI & MCP) is open source, so you can use and self-host it for free.

### How do I add Obsidian Vault (TUI, CLI & MCP) to Claude Code?

Run this command in your terminal: claude mcp add obsidian -- docker run -i --rm ghcr.io/bitefoundry/obsidian:0.4.3

### What are the best alternatives to Obsidian Vault (TUI, CLI & MCP)?

The closest alternatives to Obsidian Vault (TUI, CLI & MCP) are Obsidian Everywhere, Markdown Vault MCP, Obsidian Vault MCP Server, Vault Cortex and Obsidian Vault MCP.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Obsidian Everywhere](https://ai-powered.com/mcp/obsidian-everywhere): Obsidian Everywhere is an open-source MCP server for knowledge and memory.
- [Markdown Vault MCP](https://ai-powered.com/mcp/markdown-vault-mcp): Markdown Vault MCP is a free MCP server for files and documents.
- [Obsidian Vault MCP Server](https://ai-powered.com/mcp/obsidian-vault-mcp-server): Obsidian Vault MCP Server is an open-source MCP server for knowledge and memory.
- [Vault Cortex](https://ai-powered.com/mcp/vault-cortex): Vault Cortex is an MCP server for knowledge and memory.
- [Obsidian Vault MCP](https://ai-powered.com/mcp/obsidian-vault-mcp): Obsidian Vault MCP is an open-source MCP server for knowledge and memory.
- [Obsidian Notes](https://ai-powered.com/mcp/obsidian-notes): Obsidian Notes is an open-source MCP server for knowledge and memory.
- [Obsidian MCP Server](https://ai-powered.com/mcp/obsidian-mcp-server-2): Obsidian MCP Server is an MCP server for knowledge and memory.
- [Obsidian Brain](https://ai-powered.com/mcp/obsidian-brain): Obsidian Brain is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/obsidian-vault-tui-cli-and-mcp
