MCP server for Obsidian

complex_search

Complex search for documents using a JsonLogic query. Supports standard JsonLogic operators plus 'glob' and 'regexp' for pattern matching. Results must be non-falsy.

Use this tool when you want to do a complex search, e.g. for all documents with certain tags etc.

Input Schema

NameRequiredDescriptionDefault
queryYesJsonLogic query object. Example: {"glob": ["*.md", {"var": "path"}]} matches all markdown files

Input Schema (JSON Schema)

{ "properties": { "query": { "description": "JsonLogic query object. Example: {\"glob\": [\"*.md\", {\"var\": \"path\"}]} matches all markdown files", "type": "object" } }, "required": [ "query" ], "type": "object" }