Obsidian Wiki
FreeNot checkedMCP server that implements Karpathy's LLM Wiki pattern for Obsidian vaults, enabling persistent knowledge storage and BM25 search across AI sessions.
About
MCP server that implements Karpathy's LLM Wiki pattern for Obsidian vaults, enabling persistent knowledge storage and BM25 search across AI sessions.
README
MCP server implementing Karpathy's LLM Wiki pattern for Obsidian vaults.
Solves document drift — your vault stays up-to-date as knowledge evolves across AI sessions.
fluid not opinionated — bring your own folder structure
storage not intelligence — the server stores; the LLM decides
always searchable — BM25 index rebuilt on every write
Design principle: The server is a pure storage/retrieval layer. All content decisions (what to write, how to synthesize) are made by the host LLM (Claude). The server never calls an AI model.
Quick Start
1. Add to your AI client:
Claude Code
claude mcp add obsidian-wiki -- npx -y obsidian-wiki-mcp --vault "/path/to/your/vault"
Kiro CLI
kiro mcp add obsidian-wiki -- npx -y obsidian-wiki-mcp --vault "/path/to/your/vault"
OpenAI Codex CLI
codex --mcp-config '{"obsidian-wiki":{"command":"npx","args":["-y","obsidian-wiki-mcp","--vault","/path/to/your/vault"]}}'
Paths with spaces must be quoted. See Configuration for all installation options.
2. Initialize the vault:
Call wiki_init() to initialize the vault.
3. Start using:
Ingest this session into the wiki: [paste content]
Use wiki_query to find information about [topic]
Documentation
| Doc | Description |
|---|---|
| Getting Started | First-time setup, existing vault migration, CLAUDE.md / AGENTS.md |
| Vault Structure | Folder layout, page format, tags, naming convention |
| Tools Reference | All MCP tools with parameters and examples |
| Workflows | Common usage patterns |
| Configuration | Claude Code setup, server config file |
| Troubleshooting | Common issues and fixes |
Recent tool contract update:
wiki_write_pageandwiki_apply_fixnow include adifffield (unified diff) in write responses where applicable.- See Tools Reference for exact behavior by tool/action.
License
MIT
Install Obsidian Wiki in Claude Desktop, Claude Code & Cursor
unyly install obsidian-wiki-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add obsidian-wiki-mcp -- npx -y obsidian-wiki-mcpFAQ
Is Obsidian Wiki MCP free?
Yes, Obsidian Wiki MCP is free — one-click install via Unyly at no cost.
Does Obsidian Wiki need an API key?
No, Obsidian Wiki runs without API keys or environment variables.
Is Obsidian Wiki hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Obsidian Wiki in Claude Desktop, Claude Code or Cursor?
Open Obsidian Wiki on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Obsidian Wiki with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
