npx claudepluginhub kolezka/agents-umami-pluginsAdminister Umami analytics: websites, stats, teams and users through the Umami REST API.
Administer Umami analytics from a coding agent. One MCP server, packaged for two hosts:
umami MCP server and the umami-admin skill.It works with self-hosted Umami and with Umami Cloud.
| Area | Tools |
|---|---|
| Account | umami_me |
| Websites | umami_list_websites, umami_get_website, umami_create_website, umami_update_website, umami_delete_website, umami_reset_website |
| Analytics | umami_website_stats, umami_website_pageviews, umami_website_metrics, umami_website_active |
| Teams | umami_list_teams, umami_get_team, umami_create_team, umami_update_team, umami_delete_team, umami_list_team_users, umami_add_team_user, umami_remove_team_user, umami_list_team_websites |
| Users (self-hosted) | umami_get_user, umami_create_user, umami_update_user, umami_delete_user, umami_list_user_websites |
| Anything else | umami_request: any endpoint from the Umami API docs |
Safety:
umami_request, refuse to run without
confirm: true. The skill tells the agent to show the object and ask first.token, password fields) are replaced with <redacted>.
/api/me, for example, echoes the caller's token.7d or today are turned into explicit startAt/endAt
timestamps, so they work on Umami versions older than 3.5 that do not accept period.The server reads two environment variables from the process that starts the agent:
| Variable | Required | Value |
|---|---|---|
UMAMI_API_TOKEN | yes | An Umami API key (Settings, API keys) |
UMAMI_API_URL | no | Your instance, e.g. https://umami.example.com. Defaults to Umami Cloud, https://api.umami.is/v1 |
/api is added for you, so https://umami.example.com and https://umami.example.com/api
both work. Put them in ~/.zshenv or your shell profile:
export UMAMI_API_TOKEN=...
export UMAMI_API_URL=https://umami.example.com
Requires Node.js 20 or newer on PATH.
claude plugin marketplace add kolezka/agents-umami-plugins
claude plugin install umami@agents-umami-plugins
Restart Claude Code, then ask something like "how many visitors did example.com have last week?". To try it from a checkout without installing:
claude --plugin-dir ./plugins/umami
The bundle is plugins/umami. Install it into a profile from a checkout:
git clone https://github.com/kolezka/agents-umami-plugins
dsh plugin --profile web add file:$PWD/agents-umami-plugins/plugins/umami
dsh --profile web --dump-config | grep umami # shows the "# == @kolezka/umami-dsh" layer
The bundle adds two rows: claude-compat-umami loads the skill through
claude-plugin-dsh, and umami-mcp starts
the server through @deepseek-ai/dsh-mcp-client. DSH scrubs the environment of MCP
children, so umami-mcp passes UMAMI_API_TOKEN and UMAMI_API_URL on explicitly. The
tools appear as mcp__umami__*.
Remove it with dsh plugin --profile web remove @kolezka/umami-dsh.
/api/admin/* and /api/me/api-keys,
even for an admin account. Those routes need a browser login session.umami_website_metrics uses type: "path" for pages. Older instances expect url.bun install
bun run build # src/ -> plugins/umami/server/umami-mcp.js (committed, the plugins run it)
bun test # unit tests against a fake Umami, plus the built bundle under node
bun run check # TypeScript
bun run smoke # read-only checks against the instance in your environment
Rebuild and commit plugins/umami/server/umami-mcp.js with every change to src/. CI fails
when the committed bundle does not match the source.
Run the release workflow from the Actions tab and pick patch, minor or major. It:
release.config.json (both package.json
files, the plugin manifest and the marketplace entry) and rebuilds the bundle, which
reports the new version,CHANGELOG.md section built from the Conventional Commits since the last tag,chore(release): vX.Y.Z, tags it, pushes both to main in one atomic push and
creates the GitHub release with that section as notes.Tick dry_run to see the result without publishing. Pull requests that change the release
tooling run the same steps in dry-run mode. Locally: bun scripts/release.ts minor on a
clean tree prepares the same changes without committing.
MIT
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.