Skip to main content
Glama

Obsidian Diary MCP Server

by madebygps

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DIARY_PATHYesRequired path to your diary directory
MAX_THEMESNoMax themes per analysis15
MIN_THEME_FREQUENCYNoMin word frequency for themes1
RECENT_ENTRIES_COUNTNoHow many recent entries to analyze3

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
create_diary_template

Create a new diary entry template with reflection prompts based on recent entries.

Args: date: Date for the entry in YYYY-MM-DD format. If not provided, uses today's date.

Returns: A formatted diary template with reflection prompts

save_diary_entry

Save a diary entry and automatically add relevant backlinks.

Args: date: Date for the entry in YYYY-MM-DD format content: The diary entry content

Returns: Success message with the file path and auto-generated backlinks

read_diary_entry

Read an existing diary entry.

Args: date: Date of the entry in YYYY-MM-DD format

Returns: The diary entry content

list_recent_entries

List recent diary entries.

Args: count: Number of recent entries to list (default: 10)

Returns: A list of recent entry dates

update_entry_backlinks

Update the backlinks for an existing diary entry based on its current content.

Args: date: Date of the entry in YYYY-MM-DD format

Returns: Success message with updated backlinks

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

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