npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

markdown-lsp-mcp

v0.1.1

Published

Local MCP server over stdio exposing markdown-lsp tools (outline, search, links) for any docs/ directory. Used by docs-sync skill.

Readme

markdown-lsp-mcp

Local MCP server (over stdio) that exposes markdown-lsp tools — outline, fuzzy search, full-text search, link graph — for any local docs/ directory.

Designed to be used by AI agents (Claude Code, Cursor) to navigate a project's markdown documentation without uploading anything to the network. No database, no daemon — just stdio.

Quick start

npx markdown-lsp-mcp --docs ./docs

Then connect from any MCP client over stdio.

Tools

| Tool | Purpose | |---|---| | doc_outline | Heading outline of one page | | doc_workspace_outline | List all pages with titles + heading counts | | doc_search_text | Full-text search across the docs | | doc_search_symbols | Fuzzy search across headings (LSP workspace/symbol) | | doc_search_links_to | Find pages that link to a given page (references) | | doc_search_links_from | Find outgoing links from a page | | doc_resolve_link | Resolve a wiki-link or relative link to a real page | | doc_get_section | Body content of a specific section by anchor | | doc_search_paths | Glob match on page paths |

Use in Claude Code

Add to .mcp.json in your repo root:

{
  "mcpServers": {
    "markdown-lsp": {
      "command": "npx",
      "args": ["-y", "markdown-lsp-mcp", "--docs", "./docs"]
    }
  }
}

Used by

This package powers the docs-sync skill — a pre-push git hook that detects and fixes code↔docs drift in parallel git worktrees before push.

Development

pnpm install
pnpm build
pnpm test

License

MIT