Skip to main content
Glama

Obsidian Local REST API MCP Server

by j-shelfwood

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_directory

List directory contents with pagination to prevent context overflow. Shows immediate contents by default.

read_file

Read content of a specific file from the vault

write_file

Write file content with different modes: overwrite (default), append, or prepend. Handles both create and update operations.

delete_item

Delete a file or directory from the vault

create_or_update_note

Create or update a note with content and frontmatter. Performs upsert operation - creates if doesn't exist, updates if it does.

get_daily_note

Get daily note for a specific date. Handles common daily note naming conventions and file locations.

get_recent_notes

Get recently modified notes, ordered by modification time

search_vault

Search vault content across files, filenames, and metadata with advanced filtering

find_related_notes

Find notes related to a given note based on shared tags, links, or backlinks

get_note

Get a specific note with its content and metadata (legacy)

list_notes

List all notes in the vault with optional search filter (legacy with search support)

get_metadata_keys

Get all available frontmatter keys from notes

get_metadata_values

Get all unique values for a specific frontmatter key

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/j-shelfwood/obsidian-local-rest-api-mcp'

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