📡 MCP Radar

kometolabs/mcp-analytics

Self-hosted, metadata-only usage analytics for MCP servers: one observe() call, one Grafana page

⭐ 3 stars
⑂ 0 forks
JavaScript
momentum ▲ 10.0
created 2026-11-30
on radar since 2026-12-04
analyticsgrafanamcpmodel-context-protocolopentelemetryotlppostgresqlprivacyself-hostedtelemetry
View on GitHub ↗

About mcp-analytics

MCP server analytics on PostgreSQL and Grafana you run: bring your own, or start both with one command. One line of code in your server, no third-party cloud, and no tool arguments, results, or raw identities ever leave your server.

The page in kiosk mode with the synthetic demo data.

That's it. Every tool call now records its tool, outcome, duration, client, and a locally hashed user. It works with the MCP TypeScript SDK v2 (@modelcontextprotocol/server) and v1 (@modelcontextprotocol/sdk), with stdio servers and with per-request HTTP servers.

- Users: with an identity secret and OAuth, the verified token subject is used automatically. Otherwise pass user: (ctx) = verifiedUserId to observe(); a plain ID is enough. - Never breaks your server: without MCPANALYTICSURL, or with an invalid value, analytics is off and one stderr line names the problem. Nothing throws. - See it working: npx @kometolabs/mcp-analytics doctor checks the configuration, the receiver, the write key, and the project without writing data. MCPANALYTICSDEBUG=1 prints one stderr line per recorded call.

Coding agents can do this for you: npx skills add kometolabs/mcp-analytics installs a skill that detects your SDK version, adds observe(), and runs doctor.

More: the SDK reference and examples for a v2 stdio server, a v1 stdio server, and a v2 HTTP server with per-request servers and OAuth users.

init writes a Compose file (PostgreSQL, a schema migration, the receiver, and Grafana with the page), and a private .env with fresh passwords and keys. It then prints the two lines your MCP server needs and the

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/kometolabs--mcp-analytics.html)

Related MCP servers

spcaeo/skald

Every visit, truly told. Self-hosted web analytics from your server access log: see people, AI assistants (ChatGPT, Claude, Perplexity), crawlers and bots that JavaScript analytics miss. Every figure

⭐ 16Python
SujalXplores/Agent-K

Code-enforced incident-response agent that investigates SigNoz alerts, publishes evidence-backed root-cause claims, and gates every action behind a safety policy. Built for Agents of SigNoz hackathon.

⭐ 3Python
cinderline/northcinder

Open-source MCP server for comparing products and asking the buyer before purchase.

⭐ 1205JavaScript
hsuanshao/AgentMemory

Self-hosted memory service for AI agents that work in teams, written in Rust: layered L0→L3 memory, async LLM distillation, hybrid BM25 + vector recall, and department/team/member isolation. SQLite or

⭐ 36Rust
synectus/OpenGMB

Open-source Google Business Profile manager: reviews, posts, profile edits and rank tracking for every location, with approval rules before anything goes live and an MCP server for AI agents. Self-hos

⭐ 9TypeScript
do-md/homekb

Local-first personal Markdown knowledge base with semantic search, AI Q&A, MCP, desktop/web clients, and a self-hostable zero-data-at-rest relay.

⭐ 6TypeScript

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.