Atlas / MCP servers / lethain / Library

LibrarySAFE

mcp/lethain/library

MCP server for operating on Markdown knowledge bases

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
7 5r · 2w · 0d
Transport
stdio
License
—
Stars
91
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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:

title: My blog post tags:

  • python
  • programming

url: /my-blog-post ---

Yesterday I was dreaming about...

The typical workflow in the current verison is to retrieve recent content for a given tag, and then discuss using that tag:

Get the next 50 posts with tag "executive", then tell me what I should do about this problem I am running into: ...

You can also do the same but by date ranges:

Summarize the blog posts I wrote in the past year.

You might reasonably ask "why not just upload your entire blog into the context window?" and there are two places where this library outperforms that approach:

  1. My blog corpus is much larger than most model's context windows today.

Further, even if the context windows became exhaustively large, I wrote a lot of mediocre stuff in the past, so maybe omitting it's a feature.

  1. I have a number of distinct Markdown knowledge bases, and this lets me

operate across them in tandem.

Finally, this is a hobby project, intended for running locally on your laptop. No humans have been harmed using this software, but it does work pretty well!

Tools

This MCP server exposes these tools.

Content Search Tools

Tools for retrieving content into your context window:

  • 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

Tag Management Tools

Tools for navigating your knowledge base:

  • search_tags - Searches for tags matching a query
  • list_all_tags - Lists all tags sorted by post count and recency

Maintenance Tools

Tools for dealing with r

Read from source at commit 6f744145a749OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add library-mcp -- uvx library-mcp
claude-desktop
{
  "mcpServers": {
    "library-mcp": {
      "command": "uvx",
      "args": [
        "library-mcp"
      ]
    }
  }
}
03

Exposed tools (7)

5 read · 2 write · 0 destructive.

ToolRiskDescription
get_by_date_rangereadGet posts published within a date range.
get_by_slug_or_urlwriteGet a post by its slug or URL.
get_by_tagreadGet blog content by its tag.
get_by_textreadGet blog content by text in content.
list_all_tagswriteList all tags sorted by number of posts and most recent post.
rebuildreadRebuild text index. Useful for when contents have changed on disk
search_tagsreadSearch for tags matching the provided query.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-07 · audit v0.4.1 · source sha 6f744145a749full audit observations/trust-audit/mcp-server/lethain__library.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-076f744145a749SAFEB89first audit
06

Questions

What is the Library MCP server?

MCP server for operating on Markdown knowledge bases

What tools does Library expose?

7 in total: 5 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Library safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Library need?

No credential environment variables were found in its source, so it appears to need none.

How does Library run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as library-mcp.

How current is this page?

The grade is for one exact copy of the source (6f744145a749), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement