lethain/library-mcp
If you are the rightful owner of library-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
library-mcp is an MCP server designed for interacting with Markdown knowledge bases, allowing users to retrieve and discuss content based on tags or date ranges.
Tools
Functions exposed to the LLM to take actions
get_by_tag
Get blog content by its tag.
Args: tag: the tag associated with content limit: the number of results to include
get_by_text
Get blog content by text in content.
Args: query: text for an exact match limit: the number of results to include
rebuild
Rebuild text index. Useful for when contents have changed on disk
search_tags
Search for tags matching the provided query.
Args: tag_query: partial or full tag name to search for limit: the maximum number of tags to return
list_all_tags
List all tags sorted by number of posts and most recent post.
get_by_slug_or_url
Get a post by its slug or URL.
Args: identifier: the slug, URL, or path fragment to search for
get_by_date_range
Get posts published within a date range.
Args: start_date: the start date in ISO format (YYYY-MM-DD) end_date: the end date in ISO format (YYYY-MM-DD) limit: the maximum number of posts to return
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client