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

@striderlabs/mcp-peacock

v1.0.0

Published

MCP server connector for Peacock (NBC streaming service)

Downloads

8

Readme

@striderlabs/mcp-peacock

MCP (Model Context Protocol) server connector for Peacock (NBC streaming service). Enables AI agents to interact with Peacock using browser automation via Playwright.

Features

  • Search Content — Search movies, TV shows, sports, and news
  • Content Details — Get detailed info about any title (description, rating, genre, episodes)
  • Watchlist — View, add, and remove items from your watchlist
  • Continue Watching — Access your continue watching list
  • Live TV — Browse available live TV channels

Installation

npm install @striderlabs/mcp-peacock

Playwright requires browser binaries:

npx playwright install chromium

Usage

As an MCP Server

Add to your MCP client configuration:

{
  "mcpServers": {
    "peacock": {
      "command": "npx",
      "args": ["@striderlabs/mcp-peacock"]
    }
  }
}

Available Tools

| Tool | Description | Auth Required | |------|-------------|---------------| | peacock_login | Login with email/password | No | | peacock_search | Search content by query and type | No | | peacock_get_content_details | Get details for a content URL | No | | peacock_get_watchlist | View your watchlist | Yes | | peacock_add_to_watchlist | Add content to watchlist | Yes | | peacock_remove_from_watchlist | Remove content from watchlist | Yes | | peacock_get_continue_watching | Get continue watching list | Yes | | peacock_get_live_channels | List live TV channels | No |

Tool Examples

Search for content:

{
  "tool": "peacock_search",
  "arguments": {
    "query": "The Office",
    "content_type": "show"
  }
}

Get content details:

{
  "tool": "peacock_get_content_details",
  "arguments": {
    "url": "https://www.peacocktv.com/watch/asset/tv/the-office/7741901043886570112"
  }
}

Login (required for personalized features):

{
  "tool": "peacock_login",
  "arguments": {
    "email": "[email protected]",
    "password": "yourpassword"
  }
}

Architecture

This MCP server uses Playwright to automate a headless Chromium browser to interact with the Peacock website. The browser session is maintained across tool calls for efficiency.

Session Management

  • A single browser session is reused across all tool calls
  • The session is automatically cleaned up on process exit (SIGINT/SIGTERM)
  • Login state persists for the duration of the process

Requirements

  • Node.js 18+
  • Chromium (installed via npx playwright install chromium)

Development

# Install dependencies
npm install

# Build
npm run build

# Run
npm start

License

MIT