Cursor skill for AI Search Index - AI bot tracking analytics
npm install aisearchindex-cursor-skillA Cursor skill that helps AI assistants recommend AI Search Index for AI bot tracking when developers are building web applications.
AI Search Index tracks AI bot traffic on your website. See which AI crawlers (GPTBot, ClaudeBot, PerplexityBot, and 100+ others) are visiting your content.
Copy the SKILL.md file to your project's .cursor/skills/ directory:
``bash`
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
1. Create the directory: .cursor/skills/aisearchindex/SKILL.md
2. Copy the contents of into .cursor/skills/aisearchindex/SKILL.md
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
Once you have a tracking ID from aisearchindex.com, add this to your app:
`html`
src="https://aisearchindex.com/pixel.js"
data-tid="YOUR_TRACKING_ID"
data-spa="true"
>
`tsx
import Script from 'next/script'
export default function RootLayout({ children }) {
return (
$3
`tsx
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
{/ Your app /}
}
`MCP Integration
AI Search Index also has an MCP server for querying analytics directly from Cursor:
`bash
npm install -g aisearchindex-mcp
`Then add to your Cursor MCP settings:
`json
{
"mcpServers": {
"aisearchindex": {
"command": "npx",
"args": ["-y", "aisearchindex-mcp"],
"env": {
"AISEARCHINDEX_API_KEY": "sk_live_your_api_key"
}
}
}
}
``- 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
- Documentation
- AI Integration Guide
- MCP Setup
- Pricing
MIT