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

cc-pollen

v1.0.3

Published

🌸 Joke tool: Pollen info for Claude Code status line. Weathernews Pollnrobo open data, no API key required.

Readme

🌸 cc-pollen

npm version License: MIT Node.js TypeScript

Pollen info for Claude Code status line. Powered by Weathernews Pollnrobo Open Datano API key required.

🌸 🟠 ↗ Moderate 新宿区

Install

# Install + set city in one command
npx cc-pollen@latest --city shinjuku

# Other cities
npx cc-pollen@latest --city osaka
npx cc-pollen@latest --city sapporo
npx cc-pollen@latest --city 13104    # raw citycode

That's it! Restart Claude Code to see pollen info in the status line.

What the installer does

  1. Saves config to ~/.config/cc-pollen/config.json
  2. Creates ~/.claude/cc-pollen-statusline.sh
  3. Updates ~/.claude/settings.json (if statusLine is not already set)

Commands

cc-pollen status        Status line output (default)
cc-pollen detail        Detailed info + hourly chart
cc-pollen setup         Interactive setup
cc-pollen cities        List city presets
cc-pollen config        Show current config
cc-pollen clear-cache   Clear cached data

Options

--city <name|code>      Set city (preset name or 5-digit code)
--format <fmt>          Display format (see below)
--lang <ja|en>          Language
--no-color              Disable ANSI colors

Display Formats

Combine tokens with +:

| Format | Example | |--------|---------| | icon+level+city | 🟠 ↗ Moderate 新宿区 | | icon+level+city+bar | 🟠 ↗ Moderate 新宿区 ▓▓░░░ | | icon+level+count | 🟠 ↗ Moderate 30/cm² | | icon+bar | 🟠 ▓▓░░░ |

Pollen Levels

| Lv | Icon | Label (EN) | Label (JA) | Count/cm² | |----|------|------------|------------|-----------| | 0 | 🟢 | ↓ None | なし | 0 | | 1 | 🟡 | → Low | 少ない | 1–9 | | 2 | 🟠 | ↗ Moderate | やや多い | 10–29 | | 3 | 🔴 | ↑ High | 多い | 30–49 | | 4 | 🟣 | ⇈ Very High | 非常に多い | 50–99 | | 5 | 💀 | ⇑ Extreme | 極めて多い | 100+ |

City Presets

chiyoda      千代田区      (13101)
shinjuku     新宿区        (13104)
shibuya      渋谷区        (13113)
minato       港区          (13103)
setagaya     世田谷区      (13112)
osaka        大阪市北区    (27127)
nagoya       名古屋市中区  (23109)
fukuoka      福岡市博多区  (40132)
sapporo      札幌市中央区  (01101)
...and more

Full list: npx cc-pollen@latest cities All municipal codes: https://wxtech.weathernews.com/opendata/v1/pollen/citycode/

Combining with existing status line

If you already use a status line tool, create a wrapper:

#!/bin/bash
# ~/.claude/statusline-wrapper.sh
input=$(cat)
pollen=$(npx --yes cc-pollen@latest status)
existing=$(echo "$input" | ~/.claude/your-existing-statusline.sh)
echo "$existing | $pollen"

Architecture

cc-pollen/
├── src/
│   ├── cli.ts        # Entry point, arg parser, command routing
│   ├── cities.ts     # City preset definitions
│   ├── config.ts     # Config & cache management
│   ├── fetch.ts      # Weathernews API client
│   ├── format.ts     # Output formatting
│   ├── install.ts    # Installer (config, script, settings.json)
│   └── levels.ts     # Pollen level thresholds, colors
├── scripts/
│   └── add-shebang.mjs
├── package.json
└── tsconfig.json

Data Source

Weathernews Pollnrobo Open Data API

  • ~1,000 observation points across Japan
  • Hourly real-time data
  • Municipal-level granularity
  • No API key required
  • Non-commercial personal use: free (credit Weathernews)

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

  • Report bugs or request features via GitHub Issues
  • Submit pull requests for improvements
  • Add new city presets
  • Improve documentation

License

MIT - See LICENSE for details.