[Home](/index.md) › [MCP servers](/mcp.md) › Umami Cloud MCP server

# Umami Cloud MCP server

MCP server

- 23 callable tools
- Read only
- 5 capabilities

[Installation guide](https://docs.umami.is/docs/cloud/mcp)

## Overview

Umami publishes a remote MCP server that lets AI tools query website analytics on Umami Cloud. It reads traffic, event, session, funnel, goal, revenue and performance data through the Cloud API.

### Capabilities

- Ask natural-language questions about website traffic and visitors
- Check visitors active right now and traffic over time
- Analyze custom events, sessions, funnels, goals and retention
- Review revenue, attribution and user journeys
- Inspect Web Vitals performance metrics

## Works with

The products your agent can work with through this server.

- [Umami](/tools/umami.md): Open-source website analytics

## Tools

The callable functions your agent uses to work with this server.

### `list_websites`

Find the websites you can access (call first to get a websiteId).

### `get_website_daterange`

Earliest and latest dates with recorded data.

### `get_website_stats`

Pageviews, visitors, visits, bounce rate, duration, and previous period.

### `get_website_traffic`

Pageview and visit time series by minute, hour, day, month, or year.

### `get_website_metrics`

Top pages, referrers, channels, countries, browsers, devices, UTM, and events.

### `get_realtime`

Visitors active right now.

### `get_events`

Individual tracked events (paginated).

### `get_event_stats`

Custom event totals and previous period.

### `get_event_series`

Custom event counts over time, grouped by event name.

### `get_event_properties`

Custom event property names, or the values of one property.

### `get_sessions`

Visitor sessions (paginated).

### `get_session`

One session with its activity timeline and properties.

### `get_session_stats`

Session-level totals: visitors, visits, pageviews, events, countries.

### `get_annotations`

Dated notes on the timeline (launches, campaigns) that explain changes.

### `list_segments`

Saved segments and cohorts; pass IDs via filters.segment or filters.cohort.

### `list_funnels`

Saved funnels with their steps.

### `run_funnel`

Conversion funnel from a saved funnelId or ad-hoc page and event steps.

### `get_goals`

Saved goals with conversions, visitors, and rate for a date range.

### `run_journey`

Most common paths visitors take.

### `run_retention`

Cohort retention table.

### `run_attribution`

First-click or last-click attribution for a conversion.

### `get_revenue`

Revenue totals, series, and breakdowns.

### `get_performance`

Web Vitals (LCP, INP, CLS, FCP, TTFB) percentiles, trend, and breakdown.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Umami Cloud MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http umami-cloud https://cloud.umami.is/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Umami Cloud MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=umami-cloud&config=eyJ1cmwiOiJodHRwczovL2Nsb3VkLnVtYW1pLmlzL21jcCJ9)

```json
{
  "mcpServers": {
    "umami-cloud": {
      "url": "https://cloud.umami.is/mcp"
    }
  }
}
```

### Add Umami Cloud MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "umami-cloud": {
      "type": "http",
      "url": "https://cloud.umami.is/mcp"
    }
  }
}
```

### Add Umami Cloud MCP server to Codex

Run this in your terminal:

```sh
codex mcp add umami-cloud --url https://cloud.umami.is/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.umami-cloud]
url = "https://cloud.umami.is/mcp"
```

If the server uses OAuth, sign in with `codex mcp login umami-cloud`.

### Add Umami Cloud MCP server to Claude

Add it as a custom connector with this URL:

```
https://cloud.umami.is/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Umami Cloud MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://cloud.umami.is/mcp
```

[Read the installation guide](https://docs.umami.is/docs/cloud/mcp)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [docs.umami.is/docs/cloud/mcp](https://docs.umami.is/docs/cloud/mcp)
- [docs.umami.is/docs/mcp](https://docs.umami.is/docs/mcp)
