Skip to main content
Glama
anpigon

Obsidian Omnisearch MCP Server

by anpigon

read_note

Retrieve the full contents of an Obsidian note file by providing its filepath, enabling external applications to access and process note data from your vault.

Instructions

Read and return the contents of an Obsidian note file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYes

Implementation Reference

  • The handler function for the 'read_note' tool, decorated with @mcp.tool(). It reads the content of the Obsidian note file at the given filepath and returns it as a string.
    @mcp.tool() def read_note(filepath: str): """Read and return the contents of an Obsidian note file.""" with open(filepath, "r", encoding="utf-8") as f: content = f.read() return content
  • Registers the read_note function as an MCP tool using the FastMCP decorator.
    @mcp.tool()
  • Input schema defined by function signature (filepath: str) and docstring describing the tool's purpose.
    def read_note(filepath: str): """Read and return the contents of an Obsidian note file."""
Install Server

Other 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/anpigon/mcp-server-obsidian-omnisearch'

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