Markdown Vault MCP Server
Provides read/write access to a folder of markdown notes, including creating, editing, moving, deleting, searching, querying frontmatter, finding backlinks, and managing tags.
Provides read/write access to Obsidian vaults (or any markdown folder), enabling AI assistants to manage notes, search content, find backlinks, query frontmatter, and manage tags.
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.
Markdown Vault MCP Server
An MCP (Model Context Protocol) server that gives AI assistants full read/write access to a folder of markdown files. Works with Obsidian vaults, any PKM tool, or plain markdown folders.
Query notes by frontmatter, find backlinks, search with regex, batch-update metadata, and manage tags — all through a standard MCP interface that works with Claude Desktop, claude.ai, or any MCP client.
Please backup your files before use. This server has read and write access. Git or any other backup method is recommended.
Features
Read, create, edit, move, and delete markdown notes
Search with full-text, regex, and tag queries
Query frontmatter — filter notes by YAML fields (
status:open,priority:high,date>2024-01-01)Find backlinks — discover which notes reference a target (wikilinks, markdown links, and plain text)
Batch update frontmatter across multiple matching notes with dry-run preview
Vault statistics — tag frequency, folder distribution, frontmatter key analysis
Tag management — add, remove, rename tags with file locking
Partial reads — get just frontmatter (as JSON) or content without frontmatter
In-memory vault index with file watching for fast repeated queries
Multi-vault support — up to 10 folders simultaneously
HTTP mode — Streamable HTTP transport with session management
No Obsidian dependency — works with any folder of
.mdfiles
Related MCP server: Obsidian MCP Local
Requirements
Node.js 20+
A folder containing markdown files
Install
Claude Desktop
Add to your config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"markdown-vault": {
"command": "npx",
"args": ["-y", "obsidian-mcp", "/path/to/your/folder"]
}
}
}Multiple folders are supported — just add more paths to the args array.
Restart Claude Desktop after saving. The hammer icon should appear, indicating the server is connected.
HTTP Server
For web-based integrations or remote access, use the --http flag. See HTTP-SERVER.md for full details.
node build/main.js --http /path/to/your/folderDocker
docker build -t markdown-vault-mcp .
docker run -p 3000:3000 -v /path/to/folder:/vault markdown-vault-mcp /vaultAvailable Tools
Tool | Description |
| Read a note (full, frontmatter-only, or content-only) |
| Create a new note |
| Edit an existing note (with file locking) |
| Delete a note |
| Move a note to a different location |
| Create a new directory |
| Search notes (text, regex, tags) with frontmatter filtering |
| Filter notes by YAML frontmatter fields |
| Find all notes referencing a target (links and plain text) |
| Analytics: note counts, tag frequency, key distribution |
| Bulk update frontmatter across matching notes |
| Add tags to a note (with file locking) |
| Remove tags from a note (with file locking) |
| Add or remove tags with advanced options |
| Rename a tag across all notes (with file locking) |
| List all configured vaults |
Development
git clone https://github.com/bluee/obsidian-mcp
cd obsidian-mcp
npm install
npm run buildThen point Claude Desktop at your local build:
{
"mcpServers": {
"markdown-vault": {
"command": "node",
"args": ["<absolute-path>/build/main.js", "/path/to/your/folder"]
}
}
}Run tests:
bun testTroubleshooting
Issue | Fix |
Server not showing in Claude Desktop | Check config syntax, ensure path is absolute, restart Claude Desktop |
Permission errors | Ensure the folder path is readable/writable |
Tool execution failures | Check logs: |
Acknowledgements
Originally inspired by StevenStavrakis/obsidian-mcp.
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
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Markdown notes in folders, with files, that your AI assistant can read, write and organise.
- Very Simple NotesDeprecatedcom.verysimplenotes
Markdown notes in folders, with files, that your AI assistant can read, write and organise.
Search, read, and safely update Markdown notes in your connected Phasoric knowledge vaults.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with local Obsidian vaults through direct filesystem access for reading, creating, and managing notes. It features high-performance SQLite indexing for fast searches, regex support, and tools for organizing tags and links without requiring additional plugins.271MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to search, read, create, and modify Markdown notes in local Obsidian vaults directly through filesystem operations. Supports tag-based discovery and frontmatter parsing without requiring Obsidian to be open, facilitating integration with VS Code Copilot via stdio transport.511 npm4MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to search, read, link, query, create, edit, and safely rename notes in an Obsidian-style markdown vault, including BM25 search, backlinks, frontmatter queries, and dry-run link updates.10MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Obsidian vaults by creating, reading, editing, deleting, searching, and organizing notes, tags, and folders across multiple vaults.16MIT