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

@25xcodes/llmfeed-health-monitor

v1.2.0

Published

Feed health monitoring, crawling, and outreach automation for the LLMFeed ecosystem

Downloads

67

Readme

@25xcodes/llmfeed-health-monitor

A comprehensive health monitoring system for the LLMFeed ecosystem. Crawls feeds, tracks health history, and notifies feed owners about validation issues.

Features

  • 🔍 Feed Crawling - Validate feeds against the LLMFeed spec
  • 📊 Health Tracking - SQLite storage for historical health data
  • 🤖 Smart Notifications - GitHub issues, email, and Twitter DM support
  • Scheduled Monitoring - Cron-based crawl scheduling
  • 🚫 Opt-out Respect - Honor robots.txt and feed metadata opt-outs
  • 📝 Report Generation - Beautiful HTML and JSON reports
  • 🔐 Rate Limiting - 1 message per domain per 24h by default

Installation

npm install @25xcodes/llmfeed-health-monitor

CLI Usage

# Check a single feed
npx llmfeed-health check https://example.com/.well-known/mcp.llmfeed.json

# Crawl multiple feeds
npx llmfeed-health crawl feed1.json feed2.json --format json

# Generate HTML report
npx llmfeed-health report https://example.com -o report.html

# Start scheduled monitoring
npx llmfeed-health monitor https://25x.codes --schedule "0 */6 * * *" --db feeds.db

# View stats
npx llmfeed-health stats --db feeds.db

API Usage

Basic Feed Check

import { crawlFeed, generateReport } from '@25xcodes/llmfeed-health-monitor'

const result = await crawlFeed('https://example.com/.well-known/mcp.llmfeed.json')

console.log('Reachable:', result.healthCheck.reachable)
console.log('Score:', result.healthCheck.validation?.score)
console.log('Issues:', result.healthCheck.validation?.issues)

// Generate HTML report
if (!result.optedOut) {
  const report = generateReport(result.feed, result.healthCheck)
  console.log(report.html)
}

Scheduled Monitoring with Notifications

import { 
  createScheduler, 
  SQLiteStorage 
} from '@25xcodes/llmfeed-health-monitor'

// Set up SQLite storage
const storage = new SQLiteStorage('./feeds.db')
await storage.init()

// Create scheduler
const scheduler = await createScheduler({
  schedule: '0 * * * *', // Every hour
  monitor: {
    feeds: [
      { url: 'https://25x.codes/.well-known/mcp.llmfeed.json' },
      { url: 'https://example.com/.well-known/mcp.llmfeed.json' },
    ],
    respectOptOut: true,
    minScoreThreshold: 50, // Only notify if score < 50
  },
  notifier: {
    githubToken: process.env.GITHUB_TOKEN,
    dryRun: false, // Set to true for testing
  },
  storage,
  onCrawl: (result, report) => {
    console.log(`Crawled ${result.feed.url} - Score: ${result.healthCheck.validation?.score}`)
  },
  onNotify: (feedId, channel, success) => {
    console.log(`Notified ${feedId} via ${channel}: ${success ? '✅' : '❌'}`)
  },
})

// Run initial crawl
await scheduler.run()

// Scheduler will continue running on schedule
// Call scheduler.stop() to stop

Custom Notification Channels

import { sendNotification } from '@25xcodes/llmfeed-health-monitor'

// Send GitHub issue
const action = await sendNotification({
  feed: result.feed,
  healthCheck: result.healthCheck,
  channel: 'github',
  reportUrl: 'https://example.com/report.html',
}, {
  githubToken: process.env.GITHUB_TOKEN,
}, [])

console.log('Created issue:', action.url)

Discover Feeds on a Domain

import { discoverFeeds } from '@25xcodes/llmfeed-health-monitor'

const feeds = await discoverFeeds('example.com')
// Returns: ['https://example.com/.well-known/mcp.llmfeed.json', ...]

Opt-out Mechanisms

Feed owners can opt out of health monitoring:

1. robots.txt

User-agent: LLMFeed-Health-Monitor
Disallow: /

2. Feed Metadata

{
  "feed_type": "mcp",
  "_meta": {
    "health-monitor": "noindex"
  }
}

Notification Channels

GitHub Issues

Creates issues on detected GitHub repositories with:

  • Issue breakdown (errors/warnings)
  • Fix suggestions
  • One-click PR link
  • Opt-out instructions

Requires: GITHUB_TOKEN environment variable

Email

Sends friendly emails with fix suggestions.

Requires SMTP configuration:

{
  email: {
    host: 'smtp.example.com',
    port: 587,
    user: '[email protected]',
    pass: 'password',
    from: 'LLMFeed Bot <[email protected]>',
  }
}

Twitter DM

Sends direct messages to feed owner's Twitter handle (if found in feed metadata).

Requires Twitter API credentials.

Environment Variables

| Variable | Description | |----------|-------------| | GITHUB_TOKEN | GitHub PAT for creating issues | | SMTP_HOST | SMTP server hostname | | SMTP_USER | SMTP username | | SMTP_PASS | SMTP password | | SMTP_FROM | Email sender address | | TWITTER_API_KEY | Twitter API key | | TWITTER_API_SECRET | Twitter API secret | | TWITTER_ACCESS_TOKEN | Twitter access token | | TWITTER_ACCESS_SECRET | Twitter access token secret |

Storage Adapters

Memory Storage (default)

import { MemoryStorage } from '@25xcodes/llmfeed-health-monitor'
const storage = new MemoryStorage()

SQLite Storage

import { SQLiteStorage } from '@25xcodes/llmfeed-health-monitor'
const storage = new SQLiteStorage('./feeds.db')
await storage.init()

Bot Tone

The notification messages follow these principles:

  • Friendly, slightly chaotic, zero ego
  • Helpful suggestions, not demands
  • Clear opt-out instructions
  • Respect for feed owners' time

Related Packages

License

MIT - See LICENSE for details.