MCP App Store
by KeenEthics
Caprail icon

Caprail MCP Server for ChatGPT

By MAXIMILIAN LEODOLTER

Overview

Caprail is a website traffic analytics tool for website owners and developers. Analyze recorded traffic in chat to understand how people and AI agents reach and use your website. View recorded page views, estimated unique visitors, and agentic/chat requests. Identify traffic referred by AI sources, inspect visited pages, compare periods, and explore daily trends. Filter and rank results by page path, country, source, device, browser, provider, or referrer. Show results as metric cards, comparison cards, line charts, ranked breakdowns, or multi-series charts. The presentation tool can also display ordered conversion funnels when a connected, authorized data source supplies the required cohort counts; Caprail page totals alone do not provide funnel data. Connect your Caprail account to analyze your own sites and check when requests were last received. In a coding agent with access to your website codebase, use the installation skill to create a site and integrate event collection. Visitor counts are estimates derived from IP address and user agent. Page views are explicitly recorded events; agent requests are measured separately. Interactive components require a compatible host. Text and structured results remain available.

How to connect

  1. ChatGPT: Open the Caprail listing in the ChatGPT app directory and choose Connect. ChatGPT listing Caprail exposes 5 tools here.

Tools

create_site

ChatGPT
Create a site for the signed-in Caprail user and return what this chat needs to record events. Requires the existing OAuth consent (GitHub or Google). An ingest key cannot call this. Arguments are name and domain only; the site is owned by the caller. The result includes site.id, the cap_live key for that site only, and the exact POST to /api/ingest (https://caprail.dev/api/ingest in production). The body is timestamp, method, and path, plus raw userAgent, referrer, and utmSource when the request has them. Caprail classifies the visit. Do not send your own classification. That POST records a request. A pageview is a separate event on the same URL with kind pageview (recordPageview); then call traffic_explorer. Write that POST in the host codebase. Caprail does not open a pull request, install middleware, or add a setup page. Then POST one test request: a 202 with accepted 1 means it was stored. Call traffic_explorer with the site id and a time window. The key is only in this result, not in list_sites. This tool has no card.

list_sites

ChatGPT
List the sites the signed-in user can ask about. Does not return ingest keys. Call create_site to make one, then traffic_explorer with a returned site id. This tool has no card.

render_analytics

ChatGPT
Render a metric, comparison, trend, breakdown, funnel, or multi-series chart in ChatGPT using Caprail's predefined design. Presentation only: retrieve and calculate data first using available tools, then pass the final values. Never invent observations or derive ordered conversions from independent page totals. Sources are attribution supplied by the caller, not independently verified by this renderer. Include source names, time window, units and any estimation/partial-data caveats in note. For Caprail traffic, use traffic_explorer to retrieve data first; keep distinct visitor totals, never sum daily visitor counts. For multiple sources, align time windows, timezone, units and metric definitions upstream. Overlaid series must share one unit and align with labels; null means missing, zero means observed zero. A funnel requires non-increasing integer counts from one cohort completing ordered steps, and a note defining that cohort. Use minimal presentation; users can ask follow-up questions in chat. No retrieval, persistence or external requests occur in this tool.

tracking_status

ChatGPT
Read observed collection freshness for an owned site. Recent requests do not prove complete installation or delivery health.

traffic_explorer

ChatGPT
Choose a view that answers the question: overview for general totals (default), metric for one number, comparison for change versus the previous period, trend for a minimal line chart of one metric, breakdown for ranked pages/countries/sources/devices/browsers/providers/referrers, explorer for broad investigations or charts comparing periods. A line-chart request must use view=trend and the requested metric, not overview or explorer. For example, 'show me a line chart for this week's agentic visitors' uses view=trend, metric=agents and this week's date window in the user's timezone; label the result as agentic/chat requests, since agents counts requests, not unique visitors. Choose metric (pageviews, visitors, agents) and dimension for breakdowns. detail controls density: summary for quick answers, full for more rows; if view is omitted, full opens explorer. Users can expand totals and breakdowns with Show details; the minimal trend has no controls, so use explorer when they ask for more in chat; preserve site, dates, timezone and filters on follow-ups. Page Views, estimated Unique Visitors and Agentic/Chat Requests with interactive daily graphs, supporting breakdowns and equal-duration previous-period comparison. Call list_sites first. Filter country, path, source, device, browser, provider or referrer. Explicit human pageviews only; agent requests include fetchers and agent browsers. Training crawlers, search bots, internal and malicious traffic excluded. Visitors deduplicated across the full window; daily visitors are not additive. Missing dimensions shown as Unknown; breakdowns bounded to 100 per dimension.

Capabilities

WritesInteractive

Example Prompts

Click any prompt to copy it.

Similar Apps

Listed on MCP App Store

Listed on MCP App Store

Add this badge to your site or README. It links to this page.

HTML

<a href="https://mcp-app-store.keenethics-labs.com/app/caprail"><img src="https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg" alt="Listed on MCP App Store" width="220" height="44"></a>

Markdown

[![Listed on MCP App Store](https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg)](https://mcp-app-store.keenethics-labs.com/app/caprail)