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

@denizhosgor/pagespeedinsight-mcp

v0.1.23

Published

MCP server for Google PageSpeed Insights

Readme

@denizhosgor/pagespeedinsight-mcp

Desteklenen Platformlar

OpenClaw Paperclip Build Tests Vulnerabilities Release License

Google PageSpeed Insights'i MCP tool olarak sunan Node.js paketidir.

Node.js Uyumlulugu

  • Desteklenen Node.js surumleri: 20, 22, 24
  • Lokal gelistirme varsayilani: en guncel Node.js 24 (.nvmrc = 24)

Kurulum

Global:

npm install -g @denizhosgor/pagespeedinsight-mcp

Calistirma:

pagespeedinsight-mcp

NPX:

npx -y @denizhosgor/pagespeedinsight-mcp

API Anahtari

Anahtari sadece ortam degiskeni olarak verin (chat/log icine yazmayin):

export GOOGLE_API_KEY="YOUR_KEY"
# Bu paket icin desteklenen alternatif ad:
export PAGESPEEDINSIGHT_API_KEY="YOUR_KEY"

Iki degisken birden varsa PAGESPEEDINSIGHT_API_KEY onceliklidir.

OpenClaw Kurulumu

  1. Paketi OpenClaw plugin olarak kur (UI veya API ile) npm spec:
@denizhosgor/[email protected]

Bu paket openclaw.plugin.json ile skill'i otomatik ship eder:

  • openclaw/skills/pagespeed_insights
  1. MCP sunucusunu kaydet:
openclaw mcp set pagespeed-insights '{"command":"npx","args":["-y","@denizhosgor/pagespeedinsight-mcp"]}'
  1. Skill yuklendigini kontrol et:
openclaw skills list
  1. Yeni oturum acip runtime tool listesini kontrol et:
/new
/tools verbose

OpenClaw plugin kurulum akisinda degilsen manuel fallback kurulumu kullanabilirsin:

pagespeedinsight-mcp install-skill --openclaw-dir /absolute/path/to/openclaw --chown node:node

Allowlist Notu

OpenClaw tarafinda skill allowlist kullaniyorsan pagespeed_insights ekle:

{
  "agents": {
    "defaults": {
      "skills": ["pagespeed_insights"]
    }
  }
}

Mevcut Toollar

MCP (OpenClaw ve MCP istemcileri):

  • run_pagespeed
  • compare_pagespeed

Sadece Paperclip:

  • check_plugin_version

Raporlama

  • Her tool cagrisinda JSON rapor yazilir ve saved_report_path doner.
  • Varsayilan rapor klasoru: <cwd>/report
  • Dosya formati: <url>-<timestamp>.json
  • Klasoru degistirmek icin: PAGESPEEDINSIGHT_REPORT_DIR=/custom/path

run_pagespeed sonucu: request_context, summary, opsiyonel raw, saved_report_path.

compare_pagespeed sonucu: request_context, mobile, desktop, performance_delta_desktop_minus_mobile, saved_report_path.

Paperclip Plugin Destegi

Bu paket Paperclip manifest + worker dosyalarini da icerir (src/manifest.ts, src/worker.ts).

  • package.json > paperclipPlugin
  • Worker girisi: dist/worker.js
  • Manifest girisi: dist/manifest.js
  • Yetkiler:
    • agent.tools.register
    • http.outbound
  • Kayitli Paperclip toollari:
    • pagespeedinsight-mcp:run_pagespeed
    • pagespeedinsight-mcp:compare_pagespeed
    • pagespeedinsight-mcp:check_plugin_version

Health cevabinda otomatik registry surum kontrolu varsayilan kapali gelir. Gerekirse ac:

export PAGESPEEDINSIGHT_HEALTH_VERSION_CHECK=true

Guvenlik Notlari

  • npm lifecycle install script'i (postinstall) yoktur.
  • Varsayilan outbound host allowlist: www.googleapis.com
  • Gerekirse allowlist degistir:
export PAGESPEEDINSIGHT_ALLOWED_OUTBOUND_HOSTS=www.googleapis.com
  • HTTP hata cevaplari tool'a donmeden once sadeleştirilir.

OpenClaw Skill Dosyasi

  • Repo yolu: openclaw/skills/pagespeed_insights/SKILL.md

Gelistirme ve Test

npm install
npm run build
npm run typecheck
npm run check
npm test

Guvenlik ve Yayin Oncesi Kontroller

npm run security:prod
npm run security:full
npm run release:check