Skip to main content
Glama

Obsidian MCP Server

by pmmvr
MIT License
3

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OBSIDIAN_API_KEYNoAPI key if you've configured authentication in Obsidian Local REST API plugin
OBSIDIAN_API_URLYesObsidian API URL (HTTPS by default)https://localhost:27124

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
search_vault
Search Obsidian vault for notes matching criteria. Args: query: Text or regex pattern to search for query_type: "text" or "regex" search_in_path: Limit search to specific folder title_contains: Filter by title (string or array) title_match_mode: "any" or "all" for multiple title terms tag: Filter by tag (string, array, or JSON string like title_contains) tag_match_mode: "any" or "all" for multiple tag terms context_length: Characters of context around matches include_content: Return full note content modified_since/until: Filter by modification date (YYYY-MM-DD) created_since/until: Filter by creation date (YYYY-MM-DD) page_size/page: Pagination controls max_matches_per_file: Limit matches per file
get_note_content
Get the full content and metadata of a specific note by path. Args: path: Full path to the note within the vault
browse_vault_structure
Browse vault directory structure. Args: path: Path to browse from (defaults to vault root) include_files: Include files in listing (default: False, folders only) recursive: List nested contents recursively

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

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