Library MCP
library-mcp es un servidor MCP para interactuar con bases de conocimiento de Markdown. Básicamente, carpetas que pueden tener o no subcarpetas, que incluyen archivos con la extensión .md y comienzan con metadatos como:
----
title: My blog post
tags:
- python
- programming
url: /my-blog-post
---
# My blog post
Yesterday I was dreaming about...El flujo de trabajo típico en la versión actual es recuperar contenido reciente para una etiqueta determinada y luego analizar el uso de esa etiqueta:
Get the next 50 posts with tag "executive",
then tell me what I should do about this problem
I am running into: ...También puedes hacer lo mismo pero por rangos de fechas:
Summarize the blog posts I wrote in the past year.Podrías preguntarte con razón "¿por qué no subir todo tu blog a la ventana de contexto?". Y hay dos aspectos en los que esta biblioteca supera ese enfoque:
El corpus de mi blog es mucho mayor que las ventanas de contexto de la mayoría de los modelos actuales. Además, incluso si las ventanas de contexto se volvieran extremadamente grandes, escribí mucho material mediocre en el pasado, así que quizás omitirlo sea una característica.
Tengo varias bases de conocimiento de Markdown distintas, y esto me permite trabajar con ellas en conjunto.
Finalmente, este es un proyecto de pasatiempo, diseñado para ejecutarse localmente en tu portátil. Ningún humano ha resultado herido al usar este software, ¡pero funciona bastante bien!
Herramientas
Este servidor MCP expone estas herramientas.
Herramientas de búsqueda de contenido
Herramientas para recuperar contenido en su ventana de contexto:
get_by_tag- Recupera contenido por etiquetaget_by_text- Busca contenido con texto específicoget_by_slug_or_url- Encuentra publicaciones por slug o URLget_by_date_range: obtiene las publicaciones publicadas dentro de un rango de fechas
Herramientas de gestión de etiquetas
Herramientas para navegar por su base de conocimientos:
search_tags- Busca etiquetas que coincidan con una consultalist_all_tags- Enumera todas las etiquetas ordenadas por cantidad de publicaciones y actualidad
Herramientas de mantenimiento
Herramientas para manejar la herramienta:
rebuild: reconstruye el índice de contenido, útil si ha agregado más contenido, editado contenido existente, etc.
Configuración / Instalación
Estas instrucciones describen la instalación de Claude Desktop en OS X. Debería funcionar de manera similar en otras plataformas.
Instalar Claude Desktop .
Clone library-mcp en una ubicación conveniente. Supongo que
/Users/will/library-mcpAsegúrate de tener instalado
uv, puedes seguir estas instruccionesVaya a Cladue Desktop, Configuración, Desarrollador y cree su archivo de configuración MCP. Luego, actualice su archivo
claude_desktop_config.json. (Tenga en cuenta que debe reemplazarwillcon su usuario, por ejemplo, la salida dewhoami).cd /Users/will/Library/Application Support/Claude vi claude_desktop_config.jsonLuego agrega esta sección:
{ "mcpServers": { "library": { "command": "uv", "args": [ "--directory", "/Users/will/library-mcp", "run", "main.py", "/Users/will/irrational_hugo/content" ] } } }Cierra Claude y vuelve a abrirlo.
Debería funcionar...
Available Tools
7 toolsget_by_date_rangeB
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
Inputs: start_date (required), end_date (required), limit.
get_by_slug_or_urlB
Get a post by its slug or URL.
Args: identifier: the slug, URL, or path fragment to search for
Inputs: identifier (required).
get_by_tagC
Get blog content by its tag.
Args: tag: the tag associated with content limit: the number of results to include
Inputs: tag (required), limit.
get_by_textC
Get blog content by text in content.
Args: query: text for an exact match limit: the number of results to include
Inputs: query (required), limit.
list_all_tagsA
List all tags sorted by number of posts and most recent post.
Inputs: no named parameters.
rebuildA
Rebuild text index. Useful for when contents have changed on disk
Inputs: no named parameters.
search_tagsB
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
Inputs: tag_query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools have distinct purposes focused on different retrieval methods (by date, slug/URL, tag, text content) and tag operations, but 'get_by_slug_or_url' and 'get_by_text' could potentially overlap if users confuse slug/URL with text content queries. The descriptions help clarify, but there's minor ambiguity.
All tool names follow a consistent verb_noun pattern with underscores (e.g., get_by_date_range, list_all_tags, search_tags). The naming is predictable and readable throughout the set, with no deviations in style.
With 7 tools, this is well-scoped for a library/blog content server. It covers core retrieval operations and tag management without being overwhelming, and each tool serves a clear purpose in the domain.
The toolset provides good read/search coverage for blog content and tags, but lacks any create, update, or delete operations, which are notable gaps for a full CRUD lifecycle. Agents can retrieve and rebuild but not modify content, limiting workflow completeness.
Related MCP Connectors
KnowMan MCP server: search, ask, save and read your Knowledge Base from any MCP client.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
Related MCP Servers
- AlicenseBqualityDmaintenanceA local MCP server that allows AI systems to search and retrieve information from a custom knowledge base generated from markdown files. It provides tools for natural language text search, category browsing, and specific content chunk retrieval.3MIT
- AlicenseAqualityDmaintenanceAn MCP server for managing Obsidian-style note vaults, providing tools for full-text search, note creation, and backlink tracking. It enables users to navigate, structure, and update their personal knowledge base through natural language.9MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that enables full-text search and link navigation over Markdown files as a knowledge graph.-
- FlicenseNot gradedqualityDmaintenanceA CLI tool and MCP server that turns markdown documentation into a searchable, queryable knowledge base.-