Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

exploring-mcp-tool-usage

Skill by PostHog

Starting point for exploring how a PostHog MCP server's tools are used. It routes a broad question to the typed tool or focused skill that answers it, for users who have not picked a specific question.

  • Score 84
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install exploring-mcp-tool-usage

Built from the published package, never by AI.

git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/mcp_analytics/skills/exploring-mcp-tool-usage ~/.claude/skills/exploring-mcp-tool-usage

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install exploring-mcp-tool-usage in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is the front door for exploring how a PostHog MCP server's tools are used. It is for users who want to look at MCP tool usage but have not chosen a specific question. It offers a menu of common questions and routes each one to a typed query tool or to a focused skill. Any MCP server instrumented with the @posthog/mcp SDK emits a $mcp_tool_call event each time an agent invokes a tool.

The skill points to tools such as posthog:query-mcp-tool-stats, posthog:query-mcp-tool-failures and posthog:query-mcp-harness-breakdown. These tools run the same query runner as the tool-detail UI, so results match the UI and no HogQL has to be written by hand. For failure-rate questions, the skill first checks for a governed metric. It also covers related skills for tool quality, single sessions and intent clusters.

Written from the project's SKILL.md and checked against it.

What it can do

  • posthog:query-mcp-tool-statsShows one tool's headline numbers: calls, errors, p50/p95, users, sessions and intents.
  • posthog:query-mcp-tool-daily-statsGives a day-by-day trend for one tool.
  • posthog:query-mcp-tool-failuresLists top error messages for one tool, by harness, using the raw tool name.
  • posthog:query-mcp-tool-top-usersLists the top callers of one tool, including person email and name.
  • posthog:query-mcp-tool-neighborsShows which tools are called before or after a given tool.
  • posthog:query-mcp-tool-sample-intentsShows recent agent intents for one tool.
  • posthog:query-mcp-harness-breakdownShows calls, errors and sessions per client harness.
  • posthog:mcp-analytics-sessions-listLists sessions with one row per session, including client and person.
  • posthog:metric-listChecks for a governed metric such as mcp_tool_call_fail_pct before answering failure-rate questions.
  • posthog:execute-sqlRuns custom queries on $mcp_tool_call when no typed tool covers the question.

What you need

  • A PostHog MCP server instrumented with the @posthog/mcp SDK

Try asking

  • How is my MCP doing over the last 7 days?
  • Which of my MCP tools fail most or are slowest?
  • Who uses my MCP tools the most?

Good to know

  • Cross-tool rankings and errored-session filtering are not covered by typed tools and need posthog:execute-sql.
  • The session list has no error filter or error count.
  • Per-tool tools take the effective tool name, except posthog:query-mcp-tool-failures, which takes the raw registered name.
  • If no governed metric matches a failure rate, the derived rate is labelled noncanonical.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: products/mcp_analytics/skills/exploring-mcp-tool-usage/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to exploring-mcp-tool-usage

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

exploring-mcp-tool-usage: common questions

What event does this skill analyze?

It analyzes the $mcp_tool_call event, which an MCP server instrumented with the @posthog/mcp SDK emits each time an agent invokes a tool.

Does it write HogQL for me?

Per-tool tools run the same query runner as the tool-detail UI, so you do not hand-write HogQL for those questions. Custom breakdowns use posthog:execute-sql.

How does it handle failure-rate questions?

It first calls posthog:metric-list to look for mcp_tool_call_fail_pct and runs an approved match for the canonical headline.

How do I install exploring-mcp-tool-usage?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is exploring-mcp-tool-usage free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is exploring-mcp-tool-usage safe to use?

It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to exploring-mcp-tool-usage?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

exploring-mcp-tool-usage Install

Add to stack

Loading.