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

nettsaga-mcp

v1.3.1

Published

MCP server for iStock, Pexels, Instagram, and Facebook image search & download. Automates browser-based scraping with AI-powered image selection, plus Pexels API integration for free stock photos.

Readme

nettsaga-mcp

MCP server for searching and downloading stock photos from iStock and Pexels — directly from Claude Code.

Quick Setup

1. Get your API keys

  • iStock: Use your iStock account email and password
  • Pexels: Get a free API key at pexels.com/api/new

2. Install the MCP server

Run this in your terminal (replace the values with your own credentials):

PowerShell (Windows):

claude mcp add nettsaga -s user -e [email protected] -e ISTOCK_PASSWORD=yourpassword -e PEXELS_API_KEY=yourpexelsapikey -- npx nettsaga-mcp

Bash (macOS/Linux):

claude mcp add nettsaga -s user \
  -e [email protected] \
  -e ISTOCK_PASSWORD=yourpassword \
  -e PEXELS_API_KEY=yourpexelsapikey \
  -- npx nettsaga-mcp

3. Restart Claude Code

Close and reopen Claude Code (or reload the window). The tools will be available in every project.

Available Tools

| Tool | Source | Description | |------|--------|-------------| | istock_login | iStock | Signs in to iStock. Call before searching/downloading. Persists session. | | istock_search | iStock | Searches iStock and returns a screenshot for visual evaluation. | | istock_download | iStock | Downloads an image from iStock. Handles "Re-download for free" vs "Download this image" automatically. Sequential queue prevents conflicts. | | pexels_search | Pexels | Searches Pexels via API. Returns preview URLs and metadata. No login needed. | | pexels_download | Pexels | Downloads a Pexels image to a local path. Free, no login needed. |

Usage Examples

Search Pexels for images

"Search Pexels for dark modern dental clinic interior photos"

Claude will call pexels_search, evaluate the results, and suggest the best matches.

Download images to your project

"Download 3 hero images for my dental clinic website to public/hero/"

Claude will search, pick the best matches based on your site's theme, and download them sequentially.

Search iStock (premium)

"Search iStock for Norwegian mountain landscape"

Claude will log in (if needed), search, take a screenshot of results, and visually pick the best options.

Fill placeholder images

"My site has 3 hero placeholders and 6 service placeholders. Fill them with real photos that match my dark dental theme."

Claude will scan your project structure, find the placeholders, search for appropriate images, and download them to the correct paths.

How It Works

iStock (Playwright-based)

  • Uses a headless browser to automate iStock
  • Takes screenshots of search results so Claude can visually evaluate them
  • Handles the download flow: clicks "Download this image" → "Confirm download"
  • Skips images marked "Re-download for free"
  • Downloads are queued sequentially (no parallel browser conflicts)
  • Session is persisted so you only log in once

Pexels (API-based)

  • Uses the Pexels REST API directly (no browser needed)
  • Fast and reliable
  • Free to use with your API key
  • Returns preview URLs that Claude can evaluate visually

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | ISTOCK_EMAIL | For iStock tools | Your iStock account email | | ISTOCK_PASSWORD | For iStock tools | Your iStock account password | | PEXELS_API_KEY | For Pexels tools | Your Pexels API key (get one free) |

You can use just Pexels or just iStock — the tools work independently.

Troubleshooting

Tools not showing up

Restart Claude Code after adding the MCP server.

iStock login fails

  • Double-check your email and password
  • iStock may have changed their login flow — open an issue

Pexels search returns error

Downloads not saving

  • Make sure the save path is relative to your project root
  • Directories are created automatically

Uninstall

claude mcp remove nettsaga -s user