archalien.me

obsidian-tools

An agentic knowledge assistant for an Obsidian vault: a local MCP server, hybrid search and a context-aware chat plugin, running on a cheap hosted model for about a dollar a month.

Kind
Software
Status
Shipped
Stack
PythonFastMCPChromaDBFastAPI
Model
DeepSeek 3.1 on Fireworks
Source
github.com/glibalien/obsidian-tools
Updated
Mar 2026

Why I built it

After pulling years of notes out of Tana with tanamigrator, everything lived in plain Markdown in Obsidian. That fixed the lock-in, but Obsidian has no AI of its own.

Claude Code at the root of the vault was powerful, and far too much tool (and cost) for a daily assistant. Subscription knowledge services meant handing my most personal data to a third party. So I used Claude Code for what it’s best at, building things, and built the assistant myself.

How it works

  • A local MCP server. FastMCP tools for vault navigation, frontmatter and note edits, audio transcription, web search, and session memory that keeps a running preferences file.
  • Hybrid search with Reciprocal Rank Fusion. Local embeddings in ChromaDB and a keyword match run side by side, then merge, so results are relevant in meaning and in wording. A background job re-indexes hourly.
  • A context-aware chat plugin. It knows which note is open, so “update the metadata in this note” just works.
  • A FastAPI orchestration server. It runs the agentic loop between the plugin and the model, including multi-step tool chains where one call informs the next.

Why it’s cheap

More advanced reasoning models did worse: they agonized over tool choice and asked to confirm trivial operations. DeepSeek 3.1 reads the query, picks the tools, runs them and answers. Reasoning is expensive. Directness is cheap.

$2.44
First month, test days included
About $1
Per month in daily use
150K–200K
Tokens on a typical day