Librarian MCP Server
Provides structured access to a personal Obsidian knowledge vault, enabling AI agents to create, read, search, and enrich notes, with deduplication, git-backed history, and graph linting.
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., "@Librarian MCP Serversearch for notes about effective altruism"
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.
Librarian MCP Server
A local MCP server that gives AI agents structured access to a personal Obsidian knowledge vault. Notes remain portable Markdown, while Librarian enforces organization, provenance, deduplication, and git-backed history.
What it does
Stores OKF-compatible Markdown notes in a flat Obsidian vault.
Organizes concepts through Maps of Content (MOCs).
Combines local semantic search with lexical matching and exact filters.
Rejects duplicate concepts, invalid notes, and edits to immutable source notes.
Commits every mutation to the vault's git history.
Reports broken links, orphaned notes, malformed frontmatter, and WikiLinks.
All search and storage are local. The first semantic search downloads the BAAI/bge-small-en-v1.5 model (about 130 MB); later searches run offline.
Related MCP server: obsidian-local-rest-api
Install
Requires Python 3.11+.
pip install .Or with uv:
uv syncRun
librarian --vault /path/to/vaultYou can also set the vault path with LIBRARIAN_VAULT:
LIBRARIAN_VAULT=/path/to/vault librarianOn first run, Librarian creates the vault, initializes git, and adds a root MOC. Configure your MCP client to launch the server over stdio, for example:
{
"mcpServers": {
"librarian": {
"command": "librarian",
"args": ["--vault", "/path/to/vault"]
}
}
}Tools
Tool | Purpose |
| Return a bounded overview of MOCs and recent notes |
| Search notes semantically and lexically |
| Read a complete note |
| Create a validated note and wire it into an MOC |
| Append content to a named section |
| Report graph and formatting problems |
See spec.md for the full contracts and design decisions.
Development
uv sync --extra dev
uv run --extra dev pytestThis 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.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that treats Obsidian vaults as knowledge graphs, enabling AI agents to traverse wikilinks, assemble token-budgeted context, and search with backlink awareness.Last updated31MIT
- Alicense-qualityAmaintenanceBuilt-in MCP server that gives AI agents direct access to an Obsidian vault for reading, writing, searching notes, and executing commands.Last updated562,722MIT
- Alicense-qualityBmaintenanceAn MCP server that provides controlled read/write tools for managing local-first research memory in an Obsidian vault, enabling AI agents to maintain project context across sessions.Last updated6551MIT
- Alicense-qualityDmaintenanceA lightweight MCP server that enables AI assistants to securely read, create, and modify notes in an Obsidian vault, with support for semantic search and web scraping.Last updated2,001MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/MasterWushi/librarian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server