# Baidu Analytics MCP for AI Agents AI Agent Connect

> Baidu Analytics MCP. Connect your AI agent to China's leading web analytics platform to pull real-time traffic data, monitor visitor trends, and audit site performance across your portfolio without leaving your workspace. It turns complex metric reporting into a natural conversation.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_YScLSjNjNEXJwh4R4CAMq8Sw7FfgerxxOMW43GQB/ai-agent-connect
- **Tags:** web-analytics, traffic-monitoring, visitor-insights, performance-tracking, conversion-metrics

## Description

This Connector lets you turn your AI into a data analyst for your Chinese web traffic. Instead of logging into the Baidu Tongji dashboard and clicking through nested menus to find your daily unique visitors or page rankings, you just ask your agent. It pulls the numbers directly into your conversation. If you need to know where your traffic is coming from or which regions are most active, the agent handles the query and gives you the breakdown. It is a way to keep your marketing pulse on your site without the manual overhead of reporting. Since Vinkius hosts this Connector, you can plug it into your existing workflow and start pulling live metrics from your authorized accounts immediately. It turns a slow, manual process into a quick chat.

## Tools

### get_daily_trend
Pulls the daily traffic trend for a specific site. Use this to see if your traffic is growing over time.

### get_geo_distribution
Shows where your visitors are located geographically. It helps you understand which regions are most engaged.

### get_realtime_metrics
Fetches live statistics like PV and UV. Use it to see how many people are on your site right now.

### get_page_rankings
Lists the top visited pages on your site. This tells you exactly what content is resonating with your audience.

### get_source_data
Identifies where your traffic comes from, like search or direct links. This is key for auditing your marketing channels.

### get_yesterday_overview
Provides a summary of the previous day's traffic. It is the fastest way to see how your site performed overnight.

### list_sites
Shows all sites linked to your account. Use this to find the correct Site ID for your queries.

### query_custom_metrics
Runs advanced queries for specific data points. This lets you get highly tailored performance reports.

## Prompt Examples

**Prompt:** 
```
How many unique visitors did we have yesterday?
```

**Response:** 
```
I've pulled the summary for yesterday. You had **1,450 Unique Visitors (UV)** and a total of **3,200 Page Views (PV)**. 

Would you like to see the traffic sources for that period?
```

**Prompt:** 
```
Which pages are people looking at the most right now?
```

**Response:** 
```
The top 3 most visited pages currently are:

* **1. /home** (450 views)
* **2. /products/new-item** (210 views)
* **3. /blog/latest-news** (120 views)

Your real-time user count is currently **38**.
```

**Prompt:** 
```
Where is most of our traffic coming from?
```

**Response:** 
```
Your traffic is currently split as follows:

* **Search Engines**: 45%
* **Direct links**: 30%
* **Social Media**: 25%

The highest concentration of visitors is coming from the **Shanghai** region.
```

## Capabilities

### Pull real-time visitor stats
Get live Page Views and Unique Visitors for your site instantly.

### Check daily traffic trends
See how your traffic fluctuates over specific date ranges.

### Identify top visited pages
Find out which content is resonating most with your audience.

### See visitor geographic data
Understand which regions and cities are driving your traffic.

### Get traffic source data
Identify if your visitors come from search, direct links, or social.

### Run custom report queries
Execute advanced queries for specific performance metrics.

### List registered sites
View all sites connected to your analytics account in one list.

## Use Cases

### Tracking campaign performance
A marketer needs to know if a new campaign is driving traffic. They ask the agent to check the get_source_data for the last 24 hours.

### Identifying popular content
A product manager wants to see which pages are failing. They use get_page_rankings to find the most and least visited URLs.

### Reporting on regional growth
An analyst needs to report on regional growth. They ask the agent to pull get_geo_distribution for their main landing page.

### Verifying live site traffic
A developer needs to check if a site is live and getting hits. They use get_realtime_metrics to verify the live user count.

## Benefits

- Get instant traffic updates without logging into the Baidu Tongji dashboard by using get_realtime_metrics.
- Identify your most popular content quickly with get_page_rankings to inform your content strategy.
- Understand your audience's location with get_geo_distribution to better target your local ads.
- Audit your marketing spend by seeing exactly where traffic comes from using get_source_data.
- Save time on manual reporting by pulling a summary of the previous day with get_yesterday_overview.
- Manage multiple properties easily by finding the right Site ID with list_sites.

## How It Works

The bottom line is you get instant access to Chinese web analytics through a natural conversation.

1. Subscribe to the Connector on the Vinkius platform.
2. Enter your Baidu Analytics credentials including your Username, Password, Token, and Site ID.
3. Ask your agent for specific metrics like daily trends or real-time visitor counts.

## Frequently Asked Questions

**Can I use the Baidu Analytics MCP to see my real-time traffic?**
Yes, it pulls live Page Views and Unique Visitors stats instantly so you can monitor your site's current activity.

**Does the Baidu Analytics MCP support multiple websites?**
Yes, you can list and query any site linked to your account, making it easy to manage a portfolio of properties.

**How do I connect my Baidu Analytics account to my AI agent?**
You just need to provide your Baidu Analytics credentials and Site IDs in the setup, and your agent can start querying data.

**Can the Baidu Analytics MCP show me where my visitors live?**
Yes, it pulls geographic distribution data to help you understand which regions and cities are most engaged with your content.

**Is the Baidu Analytics MCP good for tracking marketing campaigns?**
Yes, it allows you to see traffic sources like search and direct links, which is essential for auditing your marketing channels.

**Can I get a summary of my traffic from yesterday?**
Yes, the Connector can provide a summary of the previous day's traffic for a quick overview of your site's performance overnight.

**How do I find my Baidu Analytics Token and Site ID?**
Log in to the [Baidu Analytics Console](https://tongji.baidu.com/), navigate to [Management] -> [Site List] to find your numeric Site ID. The API Token is usually provided in the API settings or developer services section after account verification.

**What metrics are supported in real-time queries?**
Real-time tools provide access to Page Views (PV), Unique Visitors (UV), IP counts, and the current number of online users on your site.

**Can I query data for specific dates?**
Yes! Use the trend and metric tools with `start_date` and `end_date` in `YYYYMMDD` format. Your agent will retrieve the historical data for the requested period.