4,000+ servers built on vurb.ts
Vinkius
Mastra AISDK
Mastra AI
Umami (Privacy Analytics) MCP Server

Bring Web Analytics
to Mastra AI

Learn how to connect Umami (Privacy Analytics) to Mastra AI and start using 53 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Add Team UserAdmin List TeamsAdmin List UsersAdmin List WebsitesCreate Attribution ReportCreate Funnel ReportCreate LinkCreate PixelCreate ReportCreate Retention ReportCreate Revenue ReportCreate TeamCreate UserCreate WebsiteDelete UserDelete WebsiteGet MeGet Me TeamsGet Me WebsitesGet Realtime StatsGet SessionGet Session ActivityGet Team UsersGet Team WebsitesGet UserGet User TeamsGet User WebsitesGet WebsiteGet Website ActiveGet Website DaterangeGet Website Event DataGet Website Event Data EventsGet Website Event Data FieldsGet Website EventsGet Website Events StatsGet Website MetricsGet Website Metrics ExpandedGet Website PageviewsGet Website SessionsGet Website Sessions StatsGet Website StatsJoin TeamList LinksList PixelsList ReportsList TeamsList WebsitesLoginReset WebsiteSend EventUpdate UserUpdate WebsiteVerify Token

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Umami (Privacy Analytics)

What is the Umami (Privacy Analytics) MCP Server?

Connect your Umami instance to any AI agent to monitor your privacy-focused analytics and manage your infrastructure through natural language. Umami is the open-source, privacy-friendly alternative to Google Analytics, and this MCP server gives you full control over your data.

What you can do

  • Event Tracking — Send custom events and page views directly to your Umami instance using the send_event tool.
  • Website Management — List and manage all websites associated with your account or the entire instance using get_me_websites or admin_list_websites.
  • User & Team Administration — Perform administrative tasks like creating, updating, or deleting users and managing teams with tools like create_user and admin_list_teams.
  • Session Insights — Retrieve information about your current session and authorized access levels using get_me.
  • Self-Hosted Support — Seamlessly connect to your own infrastructure using the login tool to authenticate and retrieve tokens.

How it works

  1. Subscribe to this server
  2. Provide your Umami Instance URL and API Key (or use the login tool)
  3. Start querying your analytics data or managing users from Claude, Cursor, or any MCP client

Who is this for?

  • Data Analysts — quickly pull website lists and verify tracking status without leaving the chat interface.
  • DevOps & Admins — automate user provisioning and team management on self-hosted Umami instances.
  • Growth Marketers — trigger test events and verify analytics pipelines during development.

Built-in capabilities (53)

add_team_user

Add user to team

admin_list_teams

Returns all teams (Admin only)

admin_list_users

Returns all users (Admin only)

admin_list_websites

Returns all websites (Admin only)

create_attribution_report

Marketing attribution report

create_funnel_report

Conversion funnel report

create_link

Creates a link

create_pixel

Creates a pixel

create_report

Creates a report

create_retention_report

User retention report

create_revenue_report

Revenue report

create_team

Creates a team

create_user

Creates a user (Admin only)

create_website

Creates a website

delete_user

Deletes a user (Admin only)

delete_website

Deletes a website

get_me

Get information about the current session

get_me_teams

Get all teams for the current user

get_me_websites

Get all websites for the current user

get_realtime_stats

Realtime stats within the last 30 minutes

get_session

Individual session details

get_session_activity

Activity for a session

get_team_users

Get team members

get_team_websites

Get team websites

get_user

Gets a user by ID (Admin only)

get_user_teams

Gets all teams belonging to a user (Admin only)

get_user_websites

Gets all websites belonging to a user (Admin only)

get_website

Gets a website by ID

get_website_active

Active users in the last 5 minutes

get_website_daterange

Available data date range

get_website_event_data

Event data grouped by event

get_website_event_data_events

Event data names and counts

get_website_event_data_fields

Property and value counts

get_website_events

Website event details

get_website_events_stats

Aggregated event statistics

get_website_metrics

Metrics for a given time range (type: path, browser, os, etc.)

get_website_metrics_expanded

Expanded metrics including bounces and total time

get_website_pageviews

Pageviews and sessions series data

get_website_sessions

Website session details

get_website_sessions_stats

Summarized session statistics

get_website_stats

Summarized website statistics (pageviews, visitors, etc.)

join_team

Join a team via access code

list_links

Returns all user links

list_pixels

Returns all user pixels

list_reports

Get all reports by website ID

list_teams

Returns all teams

list_websites

Returns all user websites

login

Login to self-hosted Umami to get a token

reset_website

Removes all data related to the website

send_event

Send an event to Umami

update_user

Updates a user (Admin only)

update_website

Updates a website

verify_token

Verify if the current token is still valid

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and Umami (Privacy Analytics) tool infrastructure. Connect 53 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Umami (Privacy Analytics) without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every Umami (Privacy Analytics) tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

Umami (Privacy Analytics) in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

Umami (Privacy Analytics) and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect Umami (Privacy Analytics) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for Umami (Privacy Analytics) in Mastra AI

The Umami (Privacy Analytics) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 53 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

Umami (Privacy Analytics)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

The Vinkius Advantage

How Vinkius secures Umami (Privacy Analytics) for Mastra AI

Every tool call from Mastra AI to the Umami (Privacy Analytics) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

Can I use this with my self-hosted Umami instance?

Yes. You can provide your custom instance URL and use the login tool to authenticate, or provide a pre-generated API key/token.

02

How do I track a custom event from the AI?

Use the send_event tool. You'll need to provide the website ID and the url. You can also include optional metadata like name and data objects.

03

Can I manage other users if I am an admin?

Absolutely. If your credentials have admin rights, you can use admin_list_users, create_user, update_user, and delete_user to manage the instance population.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →