What does the middleware actually do?
It overrides tool and resource function implementations to record usage in an SQLite database.
@Phillip-Kemper
基本信息
A lightweight TypeScript middleware for MCP SDK servers that delivers analytics. Captures request metrics, performance data, and usage patterns with minimal overhead. Features real-time monitoring, configurable data collection, and detailed reporting - all with full type safety.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-analytics-middleware": {
"command": "npx",
"args": [
"-p",
"mcp-analytics-middleware",
"web-viewer",
"--db-path",
"analytics.db"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
MCP Analytics Middleware is a simple way to track and visualize how your MCP server is being used. It records tool calls and resource requests, tracks performance metrics and error rates, and provides a web dashboard for live analytics. It is for developers who want to understand which tools are most popular, catch errors early, and monitor server performance.
Install via yarn add mcp-analytics-middleware, then import McpAnalytics and wrap your McpServer instance with analytics.enhance(server). You can launch the live web dashboard with npx -p mcp-analytics-middleware web-viewer --db-path analytics.db, or use the MCP Inspector flag --analytics --db-path analytics.db.
It overrides tool and resource function implementations to record usage in an SQLite database.
Run `npx -p mcp-analytics-middleware web-viewer --db-path analytics.db` and open http://localhost:8080.
Total tool calls and resource requests, error rates, performance metrics, most used tools, and slowest operations.

One key and one balance for 2,350 data APIs from 76 providers your AI agent can call: email finding, enrichment, SEO, scraping, social data. Pay per call, price shown before every run.
HasData's hosted Zillow MCP server lets AI agents search homes for sale, rentals and sold listings, then retrieve property details, price history and Zillow estimates as structured JSON.

Privacy-first, cookieless web analytics hosted in the EU. Query visitors, pages, traffic sources, countries, goals, funnels and live traffic for your sites, and create sites, goals and funnels — 25 tools over OAuth.

Bounce Watch tells you what just changed at a company, and when. Who raised money. Who hired a senior person. Who opened an office, won a customer, or announced a partnership. Every event carries its own date, so you ca
The real-time social data source for AI. Public posts, comments, profiles, search and trends from TikTok, Instagram, YouTube, Reddit, X, Xiaohongshu, Douyin, Weibo, Amazon reviews, Google Maps and more: 157 platforms in
评论