Skip to main content
Glama

Obsidian MCP Server

obsidian_find_in_file

Search across all files in your Obsidian vault to find specific content, references, or patterns. Returns matching files with surrounding context for each match.

Instructions

Full-text search across all files in the vault. Returns matching files with surrounding context for each match. Useful for finding specific content, references, or patterns across notes.

Input Schema

NameRequiredDescriptionDefault
contextLengthNoNumber of characters to include before and after each match for context (default: 10)
queryYesText pattern to search for. Can include tags, keywords, or phrases.

Input Schema (JSON Schema)

{ "properties": { "contextLength": { "default": 10, "description": "Number of characters to include before and after each match for context (default: 10)", "type": "integer" }, "query": { "description": "Text pattern to search for. Can include tags, keywords, or phrases.", "type": "string" } }, "required": [ "query" ], "type": "object" }

You must be authenticated.

Other Tools from Obsidian MCP Server

Related Tools

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

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