MCP ExplorerExplorer

Easy Obsidian Mcp

@louis030195on 9 months ago
7 MIT
FreeCommunity
AI Systems
one liner to install obsidian mcp that works

Overview

What is Easy Obsidian Mcp

Easy Obsidian MCP is a simple server designed to facilitate interaction with the Obsidian application through its Local REST API plugin. It aims to provide a user-friendly experience even for non-technical users by allowing them to set up the server quickly and efficiently.

Use cases

The server enables users to perform a variety of tasks within their Obsidian vault. Primarily, it can be used for searching notes and utilizing Dataview query language (DQL) to execute more complex queries on the vault’s content.

How to use

To use Easy Obsidian MCP, first ensure you have Node.js, npm, and Obsidian with the Local REST API plugin installed. After setting up the plugin and obtaining the API Key, you can install the server by running ‘npx create-easy-obsidian-mcp’ in your terminal and follow the setup instructions provided.

Key features

Key features include the ability to search for notes in the vault and to execute queries using Dataview query language. Additionally, it offers easy installation and setup, along with debugging support through the MCP Inspector for troubleshooting.

Where to use

This tool is particularly useful for individuals who utilize Obsidian for note-taking and knowledge management, especially those wanting to automate searches or conduct queries efficiently within their notes.

Content

easy-obsidian-mcp

https://github.com/user-attachments/assets/99b16c89-24bf-4991-af65-68d21554b438

A simple MCP server to interact with Obsidian via its Local REST API plugin.
and can be installed in one line, even for non technical users.

Support the work 🙏.

Features

Provides tools to interact with your Obsidian vault, allowing you to:

  • Search notes
  • Search notes using Dataview query language (DQL)

Installation & Setup

Prerequisites

  1. Node.js and npm: Make sure you have Node.js (which includes npm) installed. You can download it from nodejs.org.
  2. Obsidian: You need the Obsidian app installed.
  3. Obsidian Local REST API Plugin:
    • Open Obsidian.
    • Go to Settings -> Community plugins.
    • Make sure Restricted mode is off.
    • Click Browse and search for Local REST API.
    • Install and enable the plugin.
    • Go to the plugin’s settings (Obsidian Settings -> Local REST API).
    • Copy the API Key shown there. You’ll need it soon.

Setting up the Server

npx create-easy-obsidian-mcp

Follow the instructions to setup the server.

Example Prompts

Try prompts like:

  • “list the files in my obsidian vault”
  • “search my obsidian notes for ‘artificial intelligence’”
  • find my last 5 notes

Debugging

Use the MCP Inspector for easier debugging:

npx @modelcontextprotocol/inspector node ./dist/index.js --apiKey <your-api-key>

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers