MCP ExplorerExplorer

Obsidian Map Lite

@yokarilighton a year ago
1 MIT
FreeCommunity
AI Systems
A TypeScript-based MCP server for Obsidian, providing a simple interface to interact with Obsidian vaults.

Overview

What is Obsidian Map Lite

Obsidian-map-lite is a TypeScript-based MCP server designed for Obsidian, offering a straightforward interface to interact with Obsidian vaults.

Use cases

Use cases include automating note management, integrating Obsidian with other applications, and enhancing productivity by allowing programmatic access to notes and files.

How to use

To use obsidian-map-lite, install the necessary dependencies using ‘pnpm install’, build the server with ‘pnpm run build’, configure your API key and host in the .env file, and set it up in your application configuration.

Key features

Key features include listing files in the vault and directory, retrieving file contents, searching for specific texts within files, patching and appending content, and deleting files.

Where to use

Obsidian-map-lite can be used in personal knowledge management, note-taking applications, and any project that requires interaction with Obsidian vaults.

Content

Obsidian MCP Lite

A TypeScript-based MCP server for Obsidian, providing a simple interface to interact with Obsidian vaults.

Features

  • List files in vault
  • List files in directory
  • Get file contents
  • Search specific texts from files
  • Patch content
  • Append content
  • Delete files

Prerequisites

  • Node.js >= 18.16.0
  • Obsidian with Local REST API plugin installed
  • Obsidian API key

Setup

# Install dependencies
pnpm install

# Build server
pnpm run build

Configuration

  1. Copy .env.example to .env:

    cp .env.example .env
    
  2. Edit .env and set your Obsidian API key and host:

    OBSIDIAN_API_KEY=your-api-key-here
    OBSIDIAN_HOST=http://localhost:27123
    

Installation

To use with Cursor, add the following config:

{
  "mcpServers": {
    "obsidian-mcp-lite": {
      "command": "node",
      "args": [
        "/path/to/obsidian-mcp-lite/dist/index.js"
      ],
      "env": {
        "OBSIDIAN_API_KEY": "your-api-key-here"
      }
    }
  }
}

Debugging

Use the MCP Inspector:

npx @modelcontextprotocol/inspector -e OBSIDIAN_API_KEY=your-api-key-here node dist/index.js"

You will find a URL provided in the terminal. Open it and access to the debugging tool in the browser.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers