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

seaportal

v0.1.1

Published

HTTP-first web content extraction for AI agents: Markdown, accessibility snapshots, sitemap/feed parsing, and an MCP server

Readme

SeaPortal

HTTP-first web content extraction for AI agents. Turn static and server-rendered pages into clean Markdown or a JSON accessibility snapshot, parse sitemaps and feeds, and run it as a CLI, a Go library, or an MCP server — secure by default, with an explicit signal when a page actually needs a browser.

Install

npm install -g seaportal
# or
npx seaportal <url>

Usage

# Basic extraction
seaportal https://pinchtab.com

# JSON output
seaportal --json https://pinchtab.com

# Fast mode (bail early if browser needed)
seaportal --fast https://pinchtab.com

# Disable deduplication
seaportal --no-dedupe https://pinchtab.com

# Combine options
seaportal --json --fast https://pinchtab.com

Output

SeaPortal outputs Markdown with YAML frontmatter containing metadata:

---
title: "Page Title"
url: https://pinchtab.com
confidence: 85
isSpa: false
needsBrowser: false
---

# Page Title

Content extracted as clean Markdown...

Features

  • Fast — Pure HTTP, no browser required (<2s typical on static / SSR pages)
  • Clean Markdown — Readability extraction + block and simhash dedupe
  • Accessibility snapshots — JSON semantic tree with role, ref, and selector per node
  • Browser-needed signal — Flags SPA / blocked pages so you can route them elsewhere
  • Sitemaps & feeds — Flatten sitemap.xml and parse RSS, Atom, and JSON Feed
  • MCP serverseaportal mcp exposes fetch_url, fetch_snapshot, parse_sitemap, and parse_feed over stdio
  • Safe by default — SSRF / private-IP blocking, http(s)-only, redirect and body caps on the CLI and MCP server

Environment Variables

  • SEAPORTAL_BINARY_PATH — Custom binary path (for Docker, dev builds)

License

MIT