npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@originchain/telemetry-mcp

v0.1.0

Published

Model Context Protocol (MCP) server for OriginChain telemetry — log patterns, semantic incident analysis, trace lookup and service graphs, for Claude Desktop, Cursor, and any MCP-aware AI IDE.

Readme

@originchain/telemetry-mcp

An MCP server that gives an AI agent OriginChain's telemetry tools: log patterns, semantic incident analysis, distributed traces and service graphs.

Works with Claude Desktop, Cursor, Continue, Cline, Zed AI, and anything else that speaks the Model Context Protocol.

Which package do I want?

There are two, and they do different jobs.

| Package | Talks to | Tools | |---|---|---| | @originchain/mcp-server | your database | ask, SQL, vector search, full-text, schemas | | @originchain/telemetry-mcp (this one) | the telemetry agent | log volume, patterns, incidents, traces, service graph |

They do not conflict. Configure both if you want both.

Install

npm install -g @originchain/telemetry-mcp

Or let your MCP host fetch it on demand with npx, as below.

Configure

The telemetry agent normally runs inside a private network, so you reach it through a port-forward. Point this at wherever that forward listens.

Claude Desktop, in claude_desktop_config.json:

{
  "mcpServers": {
    "originchain-telemetry": {
      "command": "npx",
      "args": ["-y", "@originchain/telemetry-mcp"],
      "env": {
        "OC_TELEMETRY_AGENT": "http://127.0.0.1:8892"
      }
    }
  }
}

Cursor, in .cursor/mcp.json, uses the same shape.

| Variable | Default | Meaning | |---|---|---| | OC_TELEMETRY_AGENT | http://127.0.0.1:8892 | Base URL of the telemetry agent | | OC_TELEMETRY_TIMEOUT | 120000 | Per-call timeout in milliseconds |

Tools

| Tool | Use it for | |---|---| | log_volume | Total volume and distinct pattern count | | top_patterns | Highest-volume log patterns | | similar_patterns | Meaning-based search, finds related patterns sharing no keywords | | recent_events | The actual recent log lines, with real values rather than templates | | recent_errors | Top error patterns in a window, with the window's total volume | | incident_analysis | One call fusing semantic cluster, latest occurrence, trace chain, service graph and rate anomaly | | service_graph | Who calls whom, with call counts | | fts_search | Keyword search over log template text | | trace_lookup | Every span of one distributed trace | | sql_query | One read-only SELECT for a specific filtered lookup |

Two notes worth knowing, because they change the answers you get.

Do not filter on severity for a loose "any errors?" question. Services here log recoverable failures at WARN, so filtering on ERROR finds nothing and reads as "no errors". Filter by service or by substring instead.

Prefer recent_events over a sorted sql_query when you want actual log lines. Ordering over the occurrences table times out.

If a tool fails

The most common failure is that the agent is not reachable, because the port-forward is not running. The server says so explicitly rather than returning a bare connection error, so the message in your agent's transcript should tell you what to fix.

How it works

This process is deliberately thin. It advertises the tool surface over stdio and forwards each call to the agent's /tool endpoint. The tools themselves run next to the data: semantic search embeds the query server-side, and incident analysis fuses five separate lookups into one call. Keeping that logic on the server means this package does not have to track the rollup schema, and it means your own host model does the orchestration rather than a model hard-coded here.

Licence

MIT. Copyright Silicoyn Technologies Pvt Ltd.