Use Mcp Analytics logo

Use Mcp Analytics

Organization
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.

Overview

Publisheramplitude
Repositorymcp-marketplace
Skill nameuse-mcp-analytics
Stars
50
Forks
12
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by amplitude on GitHub. Read the source before you install it.

Installation

Install the Use Mcp Analytics AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/use-mcp-analytics
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Use Mcp Analytics in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Use Mcp Analytics on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Use Mcp Analytics is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Use Mcp Analytics AI skill do?

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.

Why use Use Mcp Analytics on TypingMind?

Because you install it once and use it with any model. Use Mcp Analytics is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Use Mcp Analytics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/use-mcp-analytics. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Use Mcp Analytics?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Use Mcp Analytics?

As many as you like. As long as a model supports skills, you can use Use Mcp Analytics with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Use Mcp Analytics AI skill free?

Yes. It is published on GitHub by amplitude under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇