Use Mcp Analyticsのロゴ

Use Mcp Analytics

組織
amplitude
use-mcp-analytics

Analyzes MCP servers instrumented with Amplitude MCP Analytics through `run_amp`, from usage topics down to individual episodes and their tool calls. Use when the user asks how their MCP server is used, which tools or topics fail or thrash, why an MCP session went wrong, or which MCP clients and auth types hit errors.

概要

公開者amplitude
リポジトリmcp-marketplace
スキル名use-mcp-analytics
スター
50
フォーク
12
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    amplitudeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Use Mcp Analytics」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/use-mcp-analytics
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git /tmp/mcp-marketplace
mkdir -p .claude/skills
cp -r /tmp/mcp-marketplace/plugins/amplitude/skills/use-mcp-analytics .claude/skills/use-mcp-analytics
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでUse Mcp Analyticsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にUse Mcp Analyticsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Use Mcp Analyticsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Analyze MCP Servers

MCP Analytics groups each instrumented MCP server's sessions into episodes, meaning one task an agent tried to complete. It then clusters episodes into a tree of topics. All reads go through run_amp with the mcp-analytics commands. Every command needs project, and nothing here writes.

Before you start

  • Project: use the project the MCP Analytics SDK sends events to. Call get_amplitude_context when it isn't known, and ask the user rather than guessing.
  • Parameters: check them before the first call of each command, for example {"command": ["help", "mcp-analytics", "episodes", "list"]}.

Drill down

  1. Servers: ["mcp-analytics", "servers", "list"] returns each server's id and name. An empty data array means the project has no instrumented servers; say so and stop.
  2. Topic tree: ["mcp-analytics", "taxonomy", "get"] with server.
    • Leave out parent to get every node. Use parent: "root" for the top level, or a topic id for its direct children.
    • Each topic has episode_count, share, hard_error_rate, thrashing_rate and mean_calls. Rates are null when there isn't enough data.
    • Null run_id and empty nodes mean no taxonomy is pinned for the server yet. Topic and episode commands won't return anything useful, so tell the user and fall back to the raw events below.
  3. One topic: ["mcp-analytics", "topics", "get"] with server and topic returns the topic's stats and up to eight example episodes. This is a sample, not a page.
  4. Episodes: ["mcp-analytics", "episodes", "list"] with server and topic.
    • Filters: has-error: "true", is-thrash: "true", client-name, auth-type, lane, and started-after / started-before as RFC 3339 timestamps. Client, auth type and lane must match a stored value exactly, so copy them from earlier results.
    • Pages hold 25 episodes by default, up to 100 with limit. Pass pagination.next_cursor as cursor and keep the same filters.
  5. One episode: ["mcp-analytics", "episodes", "get"] with episode adds the auth_type and the topic breadcrumb from the root.
  6. Tool calls: ["mcp-analytics", "calls", "list"] with episode returns every call in order. Each call has tool_name, is_error, error_type, error_message, error_code, error_http_status, duration_ms, the agent's rationale, and the recorded properties.

What to look for

  • Priorities: topics with a high share and a high hard_error_rate or thrashing_rate come first. A low-share topic with a high error rate is a gap worth noting, not the headline.
  • Thrash: is_thrash marks episodes classified as thrashing. Read the call sequence and each call's rationale to see what the agent was trying to do and where it stopped making progress.
  • Root cause: look for the first failing call in an episode, not the last. Group failures by tool_name plus error_type or error_code.
  • Segments: compare client-name and auth-type on the same topic to tell a server bug from a client-specific problem.
  • Privacy: call properties and rationale may contain user input. Quote only what supports a finding, and never repeat tokens, emails or other personal data.

Trends and counts

The commands above are for drilling down. For volumes and trends over time, chart the raw SDK events with the chart query tools in the same project.

  • Events: [MCP] Tool Call Response (one per tool call), [MCP] Tool Call Rejected, [MCP] Tools Listed, [MCP] Session Initialized, [MCP] Session Ended, [MCP] Feedback Submitted.
  • Common properties: [MCP] Server Name, [MCP] Tool Name, [MCP] Is Error, [MCP] Error Type, [MCP] Response Duration, [MCP] Client Name, [MCP] Auth Type. Servers that capture parameters also send [MCP] Param: <name>.
  • Confirm the names with get_events and get_properties before you filter on them, because a server may not send every event.

Report

Lead with the two or three topics that most need work, each with its share, error or thrash rate, and the main failing tool and error. Then add one or two example episodes with the call sequence that shows the problem. End with the next fix to try.

よくある質問

AIスキル「Use Mcp Analytics」では何ができますか?

Analyzes MCP servers instrumented with Amplitude MCP Analytics through `run_amp`, from usage topics down to individual episodes and their tool calls. Use when the user asks how their MCP server is used, which tools or topics fail or thrash, why an MCP session went wrong, or which MCP clients and auth types hit errors.

TypingMindでUse Mcp Analyticsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Use Mcp Analyticsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにUse Mcp Analyticsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/use-mcp-analyticsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Use Mcp Analyticsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Use Mcp Analyticsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもUse Mcp Analyticsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Use Mcp Analytics」は無料ですか?

はい。amplitudeがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇