# Simple Analytics MCP by usefulapi

> Simple Analytics MCP by usefulapi is an MCP server for analytics and data. Read Simple Analytics stats: pageviews, visitors, pages, referrers, events and data exports. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://usefulapi.io/simple-analytics/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/simple-analytics
- **MCP Registry name:** io.usefulapi/simple-analytics
- **Categories:** analytics and data
- **Listing updated:** 2026-11-13

## About

Read Simple Analytics stats: pageviews, visitors, pages, referrers, events and data exports.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http simple-analytics https://simple-analytics.usefulapi.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://simple-analytics.usefulapi.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "simple-analytics": {
      "url": "https://simple-analytics.usefulapi.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "simple-analytics": {
      "type": "http",
      "url": "https://simple-analytics.usefulapi.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "simple-analytics": {
      "serverUrl": "https://simple-analytics.usefulapi.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "simple-analytics": {
      "type": "http",
      "url": "https://simple-analytics.usefulapi.io/mcp"
    }
  }
}
```

## Tools

- `simpleanalytics_list_websites`: List the websites of the Simple Analytics account (hostnames to use in the other tools). Good first call. Admin API: GET /api/websites.
- `simpleanalytics_get_stats`: Aggregated traffic for one website and date range: total pageviews, unique visitors and the median seconds on page. Optional filters narrow it to a page, country, referrer, UTM value, browser, OS, device or metadata value. Stats API: GET /<hostname>.json.
- `simpleanalytics_get_timeseries`: Pageviews and visitors per hour, day, week, month or year for one website and date range (time series for charts and trends). Optional filters as in simpleanalytics_get_stats. Stats API: GET /<hostname>.json?fields=histogram.
- `simpleanalytics_get_breakdown`: Top values of one dimension for one website and date range, each with pageviews and visitors: pages, countries, referrers, UTM sources/mediums/campaigns/contents/terms, browsers, operating systems or device types. Optional filters as in simpleanalytics_get_stats. Stats API: GET /<hostname>.json?fields=<dimension>.
- `simpleanalytics_get_events`: How often custom events happened on one website in a date range. Pass event names, or leave names out for all events (up to 1000). Stats API: GET /<hostname>.json?events=...
- `simpleanalytics_export_datapoints`: Raw, unsampled page views or events of one website for a date range, as rows with only the fields asked for. The reply is capped at max_rows (default 100, max 1000) rows and 2 MB; "truncated" says more exist, so narrow the range. Rows are cut to about 40 000 characters of JSON. Dates: YYYY-MM-DD, or YYYY-MM-DDTHH for one hour (start and end the same day). Robots are left out unless asked. Needs th

## FAQ

### How do I add Simple Analytics MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http simple-analytics https://simple-analytics.usefulapi.io/mcp

### What are the best alternatives to Simple Analytics MCP by usefulapi?

The closest alternatives to Simple Analytics MCP by usefulapi are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/simple-analytics-mcp-by-usefulapi
