インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Matomo をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
Summary
Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.
こう聞いてみよう
Matomo のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Matomo をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Matomo + Gemini
Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
MATOMO_URL, MATOMO_TOKEN
ステップ 1 — 認証情報を取得
Getting a token
- Sign in to Matomo and open Administration → Personal → Security → Auth tokens, then Create new token.
- Leave 'Only allow secure requests' unticked only if you must — with it ticked, Matomo 4+ requires the token in a POST body rather than a query parameter. This adapter sends it as a query parameter (GET), which is Matomo's classic Reporting API shape and what the majority of installs accept.
- Set
MATOMO_URLto your Matomo root (no trailing slash, no/index.php) andMATOMO_TOKENto the token.
…(continued in the in-app connector instructions)
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Gemini にコネクタを追加
Gemini CLI は ~/.gemini/settings.json (Windows は %APPDATA%\gemini\settings.json) から MCP サーバを読み込みます。追加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の Profile → MCP API Keys → New Key で MCP API key を取得。
- ファイルを保存し
geminiを再起動。 - Gemini CLI で
/mcpを実行 —Matomoが利用可能として表示されます。 - Vertex AI Studio: 同じ Bearer ヘッダーで
https://cloud.anythingmcp.com/mcpをリクエストのtools配列に渡してください。
利用可能なツール
| Tool | What it does |
|---|---|
matomo_get_version | Read the Matomo version of this instance |
matomo_list_sites | List the sites this token can report on, with their id, name, main URL, timezone and currency |
matomo_get_visits_summary | Read the headline numbers for a period: visits, unique visitors, actions, bounce rate, average visit duration and actions per visit |
matomo_get_page_urls | Read the page report: which URLs were viewed, how often, their average time on page, bounce rate and exit rate |
matomo_get_entry_pages | Read which pages visitors arrived on, with entries, bounce rate and the visits that followed — the landing-page view, not the pageview vie |
matomo_get_referrers | Read where the traffic came from: search engines, websites, social networks, campaigns and direct entry, with visits and actions for each |
matomo_get_countries | Read the visits broken down by country, with visit counts, actions and bounce rate — the geography of the audience |
matomo_get_device_types | Read the visits broken down by device type — desktop, smartphone, tablet — with visits, actions and bounce rate |
matomo_get_goals | Read goal conversions for a period: conversions, conversion rate and revenue, overall or for one goal |
matomo_get_last_visits | Read individual recent visits with their referrer, country, device, and the pages each one viewed in order |
FAQ
Gemini 1.5 Pro / 2.x は MCP をサポートしますか? はい — Gemini CLI ≥ 0.4 と Vertex AI tools API は Bearer ヘッダー付きの httpUrl MCP コネクタを受け入れます。
次のステップ
このガイドは役に立ちましたか?