Skip to main content
MCP server CX Codex

obsidian-wiki — Claude Code MCP server: managing agent memory

obsidian-wiki is a Claude Code MCP server that connects your agent to a local markdown vault. It indexes previous discussions and retrieves context using linked notes.

MIT ★ 3,811 updated 2026-10-21

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env OBSIDIAN_VAULT_PATH=<OBSIDIAN_VAULT_PATH> --transport stdio obsidian-wiki -- uvx obsidian-wiki
Open on GitHub

What obsidian-wiki does

The server connects an assistant to a local folder of markdown documents. Rather than repeating identical inquiries or reindexing conversation histories, the agent extracts findings into interconnected wiki pages. It catalogs workflow solutions, merges duplicate topics, identifies missing links, and traces cross-references across the collection.

An optional local web interface runs on port 3114 to inspect the graph, review citations, and drop incoming files. Notes remain on the local disk, and the full graph exports to JSON, GraphML, Neo4j Cypher, or Postgres SQL. Running over stdio requires the OBSIDIAN_VAULT_PATH environment variable set to your vault directory.

What it helps with

  • managing agent memory
  • compile session context into local markdown notes
  • query knowledge with linked wikilink citations
  • clean orphan notes and merge duplicate pages

Example prompts for the agent

  • Save the findings from this conversation to my wiki
  • /wiki-query what did we decide about rate limiting?
  • /wiki-dedup merge duplicate topics in the vault

How to install obsidian-wiki

1Platform CLI

claude mcp add --env OBSIDIAN_VAULT_PATH=<OBSIDIAN_VAULT_PATH> --transport stdio obsidian-wiki -- uvx obsidian-wiki

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from obsidian-wiki <command>

2Platform CLI: remote server

claude mcp add --transport http obsidian-wiki https://{host}/mcp/

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about obsidian-wiki

How do I install obsidian-wiki in Claude Code?

Run claude mcp add --env OBSIDIAN_VAULT_PATH=<OBSIDIAN_VAULT_PATH> --transport stdio obsidian-wiki -- uvx obsidian-wiki. For HTTP mode, run claude mcp add --transport http obsidian-wiki https://{host}/mcp/.

What does obsidian-wiki do?

It provides your agent with persistent memory stored in a local markdown directory. The tool saves conversation insights, queries existing pages with citations, and manages document links.

What is required to run obsidian-wiki?

You need a local directory specified via OBSIDIAN_VAULT_PATH and the uv package runner for uvx. The web viewer requires Python 3.10 or newer.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

From the same set41

The whole set →
wiki-import wiki-import is a Claude Code skill that imports a wiki graph into the current Obsidian vault from graph.json or an OKF Markdown bundle. It handles conflicts with existing pages. CX Codex +1 1,000installs vault-skill-factory vault-skill-factory — a Claude Code skill that turns curated wiki pages or a recorded workflow into a reusable Agent Skill package. It saves the result for review instead of installing it. CX Codex +1 765installs vault-skill-factory vault-skill-factory turns mature curated wiki pages into a portable Agent Skill package and writes it to a review directory. Installing stays your call. CX Codex +1 765installs obsidian-layout-adjustment obsidian-layout-adjustment — a skill that restyles Obsidian through CSS snippets: it maps a plain description of an element to the right UI layer, patches the active snippets and checks the result on a screenshot. CX Codex +1 494installs wiki-narrate wiki-narrate creates a cited briefing, plain explanation, or lecture strictly from Obsidian vault notes. Useful when you need factual topic readouts without model hallucination. CX Codex +1 410installs session-search session-search searches a session-brain graph for past agent conversations and loads the relevant transcript into the active prompt. Useful when retracing earlier work. CX Codex +1 375installs session-brain session-brain builds an interactive topic graph over Claude Code session history without touching your vault. Useful for clustering past sessions and spotting active or dormant work topics. CX Codex +1 371installs code-understand code-understand builds a focus map of core symbols and call dependencies in unfamiliar codebases. Useful for blast radius analysis and refactoring prep. CX Codex +1 233installs

Project sponsors

Companies that keep this analytics open