obsidian-wiki-mcp
Provides tools for managing wiki pages in Obsidian vaults, enabling AI agents to ingest, query, and update knowledge stored in an Obsidian-based wiki.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@obsidian-wiki-mcpsearch my vault for notes on machine learning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Obsidian wiki MCP
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 writeDesign 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]Related MCP server: Personal Notes Assistant
Documentation
Doc | Description |
First-time setup, existing vault migration, CLAUDE.md / AGENTS.md | |
Folder layout, page format, tags, naming convention | |
All MCP tools with parameters and examples | |
Common usage patterns | |
Claude Code setup, server config file | |
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
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseAqualityAmaintenanceFilesystem first MCP server for Obsidian vaults with an LLM-Wiki layer on top.6693 npm8Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server that indexes your Obsidian notes into a Milvus vector database and enables querying them via a local or OpenAI LLM, with real-time synchronization.3MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that treats Obsidian vaults as knowledge graphs, enabling AI agents to traverse wikilinks, assemble token-budgeted context, and search with backlink awareness.3 npm1MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for local-first RAG over Obsidian vaults, enabling AI agents to search and ask questions about notes with grounded citations.MIT