Library MCP Server

[library-mcp](https://github.com/lethain/library-mcp) is an MCP server for interacting with Markdown knowledge bases. Basically, folders that may or

Local serverstdioPython

What is the Library MCP MCP server?

Library MCP becomes available to MCP clients through the library mcp mcp server. library-mcp is an MCP server for interacting with Markdown knowledge bases. Basically, folders that may or may not have subfolders, that include files with .md extension and start with metadata like:.

What Library MCP does

library-mcp is an MCP server for interacting with Markdown knowledge bases. Basically, folders that may or may not have subfolders, that include files with .md extension and start with metadata like:

Tools it exposes

Once connected, the assistant can call these 7 tools directly:

  • get_by_tag — Retrieves content by tag
  • get_by_text — Searches content for specific text
  • get_by_slug_or_url — Finds posts by slug or URL
  • get_by_date_range — Gets posts published within a date range
  • search_tags — Searches for tags matching a query
  • list_all_tags — Lists all tags sorted by post count and recency
  • rebuild — Rebuilds the content index,

Installing the library mcp mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Library MCP sits in that group, and the shape of its toolset — get_by_tag, get_by_text, get_by_slug_or_url among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • With 7 tools exposed, expect a noticeable bump in prompt size — disable it in projects that never use Library MCP.
  • Maintained by lethain, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the library mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
get_by_tagRetrieves content by tag
get_by_textSearches content for specific text
get_by_slug_or_urlFinds posts by slug or URL
get_by_date_rangeGets posts published within a date range
search_tagsSearches for tags matching a query
list_all_tagsLists all tags sorted by post count and recency
rebuildRebuilds the content index,

Example prompts to try

  • Use Library MCP to get by tag.
  • Use Library MCP to get by text.
  • Use Library MCP to get by slug or url.

Frequently asked questions

It connects Library MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (get_by_tag, get_by_text, get_by_slug_or_url, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Library MCP directly.