logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

obsidian-mcp-server

Facilitates interaction with Obsidian vaults by enabling reading, writing, and managing notes and todos through natural language commands, all while allowing direct filesystem access even when the Obsidian app is not running.

Author

obsidian-mcp-server logo

marcelmarais

No License

Quick Info

GitHub GitHub Stars 17
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

obsidiannotetakingnotesobsidian mcpobsidian appaccess obsidian

Obsidian MCP Server

A lightweight Model Context Protocol (MCP) server that enables AI assistants like Cursor & Claude to read from and write to your Obsidian vault.

Example Interactions

  • "Create a new note for standup tomorrow describing the code changes I've made today" (should also use Git)
  • "Check my notes about project ideas"
  • "Check what todos I have related to refactoring"

Tools

Read

  1. getAllFilenames

  2. Gets a list of all filenames in the Obsidian vault

  3. Useful for discovering what files are available
  4. readMultipleFiles

  5. Retrieves the contents of specified files from the Obsidian vault

  6. Supports exact filenames, partial filenames, or case-insensitive matches
  7. Each file's content is prefixed with '# File: filename' for clear identification
  8. getOpenTodos

  9. Retrieves all open TODO items from markdown files in the Obsidian vault

  10. Finds unchecked checkbox items (lines containing '- [ ] ')
  11. Returns them with their file locations

Write

  1. updateFileContent
  2. Updates the content of a specified file in the Obsidian vault with new markdown content
  3. If the file doesn't exist, it will be created
  4. Automatically creates any necessary directories

Install & build

npm install obsidian-mcp-server
npm run build

Integrating with Claude Desktop and Cursor

To use your MCP server with Claude Desktop add it to your Claude configuration:

{
  "mcpServers": {
    "obsidian": {
      "command": "node",
      "args": [
        "obsidian-mcp-server/build/index.js",
        "/path/to/your/vault"
      ]
    }
  }
}

For Cursor go to the MCP tab Cursor Settings (command + shift + J). Add a server with this command:

node obsidian-mcp-server/build/index.js /path/to/your/vault

Comparison with Other Solutions

While this implementation is intentionally lightweight, other solutions like jacksteamdev/obsidian-mcp-tools offer a more feature-rich approach as an Obsidian plugin.

This standalone server has the advantage of direct filesystem access without requiring the Obsidian application to be running.

Resources

See Also

`