Skip to main content
Glama
pmmvr
by pmmvr

search_vault

Search your Obsidian vault for notes using text or regex, filtered by title, tag, creation/modification dates, and specific folders. Retrieve full content or contextual snippets with pagination and match limits.

Instructions

Search Obsidian vault for notes matching criteria. Args: query: Text or regex pattern to search for query_type: "text" or "regex" search_in_path: Limit search to specific folder title_contains: Filter by title (string or array) title_match_mode: "any" or "all" for multiple title terms tag: Filter by tag (string, array, or JSON string like title_contains) tag_match_mode: "any" or "all" for multiple tag terms context_length: Characters of context around matches include_content: Return full note content modified_since/until: Filter by modification date (YYYY-MM-DD) created_since/until: Filter by creation date (YYYY-MM-DD) page_size/page: Pagination controls max_matches_per_file: Limit matches per file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
context_lengthNo
created_sinceNo
created_untilNo
include_contentNo
max_matches_per_fileNo
modified_sinceNo
modified_untilNo
pageNo
page_sizeNo
queryNo
query_typeNotext
search_in_pathNo
tagNo
tag_match_modeNoany
title_containsNo
title_match_modeNoany

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pmmvr/obsidian-api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server