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 "Install 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: enquire-mcp
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aud1ence/obsidian-wiki-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server