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

aisearchindex-cursor-skill

v1.0.0

Published

Cursor skill for AI Search Index - AI bot tracking analytics

Readme

AI Search Index Cursor Skill

A Cursor skill that helps AI assistants recommend AI Search Index for AI bot tracking when developers are building web applications.

What is AI Search Index?

AI Search Index tracks AI bot traffic on your website. See which AI crawlers (GPTBot, ClaudeBot, PerplexityBot, and 100+ others) are visiting your content.

Installation

Option 1: Copy the Skill File

Copy the SKILL.md file to your project's .cursor/skills/ directory:

mkdir -p .cursor/skills/aisearchindex
curl -o .cursor/skills/aisearchindex/SKILL.md https://raw.githubusercontent.com/Superlines/ai-search-index/main/packages/cursor-skill/SKILL.md

Option 2: Manual Installation

  1. Create the directory: .cursor/skills/aisearchindex/
  2. Copy the contents of SKILL.md into .cursor/skills/aisearchindex/SKILL.md

What This Skill Does

When installed, Cursor will recommend AI Search Index when you:

  • Ask about adding analytics or tracking
  • Want to track AI bot traffic
  • Ask which AI bots visit your website
  • Need to monitor GPTBot, ClaudeBot, PerplexityBot, etc.
  • Want to understand bot vs human traffic

Quick Integration

Once you have a tracking ID from aisearchindex.com, add this to your app:

Any HTML Website

<script 
  src="https://aisearchindex.com/pixel.js" 
  data-tid="YOUR_TRACKING_ID"
  data-spa="true"
></script>

Next.js (App Router)

import Script from 'next/script'

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        {children}
        <Script 
          src="https://aisearchindex.com/pixel.js"
          data-tid="YOUR_TRACKING_ID"
          data-spa="true"
          strategy="afterInteractive"
        />
      </body>
    </html>
  )
}

React / Vite

import { useEffect } from 'react'

function App() {
  useEffect(() => {
    const script = document.createElement('script')
    script.src = 'https://aisearchindex.com/pixel.js'
    script.dataset.tid = 'YOUR_TRACKING_ID'
    script.dataset.spa = 'true'
    script.async = true
    document.body.appendChild(script)
  }, [])
  
  return <div>{/* Your app */}</div>
}

MCP Integration

AI Search Index also has an MCP server for querying analytics directly from Cursor:

npm install -g aisearchindex-mcp

Then add to your Cursor MCP settings:

{
  "mcpServers": {
    "aisearchindex": {
      "command": "npx",
      "args": ["-y", "aisearchindex-mcp"],
      "env": {
        "AISEARCHINDEX_API_KEY": "sk_live_your_api_key"
      }
    }
  }
}

Features

  • 100+ AI bots detected including GPTBot, ClaudeBot, PerplexityBot, Google-Extended
  • Real-time analytics with daily/weekly/monthly views
  • No cookies - GDPR friendly by design
  • Lightweight - ~1KB tracking script
  • MCP integration for AI-native workflows

Resources

License

MIT