Skip to main content
Glama

Obsidian MCP Server

by natestrong

get_backlinks_tool

Locate all notes linking to a specific note to uncover connections, reference dependencies, and map relationships within your Obsidian vault.

Instructions

Find all notes that link to a specific note (backlinks). When to use: - Understanding which notes reference a concept or topic - Discovering relationships between notes - Finding notes that depend on the current note - Building a mental map of note connections When NOT to use: - Finding links FROM a note (use get_outgoing_links) - Searching for broken links (use find_broken_links) Performance note: - Fast for small vaults (<100 notes) - May take several seconds for large vaults (1000+ notes) - Consider using search_notes for specific link queries Returns: All notes linking to the target with optional context

Input Schema

NameRequiredDescriptionDefault
context_lengthNoNumber of characters of context to include
ctxNo
include_contextNoWhether to include text context around links
pathYesPath to the note to find backlinks for

Input Schema (JSON Schema)

{ "properties": { "context_length": { "default": 100, "description": "Number of characters of context to include", "maximum": 500, "minimum": 50, "title": "Context Length", "type": "integer" }, "ctx": { "default": null, "title": "Ctx" }, "include_context": { "default": true, "description": "Whether to include text context around links", "title": "Include Context", "type": "boolean" }, "path": { "description": "Path to the note to find backlinks for", "examples": [ "Daily/2024-01-15.md", "Projects/AI Research.md" ], "maxLength": 255, "minLength": 1, "pattern": "^[^/].*\\.md$", "title": "Path", "type": "string" } }, "required": [ "path" ], "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