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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
Cloud-hosted MCP server for durable AI memory
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseAqualityBmaintenanceFilesystem first MCP server for Obsidian vaults with an LLM-Wiki layer on top.66101 npm8Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP 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 gradedqualityDmaintenanceMCP server for local-first RAG over Obsidian vaults, enabling AI agents to search and ask questions about notes with grounded citations.MIT