1. Conduid
  2. AI
  3. Analytics Middleware
MCP server · AI

Analytics Middleware

Analytics middleware for Model Context Protocol servers

37Low

Scored 6 months ago · breakdown

About Analytics Middleware

Analytics Middleware is an MCP server in the AI category: analytics middleware for Model Context Protocol servers.

Install

Claude Code
claude mcp add analytics-middleware -- npx -y mcp-analytics-middleware
npx
npx -y mcp-analytics-middleware

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Analytics Middleware

Powered by Claude · Grounded in docs

I know everything about Analytics Middleware. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MCP Analytics Middleware

npm version npm downloads

A simple way to track and visualize how your MCP server is being used. See which tools are most popular, catch errors early, and understand your server's performance.

Features

  • 🔍 Track all tool calls and resource requests
  • 📊 See performance metrics and error rates
  • 🌐 Web dashboard for live analytics
  • 💾 SQLite database for persistent storage

Quick Start

  1. Install the package:
yarn add mcp-analytics-middleware
  1. Add it to your MCP server:
import { McpAnalytics } from 'mcp-analytics-middleware';

let server = new McpServer({ 
name: 'Sample MCP Server with Analytics',
version: '1.0.0'
});

const analytics = new McpAnalytics('analytics.db');

server = analytics.enhance(server); // override tool and resource function implementation to record usage in sqlite

Live Analytics

Want to see a dashboard for a Tyescript SDK MCP Server making use of this middleware? You can directly provide a live dashboard using

npx -p mcp-analytics-middleware web-viewer --db-path analytics.db

The web dashboard will open at http://localhost:8080 and show you live analytics!

You'll see:

  • Total tool calls and resource requests
  • Error rates and performance metrics
  • Most used tools and slowest operations

Example Implementations

Example implementatinos of the analytics middleware can be found.

  1. Dummy Caluclator Server Example src/server.ts
  2. Ethereum RPC MCP Server with Analytics server/index.ts_
  3. Forked Verision of the Google Maps MCP Server with additional Analytics Middleware src/google-maps/index.ts

Running with Inspector

If you're using the MCP Inspector, just add the analytics flag:

yarn inspector --analytics --db-path analytics.db

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Analytics Middleware

How do I install Analytics Middleware?

Run claude mcp add analytics-middleware -- npx -y mcp-analytics-middleware, then add the server to your MCP client's configuration.

Is Analytics Middleware safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Analytics Middleware still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.