Skip to main content
Glama

Obsidian MCP Server

by natestrong

search_notes_tool

Search for notes by keywords, tags, or folder paths using Obsidian syntax to find relevant results with context snippets and relevance scores. Optimize note retrieval for specific criteria efficiently.

Instructions

Search for notes containing specific text or matching search criteria. When to use: - Finding notes by content keywords - Locating notes with specific tags - Searching within specific folders When NOT to use: - Searching by date (use search_by_date instead) - Listing all notes (use list_notes for better performance) - Finding a specific known note (use read_note directly) Returns: Search results with matched notes, relevance scores, and context

Input Schema

NameRequiredDescriptionDefault
context_lengthNoNumber of characters to show around matches
ctxNo
queryYesSearch query supporting Obsidian syntax

Input Schema (JSON Schema)

{ "properties": { "context_length": { "default": 100, "description": "Number of characters to show around matches", "maximum": 500, "minimum": 10, "title": "Context Length", "type": "integer" }, "ctx": { "default": null, "title": "Ctx" }, "query": { "description": "Search query supporting Obsidian syntax", "examples": [ "machine learning", "tag:#project", "path:Daily/", "tag:#urgent TODO" ], "maxLength": 500, "minLength": 1, "title": "Query", "type": "string" } }, "required": [ "query" ], "type": "object" }

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/natestrong/obsidian-mcp'

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