Skip to main content
Glama

get_frontmatter

Extract YAML frontmatter metadata from markdown files to access document properties like title, date, and tags.

Instructions

Parse YAML frontmatter (between --- delimiters) at the start of a markdown file. Returns key-value metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesPath to the markdown file

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/ofershap/mcp-server-markdown'

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