obsidian-local-mcp
A local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.
README
obsidian-local-mcp
A local MCP server that wraps the Obsidian CLI, giving AI assistants like Claude direct access to your Obsidian vault. Allows editing in the middle of docs.
Requirements
- Obsidian desktop app installed (v1.8+ with CLI support)
- Node.js 18+
- macOS, Windows, or Linux
Setup
git clone https://github.com/MatthewSuazo/obsidian-local-mcp.git
cd obsidian-local-mcp
npm install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"obsidian-cli": {
"command": "node",
"args": ["/path/to/obsidian-local-mcp/server.js"],
"env": {
"OBSIDIAN_VAULT": "Your Vault Name"
}
}
}
}
Set OBSIDIAN_VAULT to the name of the vault you want to target. Set OBSIDIAN_CLI_PATH to override the Obsidian binary location if it's not in the default path for your OS.
Tools
| Tool | Description |
|---|---|
read |
Read note contents by name or path |
append |
Append content to a note |
prepend |
Prepend content to a note |
create |
Create a new note (with optional template) |
move |
Move or rename a file |
delete |
Delete a file (trash or permanent) |
search |
Search vault text with line context |
property_set |
Set a frontmatter property |
property_read |
Read a frontmatter property |
daily_read |
Read today's daily note |
daily_append |
Append to today's daily note |
replace |
Find and replace text in a note (exact, regex, replace-all) |
search_context |
Context-aware search returning surrounding content |
files |
List files in the vault or a specific folder |
folders |
List folders in the vault |
open |
Open a file in the Obsidian UI |
eval |
Execute JavaScript inside the Obsidian runtime |
command |
Execute any registered Obsidian command by ID |
insert_after |
Insert content after a matched string in a note |
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.