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

MCP Analytics

MCP server by amplitude Verified · npm:@amplitude

Amplitude MCP Analytics is an SDK that tracks usage of Model Context Protocol servers in Amplitude Analytics. It is for developers who build MCP servers and want to measure tool calls and sessions.

  • Score 82
  • 12 stars
  • 8.3k a week
  • Updated

Install MCP Analytics

Built from the published package, never by AI.

claude mcp add mcp-analytics -- npx -y @amplitude/mcp-analytics

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP Analytics in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-analytics block.

About

MCP Analytics is an SDK from Amplitude for tracking how Model Context Protocol servers are used. A developer binds the SDK to an MCP server with instrumentServer(), then wraps tool handlers with instrumentTool(). The wrapper keeps the handler's shape, so existing code does not change. The SDK then sends events such as session initialization, tool listing, tool call responses, and rejected tool calls to Amplitude.

The SDK reads client-supplied conversation, run, and turn IDs from request metadata and can resolve user identity through options you configure. It reports properties prefixed with [MCP] so they do not collide with other Amplitude SDK events. The package is aimed at MCP server developers who want usage analytics in Amplitude. The source describes it as being in preview.

Written from the project's README and checked against it.

Tools it gives your assistant

  • instrumentServerBinds the SDK to an MCP server and emits the default connection events. Call it before server.connect().
  • instrumentToolWraps a tool handler and emits a [MCP] Tool Call Response event with timing, error, and size details.
  • setIdentitySets the user ID for the current request from inside a tool handler.
  • submit_feedbackAn opt-in tool that records feedback as a [MCP] Feedback Submitted event.

What you need

  • Amplitude API key, or an existing Amplitude client
  • @amplitude/analytics-node
  • @modelcontextprotocol/sdk 1.14.0 or later
  • zod 3.25.0+ or 4.0.0+

Try asking

  • Instrument my MCP server with Amplitude analytics
  • Track each tool call on my MCP server in Amplitude
  • Add user identity to the events my MCP server sends

Good to know

  • The source describes the package as in preview.
  • If the server is not bound with instrumentServer, instrumentTool does nothing and logs a one-time warning.
  • Events with no identity, anchor, or tenant are dropped by default.
  • Protocol revision 2026-07-28 requires the v2 MCP SDK packages, not @modelcontextprotocol/sdk 1.x.

Security check

A

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

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to MCP Analytics

All alternatives →
World Monitor koala73
98

World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.

ACA Remote 91k
Power BI Authoring MCP Server (Local) microsoft
95

Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.

AAA Local 9.7k/wk
Seal Open Data ariacom
95

Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.

AAA Remote 1.7k
OpenMetadataopen-metadata
94

OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.

AAA Remote 16k
Flint Chart MCP microsoft
94

Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.

AAA Local 4.6k
PostHog PostHog
94

Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.

AFA Remote 41k

Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data

MCP Analytics: common questions

Does Amplitude MCP Analytics change how my tools behave?

No. instrumentTool returns a function with the same shape as your handler, and if the server is not bound, the wrapper passes calls through unchanged.

Which MCP SDK versions does it support?

The source says any @modelcontextprotocol/sdk from 1.14.0 up is supported, including 1.21.0 and later. Protocol revision 2026-07-28 needs the v2 SDK packages.

How does the SDK set the user ID?

You provide it through instrumentServer options, setIdentity(), or a resolveIdentity callback. The source says the SDK never guesses the user ID from auth.

How do I install MCP Analytics?

In Claude Code run claude mcp add mcp-analytics -- npx -y @amplitude/mcp-analytics. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP Analytics the official server?

MCP Analytics is published by npm:@amplitude from its verified domain in the official MCP Registry.

Is MCP Analytics free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is MCP Analytics safe to use?

It scores 82 of 100. Grades: maintenance A, licence F, quality C. 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 MCP Analytics?

Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.

Does MCP Analytics work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

MCP Analytics Install

Add to stack

Loading.