Obsidian MCP Server
Provides tools to read, write, search, and manage notes in an Obsidian vault via the Model Context Protocol.
README
Obsidian MCP Server
An MCP server that lets Claude (and other MCP clients) read, write, search, and manage an Obsidian vault as a native tool. Local filesystem access only, no cloud sync.
Tools
| Tool | Description | Read-only |
|---|---|---|
obsidian_read_note |
Read a note's full markdown content | yes |
obsidian_write_note |
Create or overwrite a note (refuses overwrite unless asked) | no |
obsidian_append_to_note |
Append markdown to a note, creating it if missing | no |
obsidian_list_notes |
List notes in the vault or a folder | yes |
obsidian_search_vault |
Case-insensitive full-text search with line context | yes |
obsidian_read_frontmatter |
Parse a note's YAML frontmatter as structured data | yes |
obsidian_resolve_wikilinks |
Extract and resolve [[wikilinks]] to vault files |
yes |
All paths are relative to the vault root. The .md extension is optional.
Paths are validated to stay inside the vault (no directory traversal).
Setup
npm install
npm run build
The vault location is set with the OBSIDIAN_VAULT_PATH environment variable.
If unset, it defaults to ~/Obsidian.
Configure in an MCP client
Add to your client's MCP config (example for a stdio client):
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/path/to/obsidian-mcp-server/dist/index.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}
Develop
npm run dev # run from source with tsx
npm run typecheck # type-check without emitting
npm run inspect # launch the MCP Inspector against the server
Roadmap
- Semantic/vector search (embed notes, query by meaning)
- Dataview query passthrough
- Template-aware note creation
- Backlink graph traversal
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.