# Simple Analytics MCP for AI Agents AI Agent Connect

> Simple Analytics MCP lets your AI agent pull web traffic stats, export raw data, and manage your websites without touching cookies. It gives you a direct line to your privacy-first analytics dashboard. You can query pageviews, add new domains, or send backend events using natural language.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_SpZBkvdfXZ1V9Zu5QhzrZR318vRnARM5ipdzLKah/ai-agent-connect
- **Tags:** web-analytics, privacy-focused, cookieless, real-time-stats, data-export, traffic-monitoring

## Description

Imagine you're trying to figure out where your web traffic is actually coming from without digging through a maze of cookie banners or messy dashboards. This Connector turns your AI into a dedicated data analyst for your web traffic. Instead of clicking through tabs to find a specific date range or exporting a CSV just to see a trend, you just ask your agent. You'll get immediate answers on visitor counts, pageviews, and custom events across all your domains. It's built for people who care about privacy but still need hard numbers. Because Vinkius makes it so easy to connect these types of tools, you can go from asking a question to having a full data breakdown in seconds. Whether you're checking if a new campaign is hitting its marks or trying to grab a raw data dump for a custom report, the agent handles the heavy lifting while you stay focused on the strategy. It works with your existing account to give you a direct line to your data. You can manage your domains, pull historical stats, and even trigger backend events without ever leaving your current workspace. It's about getting the information you need to make decisions faster, not spending your day moving data from one place to another. You don't have to worry about complex requests or manual data cleaning. The agent does the work, and you just get the insights.

## Tools

### list_websites
See a complete list of all websites currently managed in your account. This helps you quickly identify which domains are active.

### add_website
Add a new domain to your account to start tracking its web traffic. This makes it easy to manage a growing portfolio of sites.

### export_datapoints
Retrieve raw, non-sampled data for deep analysis or custom reporting. This is ideal for users who need to feed data into other BI tools.

### send_server_event
Submit a custom event or pageview directly from your backend to track actions like sign-ups. This helps you monitor conversions without needing extra tracking scripts.

### get_stats
Pull aggregated pageviews, visitors, and histograms for any of your domains. This gives you a clear view of your traffic trends in seconds.

## Prompt Examples

**Prompt:** 
```
How many people visited my site yesterday?
```

**Response:** 
```
You had 450 unique visitors yesterday. Pageviews were up 12% compared to the day before. Would you like to see a breakdown by page?
```

**Prompt:** 
```
List my sites.
```

**Response:** 
```
You have 4 sites currently registered:

* example.com
* myblog.io
* shop.net
* dev.site

Which one would you like to analyze?
```

**Prompt:** 
```
Add newproject.com to my list.
```

**Response:** 
```
Successfully added 'newproject.com' to your account. You can now start sending data to this hostname.
```

## Capabilities

### Fetch traffic statistics
Get aggregated pageviews and visitor counts for any of your domains.

### Export raw data
Retrieve non-sampled data points for deep analysis or custom reporting.

### Manage website domains
Add or list the websites currently connected to your analytics account.

### Submit backend events
Send custom events or pageviews directly from your backend to track actions.

### View site portfolio
See a complete list of all managed websites in one view.

## Use Cases

### Quickly checking visitor counts
A marketing manager asks for the visitor count of a new landing page from last week. The agent uses get_stats to provide the number immediately.

### Adding new domains to a portfolio
A developer needs to start tracking a new project. They ask the agent to add the domain using add_website so they can start collecting data right away.

### Grabbing raw data for a spreadsheet
A data analyst needs to perform a deep dive into traffic. They ask the agent to use export_datapoints to pull a raw data dump for their BI tool.

### Tracking backend conversions
A developer wants to track successful sign-ups. They use send_server_event to send a custom event from their backend to their analytics dashboard.

## Benefits

- Stop manual exports by using export_datapoints to grab raw data for your reports instantly.
- Monitor multiple domains at once by using list_websites to see your entire portfolio in one view.
- Track backend conversions accurately with send_server_event for server-side event tracking.
- Get instant answers on visitor trends using get_stats instead of clicking through a dashboard.
- Manage your domains easily by using add_website to register new domains on the fly.

## How It Works

The bottom line is you get instant access to your privacy-focused web analytics through a natural conversation.

1. Get your Simple Analytics API key from your account settings.
2. Connect this Connector to your AI client through the Vinkius catalog.
3. Ask your agent questions about your web traffic or request data exports.

## Frequently Asked Questions

**Does Simple Analytics MCP use cookies?**
No, it's completely cookieless. You get your web analytics without needing to manage cookie banners or worry about privacy regulations.

**Can I use it for multiple websites?**
Yes, you can manage and query stats for all your domains at once. It makes it easy to keep an eye on your entire portfolio.

**How do I get raw data?**
You can ask your agent to pull raw, non-sampled data points for your reports. This is great for deep analysis or feeding into other tools.

**Can it track backend events?**
Yes, you can send custom events or pageviews from your backend. This lets you track things like sign-ups or purchases accurately.

**Is this good for marketing teams?**
It's perfect for marketing managers who need to see traffic trends and visitor counts across multiple domains quickly.

**How do I add a new site?**
You can just tell your agent to add a new domain to your account. It handles the setup for you so you can start tracking immediately.

**Can I see how many visitors my site had last week?**
Yes! Use the `get_stats` tool with your domain and set the `start` parameter to 'today-7d'. Your agent will return aggregated visitors and pageviews for that period.

**Is it possible to export raw data for custom analysis?**
Absolutely. The `export_datapoints` tool allows you to retrieve raw, non-sampled data points in JSON or CSV format, provided you have your User-Id configured.

**Can I track events that happen on my server, like a successful payment?**
Yes, use the `send_server_event` tool. You can specify the event name, hostname, and even include custom metadata to track backend conversions without any client-side scripts.