Skip to main content
Glama
BiteFoundry Obsidian MCP Server

BiteFoundry Obsidian MCP Server

@bitefoundry/obsidian

Search local Obsidian vaults, manage Markdown notes and tasks, and inspect backlinks from the terminal.

npm version platforms Rust & Ratatui License: MIT

BiteFoundry · Latest release notes

Obsidian TUI Demo


Highlights

Pillar

Capabilities

Zero-Auth Native Vault Discovery

Automatically discovers every local Obsidian vault from %APPDATA%\obsidian\obsidian.json (Windows), ~/Library/Application Support/obsidian/obsidian.json (macOS), or ~/.config/obsidian/obsidian.json (Linux) — 100% local-first Markdown files on disk, zero API keys or cloud auth required.

Obsidian-Native 3-Pane TUI

Signature Obsidian purple (#a78bfa / #7c3aed) Minimal-Chrome workspace (bitefoundry-obsidian): collapsible 5-Tab Left Sidebar ([) (1 Files · 2 Tags · 3 Bookmarks · 4 Outline · 5 Tasks), Live Note Canvas with YAML Frontmatter pills, #tag chips, semantic Callout cards, interactive - [ ] checkboxes (Space/x updates the .md file atomically), clickable [[wikilinks]], inline HD ![[image.png]] previews (v), Right Backlinks & Outgoing Inspector (B), Quick Switcher (Ctrl+O), Daily Notes (D), and 5 curated palettes (Obsidian Dark, Catppuccin Mocha, Tokyo Night, Nord, Warm Paper).

Interactive Knowledge Graph (G)

Force-directed & radial Braille Canvas Knowledge Graph rendered right inside the terminal: purple focal edges, 1-hop / 2-hop / unresolved ghost nodes, Local vs Global scope (l), hop depth (+/-), node cycling (j/k/Tab), and Enter jump-to-note.

SQLite WAL + FTS5 + 4-in-1 Agent Interface

Incremental mtime_ms + size_bytes filesystem scanner powering SQLite WAL + FTS5 search (Korean/CJK queries also match inside longer words), background watcher IPC daemon (bitefoundry-obsidian daemon), scriptable --json CLI, local HTTP JSON API (bitefoundry-obsidian serve, :8792), and stdio MCP server (bitefoundry-obsidian mcp, 20 typed tools with confirm: true .trash/ safety guard).


Related MCP server: Optimike Obsidian MCP

Quick Start

# 1. Install the native CLI globally
npm i -g @bitefoundry/obsidian

# 2. Launch directly — auto-discovers your existing local Obsidian vaults!
bitefoundry-obsidian

# Optional: install a short shell alias (`ob` -> `bitefoundry-obsidian`)
bitefoundry-obsidian alias install

# Or scaffold a starter local vault anywhere:
bitefoundry-obsidian init ~/Documents/SecondBrain
bitefoundry-obsidian vaults list
bitefoundry-obsidian notes read "Roadmap" --json

Read a local note with its modification time and omission counts. Use a vault-relative path if several notes share its name. For full detail, add --full in the CLI or pass compact: false to read_note in MCP.


Upgrade from 0.1.x

Update shell scripts from obsidian notes list or obs notes list to bitefoundry-obsidian notes list. In MCP settings, change "command": "obsidian" or "command": "obs" to "command": "bitefoundry-obsidian" and keep "args": ["mcp"].

For npm, run npm install -g @bitefoundry/obsidian. Use a separate prefix when another program supplies an old command in the existing npm prefix. For a source install, run cargo install --git https://github.com/BiteFoundry/obsidian --locked. For a standalone install, download the asset named bitefoundry-obsidian for your platform. Shared npm prefix · Standalone updater transition

Keybindings Cheat Sheet

Key

Action

Context

Ctrl+O / Ctrl+K / Ctrl+P

Quick Switcher & Command Palette (fuzzy notes + >commands)

Global

G

Toggle Interactive Knowledge Graph View (Braille force-directed canvas)

Global

l / + - / j k / Enter

Toggle Local/Global scope · Depth · Cycle nodes · Open node

Graph View

D

Open or create Today's Daily Note (reads .obsidian/daily-notes.json)

Global

[ / Ctrl+B

Toggle collapsible Left Sidebar

Global

1 2 3 4 5

Switch Sidebar tabs: Files · Tags · Bookmarks · Outline · Tasks

Global

B

Toggle Right Inspector (Linked Mentions / Backlinks & Outgoing Links)

Global

Space / x

Toggle live - [ ] / - [x] checkbox surgically in the .md file

Canvas / Tasks

Enter / Backspace / Alt+←

Follow [[wikilink]] / Navigate back in note history stack

Canvas

a / n / b

Quick Append · New Note · Bookmark

Global

e / Ctrl+E

Edit inline · Open in $VISUAL or $EDITOR and reindex on success

Note

u / h / v / y

Link Extractor · Toggle Inline Hrefs · HD Image Preview · Copy Code/Note

Global

Ctrl+V / Ctrl+F

Paste clipboard PNG into Attachments/ · File Picker (z zoxide jump)

Global

Ctrl+S / Ctrl+, / . / ?

Vault Switcher · Settings (5 Palettes) · Context Menu · Keybinding Help

Global


CLI, HTTP API & MCP

CLI (--json & --vault ready)

# Discover, register, scaffold & reindex local vaults
bitefoundry-obsidian vaults list --json
bitefoundry-obsidian vaults add ~/Vaults/Work --name work
bitefoundry-obsidian vaults use work
bitefoundry-obsidian init ~/Vaults/Starter
bitefoundry-obsidian reindex

# Search, read, author, daily notes & surgical checkbox toggles
bitefoundry-obsidian search "Architecture" --json
bitefoundry-obsidian notes list --folder Projects --json
bitefoundry-obsidian notes list --folder Projects --json --limit 50 --cursor "<next_cursor>"
bitefoundry-obsidian notes read "Q4 Architecture RFC"
bitefoundry-obsidian notes read "Q4 Architecture RFC" --json
bitefoundry-obsidian notes read "Q4 Architecture RFC" --json --full
bitefoundry-obsidian notes create "Sprint Retro" --folder Notes --tags "retro,q4"
bitefoundry-obsidian notes append "Q4 Architecture RFC" "- [ ] Verify the release"
bitefoundry-obsidian notes replace "Q4 Architecture RFC" --find "Draft review" --replace "Review complete" --json
bitefoundry-obsidian notes move "Q4 Architecture RFC" "Archive/Q4 Architecture RFC" --json
bitefoundry-obsidian daily "--append=- [ ] Review PRs"
bitefoundry-obsidian tasks --open --json   # paginated response (default 50; use --cursor or --all)
bitefoundry-obsidian toggle-task "Q4 Architecture RFC" 14

# Knowledge Graph & Link Intelligence
bitefoundry-obsidian backlinks "Q4 Architecture RFC" --json
bitefoundry-obsidian links "Q4 Architecture RFC" --json
bitefoundry-obsidian graph "Q4 Architecture RFC" --depth 2 --json
bitefoundry-obsidian orphans --json
bitefoundry-obsidian tags architecture --json

# Background watcher daemon & diagnostics
bitefoundry-obsidian daemon start
bitefoundry-obsidian doctor --json

notes read prints raw Markdown. With --json, it returns a compact object by default (rel_path, title, raw_markdown, mtime_ms, omitted, and hint); add --full to include summary, parsed, backlinks, outgoing_links, and images (--compact is kept as an alias for the default compact output). In --full output, parsed includes rendering blocks and body copies that can be around 10x the raw note size; select metadata with jq or use MCP read_note with compact: false when you do not need AST blocks. daily --json follows the same compact-by-default and --full rule, except that calls with a non-empty --append without --full return a minimal receipt (rel_path, created, appended). notes list --json and tasks --json return paginated objects with returned, total, has_more, next_cursor, and notes/tasks (default page size 50, max 500; pass --cursor to continue or --all for every item). search --json returns query, limit (clamped to 1..200), returned, has_more, next_cursor (null), and results; when has_more is true, raise --limit up to 200 or narrow the query. Use notes edit <NOTE> for arbitrary body edits in your editor. notes replace edits a single literal match in the Markdown body and returns replaced, matches, and rel_path. When a --json command fails at runtime, stdout contains {"ok":false,"error":{"code","message"}} (with candidates on ambiguous note references), stderr is empty, and the exit code is 1; argument parsing errors print clap usage to stderr with exit code 2.

v0.2.3

Equivalent command

notes list --json | jq '.[]'

notes list --json --all | jq '.notes[]'

tasks --open --json | jq '.[]'

tasks --open --json --all | jq '.tasks[]'

search Q --json | jq '.[]'

search Q --json | jq '.results[]'

notes read X --json | jq '.summary'

notes read X --json --full | jq '.summary'

daily --json | jq '.note.summary'

daily --json --full | jq '.note.summary'

Local HTTP JSON API (bitefoundry-obsidian serve)

bitefoundry-obsidian serve --bind 127.0.0.1 --port 8792 --token "$API_TOKEN"
curl -H "Authorization: Bearer $API_TOKEN" "http://127.0.0.1:8792/api/v1/search?q=Architecture"
curl -H "Authorization: Bearer $API_TOKEN" "http://127.0.0.1:8792/api/v1/graph?note=Q4%20Architecture%20RFC&depth=2"

Without --token, serve prints a random token for the run on stderr (--allow-keyless turns this off on loopback). Requests from other websites and unknown Host names are rejected, a non-loopback --bind requires --token, and vault= accepts registered vaults only. Browser apps on another origin need --allow-origin <origin>.

Full endpoint catalog and OpenAPI schema: docs/API.md · docs/openapi.yaml.

MCP Server (bitefoundry-obsidian mcp)

{
  "mcpServers": {
    "obsidian": {
      "command": "bitefoundry-obsidian",
      "args": ["mcp"]
    }
  }
}

Full tool catalog and argument schemas: docs/MCP.md · npm packaging details: docs/NPM.md.

move_note renames or moves a note within a vault, updates incoming wikilinks and Markdown links that need a new target, and rewrites relative Markdown links, images, and attachments inside the moved note so they keep pointing to the same files. Ambiguous note references return an error; pass a vault-relative path when multiple notes share a title or alias. Use append_note and replace_note_text for Markdown, toggle_task for checkboxes, and update_frontmatter for YAML properties. Editing surfaces and move examples


@bitefoundry Enterprise Terminal Suite

Package

Commands

Workspace

Interfaces

@bitefoundry/teams

teams

Microsoft Teams (Chats, Channels, Meetings & Threads)

TUI · CLI · HTTP · MCP

@bitefoundry/outlook

outlook

Microsoft Outlook (Mail, Calendar & Contacts)

TUI · CLI · HTTP · MCP

@bitefoundry/onenote

onenote

Microsoft OneNote (Notebooks, Sections & Pages)

TUI · CLI · HTTP · MCP

@bitefoundry/sharepoint

sharepoint, bitefoundry-onedrive

Microsoft SharePoint & OneDrive (Sites, Libraries & Lists)

TUI · CLI · HTTP · MCP

@bitefoundry/atlassian

atlassian, confluence, conf

Atlassian Jira (Kanban, Sprints, JQL) & Confluence Wiki

TUI · CLI · HTTP · MCP

@bitefoundry/notion

notion

Notion (Editorial Pages, Interactive Blocks & Databases)

TUI · CLI · HTTP · MCP

@bitefoundry/obsidian

bitefoundry-obsidian

Obsidian (Local Vaults, Backlinks & Interactive Knowledge Graph)

TUI · CLI · HTTP · MCP


Disclaimer: Unofficial terminal client for Obsidian vaults. Not affiliated with, endorsed by, or sponsored by Dynalist Inc. (Obsidian).

Available Tools

20 tools
append_noteA

Append Markdown text, checklist items, or callouts atomically to an existing note.

Inputs: note (required), text (required), vault.

create_noteB

Create a new Markdown note atomically with optional folder, initial content, and YAML frontmatter tags.

Inputs: title (required), tags, vault, folder, +1 more.

daily_noteA

Open or create today's Daily Note (or a specific YYYY-MM-DD date) and optionally append text. Calls with non-empty append return a receipt (rel_path, created, appended, hint); calls without append return the note body. For full metadata call read_note with the returned rel_path and compact:false. Each call with append appends again.

Inputs: date, vault, append.

delete_noteA

Safely move a note to the vault's .trash/ directory. Requires confirm: true.

Inputs: note (required), confirm (required), vault.

find_by_tagB

Find all notes containing a tag (including nested subtags like #project/q4).

Inputs: tag (required), vault.

find_orphansA

Find orphan notes that have zero incoming backlinks and zero outgoing wikilinks. Reads the whole note index; cost grows with vault size and the result is not paginated.

Inputs: vault.

get_local_graphA

Return the local BFS knowledge graph around a note (or the full vault graph when note is omitted). Omitting note returns the whole-vault graph, which is large and slow on big vaults; pass note and a small depth when possible.

Inputs: note, depth, vault.

list_notesB

List notes in the active vault, optionally filtered by folder prefix.

Inputs: limit, vault, cursor, folder.

list_tagsA

List all inline and frontmatter tags in the vault with note counts. Aggregates over the whole vault.

Inputs: vault.

list_tasksB

List Markdown checklist tasks across the vault or within a single note.

Inputs: note, limit, vault, cursor, +1 more.

list_vaultsA

List registered and auto-discovered vaults with note counts. Scans every vault to refresh counts, so the first call can be slow with many or large vaults.

Inputs: no named parameters.

move_noteA

Move or rename a note within its vault and update incoming wikilinks that need a new target.

Inputs: dst (required), src (required), vault.

read_noteA

Read a Markdown note. Returns a compact object by default; pass compact:false for frontmatter, tags, headings, tasks, backlinks, and outgoing links.

Inputs: note (required), vault, compact.

reindex_vaultA

Force a full verification rescan: re-reads and hashes every note and rebuilds link resolution. Slow on large vaults. Rarely needed: every other tool already syncs changed files first.

Inputs: vault.

replace_note_textA

Replace a literal string only when it occurs exactly once in the Markdown body. Return the match count and whether the replacement ran.

Inputs: find (required), note (required), replace (required), vault.

search_notesA

Search notes across a vault using SQLite FTS5. Korean/CJK queries also match inside longer words (substring scan).

Inputs: query (required), limit, vault.

toggle_taskA

Surgically toggle a Markdown checkbox (- [ ] <-> - [x]) at an exact 1-based line number, optionally verifying expected text/state to guard against shifted lines.

Inputs: line (required), note (required), vault, expected_text, +2 more.

update_frontmatterA

Upsert or remove (null) YAML frontmatter properties on an existing note while preserving its body.

Inputs: note (required), properties (required), vault.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 20 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: search, listing, tag lookup, task handling, link/graph queries, and note mutations are well separated. There is minor overlap around note discovery and the daily_note convenience tool, which can append/create/read in ways that overlap with create_note, append_note, and read_note.

    Naming Consistency4/5

    The set is almost entirely consistent snake_case with predictable verb_noun or verb_object patterns such as list_notes, create_note, update_frontmatter, and get_backlinks. The main outlier is daily_note, which is a noun phrase rather than a verb-led name, though it remains readable.

    Tool Count4/5

    Twenty tools is slightly heavy but reasonable for a broad Obsidian integration covering vaults, notes, search, tags, tasks, links, graph traversal, and maintenance. Each tool appears to cover a distinct operation, though a few convenience and maintenance tools push the surface above the typical 3-15 range.

    Completeness5/5

    The surface covers the full note lifecycle: listing and searching, reading, creating, appending, replacing text, updating frontmatter, moving, deleting, and daily notes. It also includes tag/task operations, backlinks, outgoing links, local graph traversal, orphan detection, and reindexing, leaving few obvious dead ends for the stated domain.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Local-first MCP server for Obsidian vaults with 66 tools for reading, writing, searching, and managing notes, tasks, graphs, and more. Works without Obsidian running and requires no plugins.
      66
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for Obsidian that exposes tools for reading/writing notes, managing frontmatter and tags, querying Tasks, semantic search, and interacting with Obsidian Bases, with shared local caching and support for various runtime modes.
      40
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to read and search your Obsidian vault through a local MCP server, keeping everything private and local.
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for interacting with Obsidian via the Local REST API, enabling file operations, search, and content editing in your vault.
      MIT