Obsidian
Interact with your Obsidian vault using natural language.
Obsidian MCP Server
A Model Context Protocol (MCP) server for natural language interaction with your Obsidian vault.
Features
- Natural Language Queries: Ask questions about your vault in plain English
- Content Search: Search notes by filename, content, or both
- Backlink Analysis: Find connections between notes
- Smart Context Building: Automatically gathers relevant information for complex queries
Setup
-
Install dependencies:
npm install
-
Build the project:
npm run build
-
Set your vault path:
export OBSIDIAN_VAULT_PATH="/path/to/your/obsidian/vault"
Usage
As an MCP Server
Add to your MCP client configuration:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/path/to/obsidian-mcp/dist/index.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}
Available Tools
Read Operations:
-
query_vault: Process natural language queries about your vault
- Example: "What are the main themes in my project notes?"
-
search_notes: Search for notes by filename or content
- Parameters:
searchTerm
,searchType
(filename/content/both)
- Parameters:
-
get_note: Get the full content of a specific note
- Parameters:
notePath
- Parameters:
-
get_backlinks: Get all notes that link to a specific note
- Parameters:
notePath
- Parameters:
Write Operations: 5. write_note: Write or overwrite a note with new content
- Parameters:
notePath
,content
-
create_note: Create a new note with frontmatter and content
- Parameters:
notePath
,title
,content
(optional),tags
(optional)
- Parameters:
-
append_to_note: Append content to an existing note
- Parameters:
notePath
,content
- Parameters:
-
update_note_section: Update a specific section of a note by heading
- Parameters:
notePath
,sectionHeading
,newContent
- Parameters:
Example Queries
- "Evaluate the ideas for Project Alpha and suggest improvements"
- "What are the key concepts related to machine learning in my vault?"
- "Show me all notes connected to the quarterly planning document"
- "Find all references to the client meeting from last week"
Development
npm run dev
: Watch mode for developmentnpm run build
: Build the projectnpm run start
: Start the server
Environment Variables
OBSIDIAN_VAULT_PATH
: Path to your Obsidian vault (required)
Related Servers
Google Calendar Tools
A server for managing Google Calendar events and schedules.
MCP Inception
Delegate tasks to another MCP client, acting as an agent for your agent.
GitHub Project Manager MCP
A GitHub-integrated project management server for Claude Desktop, requiring a personal access token.
Invoice MCP
Create professional PDF invoices using natural language.
Notion
Interact with Notion using its API. This server mirrors the Notion API SDK, allowing LLMs to manage pages, databases, and other Notion content.
Claudesidian MCP
Integrates Model Context Protocol (MCP) with Obsidian, allowing AI assistants to interact with your notes and vault.
NPX-MCP
A TypeScript server for automation and integration, featuring Microsoft OAuth, browser control, and basic utilities.
Backlog
Integrates with the Backlog API to manage projects and issues.
AutoWP
Connects Claude to WordPress sites to create posts and manage sites using the WordPress REST API.
Claude MCP Trello
Interact with Trello boards and cards via the Trello API, with built-in rate limiting and error handling.