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

@joerawr/pghl-mcp

v0.1.1

Published

MCP server for PGHL (Pacific Girls Hockey League) schedule data via Puppeteer scraping

Downloads

6

Readme

@joerawr/pghl-mcp

npm version License: MIT

Model Context Protocol (MCP) server for PGHL (Pacific Girls Hockey League) schedule data. Provides team schedules and discovery via web scraping from pacificgirlshockey.com.

Installation

Claude Desktop

Add to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "pghl": {
      "command": "npx",
      "args": ["-y", "@joerawr/pghl-mcp"]
    }
  }
}

Restart Claude Desktop after adding.

Chrome/Chromium Required

This server uses Puppeteer for web scraping. Chrome or Chromium must be installed.

Custom Chrome path (optional):

{
  "mcpServers": {
    "pghl": {
      "command": "npx",
      "args": ["-y", "@joerawr/pghl-mcp"],
      "env": {
        "CHROME_EXECUTABLE_PATH": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
      }
    }
  }
}

Available Tools

list_schedule_options

Discover available seasons, divisions, and teams through progressive discovery.

Parameters:

  • season (optional): Filter by season to get divisions (e.g., "2025-26")
  • division (optional): Filter by division to get teams (requires season, e.g., "12u AA")

Example queries:

  • "What seasons are available in PGHL?"
  • "What divisions are in the 2025-26 PGHL season?"
  • "What teams are in 12u AA for 2025-26?"

Progressive Discovery:

  1. Call with no parameters → get all seasons
  2. Call with season → get divisions for that season
  3. Call with season + division → get teams in that division

get_schedule

Get full game schedule for a team.

Parameters:

  • season (required): Season identifier (e.g., "2025-26")
  • division (required): Division name (e.g., "12u AA", "14u AAA")
  • team (required): Team name (e.g., "Las Vegas Storm 12u AA")

Example queries:

  • "Get the schedule for Las Vegas Storm 12u AA in 2025-26"
  • "When does Las Vegas Storm 12u AA play next?" (LLM can filter future games)
  • "Does Las Vegas Storm 12u AA play on October 15, 2025?" (LLM can filter by date)
  • "Who does Las Vegas Storm play this weekend?" (LLM can filter date range)

HTTP Deployment (Optional)

For remote deployment, this server also supports HTTP transport via StreamableHTTP.

Deploy to Vercel:

  1. Clone repository: git clone https://github.com/joerawr/pghl-mcp.git
  2. Install: npm install
  3. Build: npm run build:http
  4. Deploy the http/ directory to Vercel
  5. Endpoint available at: https://your-domain.com/api/mcp

Note: HTTP transport is for self-hosted deployments. Claude Desktop uses STDIO (above).

Development

git clone https://github.com/joerawr/pghl-mcp.git
cd pghl-mcp
npm install
npm run build        # Build STDIO server
npm run dev          # Run in dev mode
npm test             # Test STDIO server

Environment Variables

Create a .env file (see .env.example):

# Chrome executable path (required for Puppeteer)
CHROME_EXECUTABLE_PATH=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome

# PGHL website URL (default: https://www.pacificgirlshockey.com)
PGHL_WEBSITE_URL=https://www.pacificgirlshockey.com

# Node environment
NODE_ENV=development

Data Source

pacificgirlshockey.com - Pacific Girls Hockey League

  • Schedule URL: https://www.pacificgirlshockey.com/schedule

Data is scraped using Puppeteer from the HockeyShift platform.

Features

  • ✅ Team schedule retrieval with date, time, opponent, venue
  • ✅ Progressive team discovery (season → division → team)
  • ✅ Natural language queries supported (LLM filters schedule data)
  • ✅ Dual transport support (STDIO for Claude Desktop + StreamableHTTP for Vercel)
  • ✅ Partial team name matching for user convenience
  • ✅ Vercel deployment ready

License

MIT - See LICENSE file

Contributing

Issues and PRs welcome: https://github.com/joerawr/pghl-mcp/issues

Related Projects