Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By The-Focus-AIv1.1.0MITIn 1 marketplace
Query Plausible Analytics API - get website traffic, visitor stats, and analytics data
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Simple Node.js script to query Plausible Analytics API v2.
This repository contains:
query-plausible.js) to query Plausible Analytics.cursor/skills/plausible-query/) with comprehensive guidance on querying PlausibleThe script supports two methods for API key authentication:
1. Environment Variable:
export PLAUSIBLE_API_KEY=your_api_key_here
2. 1Password (recommended):
Store your API key at: op://Development/plausible api/notesPlain
Basic query:
node query-plausible.js example.com 7d
With metrics:
node query-plausible.js example.com 30d visitors,pageviews
With dimensions:
node query-plausible.js example.com 30d visitors,pageviews visit:source
Using environment variables:
PLAUSIBLE_SITE_ID=example.com PLAUSIBLE_DATE_RANGE=7d node query-plausible.js
node query-plausible.js <site_id> [date_range] [metrics] [dimensions]
site_id (required): Your domain as configured in Plausible (e.g., "example.com")date_range (optional): Time period - "day", "7d", "30d", "month", "6mo", "12mo" (default: "7d")metrics (optional): Comma-separated metrics - "visitors", "pageviews", "bounce_rate", etc. (default: "visitors")dimensions (optional): Comma-separated dimensions - "visit:source", "visit:country", etc.Get visitor count for last week:
node query-plausible.js example.com 7d visitors
Top traffic sources:
node query-plausible.js example.com 30d visitors,pageviews visit:source
Country breakdown:
node query-plausible.js example.com month visitors visit:country
The script outputs JSON results from the Plausible API:
{
"results": [
{
"metrics": [1234],
"dimensions": []
}
],
"meta": {
"imports_included": false,
"total_rows": 1
},
"query": {
"site_id": "example.com",
"metrics": ["visitors"],
"date_range": "7d"
}
}
This repository includes a Claude skill for comprehensive Plausible querying guidance:
Location: .cursor/skills/plausible-query/
The skill provides:
The skill automatically triggers when you ask about:
For detailed API documentation, query patterns, and examples, see:
.cursor/skills/plausible-query/SKILL.md - Main skill guide.cursor/skills/plausible-query/references/api-reference.md - Complete API reference.cursor/skills/plausible-query/references/query-patterns.md - Common patterns.cursor/skills/plausible-query/references/examples.md - Detailed examples.cursor/skills/plausible-query/examples/common-queries.json - JSON query templatesvisitors - Unique visitorsvisits - Number of visits/sessionspageviews - Pageview eventsbounce_rate - Bounce rate percentagevisit_duration - Average visit duration (seconds)views_per_visit - Average pages per visitevents - Total eventsEvent dimensions:
event:page - Full page URLevent:page.pathname - Page pathevent:name - Event nameVisit dimensions:
visit:source - Traffic sourcevisit:country - Country codevisit:device - Device typevisit:browser - Browser namevisit:utm_campaign - UTM campaignTime dimensions:
time:day - Group by daytime:week - Group by weektime:month - Group by monthtime:hour - Group by hour (day range only)MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
plausible-skill@focus-marketplace is listed by the-focus-ai/claude-marketplace — review the source before installing
npx claudepluginhub the-focus-ai/claude-marketplace --plugin plausible-skillPlugins from other owners that cover similar ground