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

gangue

v0.1.0

Published

Fetch a web page's main content as clean Markdown — an MCP server and CLI.

Readme

gangue

Fetch a web page's main content and convert it to clean Markdown — as an MCP server and a CLI.

日本語版: README.ja.md

gangue renders a URL with headless Chrome, strips navigation, ads, and other noise, extracts the main article, and returns clean Markdown. It exposes a single MCP tool, fetch_markdown, and also works as a one-shot CLI.

Features

  • One tool, one job: fetch_markdown(url) -> Markdown. Nothing else.
  • Real rendering: uses headless Chrome, so JavaScript-rendered pages work.
  • Clean output: readability-style main-content extraction, converted to Markdown. If extraction finds too little, gangue falls back to the whole page, so you still get the content.
  • MCP server or CLI: run it as a stdio MCP server, or pass a URL to print Markdown to stdout.
  • Self-healing browser: the browser is launched once and reused; if it dies, gangue restarts it and retries.

Requirements

  • Google Chrome or Chromium installed on the system (gangue does not bundle a browser).
  • For the npx install method: Node.js.

Install

As an MCP server (recommended)

Register gangue with your MCP client. With Claude Code:

claude mcp add --transport stdio gangue -- npx -y gangue@latest

Or in .mcp.json:

{
  "mcpServers": {
    "gangue": {
      "command": "npx",
      "args": ["-y", "gangue@latest"]
    }
  }
}

@latest makes npx fetch the newest published version on each launch, so you stay up to date.

From source

cargo install --git https://github.com/dominion525/gangue

Usage

MCP tool

Once registered, the fetch_markdown tool is available:

  • fetch_markdown(url: string) -> string — returns the page's main content as Markdown.

CLI

gangue https://example.com/

Prints the Markdown to stdout. With no argument, gangue runs as an MCP stdio server.

How it works

URL
  → headless Chrome renders the page
  → readability extracts the main content (relative links resolved to absolute)
  → HTML is converted to Markdown, with the title as a leading heading
  → Markdown

License

Licensed under either of MIT or Apache-2.0 at your option.