Skip to content

CLI Overview

While obx is primarily an MCP server, it also provides a powerful command-line interface for interacting with your Obsidian vault directly from your terminal. This is useful for scripting, quick lookups, or vault maintenance without needing an AI assistant.

All obx commands support the following global options:

  • --help, -h: Show help for a command.

You can configure obx behavior using environment variables to avoid passing flags repeatedly:

  • OBSIDIAN_VAULT_PATH: Sets the default vault path if one is not provided as an argument and no active vault is configured via obx vault.
  • OBSIDIAN_ADDR: Sets the HTTP address for obx mcp --http.