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

trinity-docs-mcp

v0.1.0

Published

Ask Trinity anything — standalone MCP server exposing the Trinity docs Q&A assistant (Vertex AI Search + Gemini, grounded on the Trinity documentation). No Trinity instance or API key required.

Readme

Trinity Docs MCP (trinity-docs-mcp)

Ask Trinity anything, from any MCP client. A standalone Model Context Protocol server that exposes the Trinity documentation Q&A assistant (Vertex AI Search + Gemini, grounded on Trinity's docs) as MCP tools.

No Trinity instance, no API key, no credentials — it talks to the same public endpoint that powers Trinity's docs-site assistant and in-app Help widget. Answers are AI-generated from Trinity's public documentation and may be inaccurate; treat them as guidance.

Install

Claude Code

claude mcp add trinity-docs -- npx -y trinity-docs-mcp

Claude Desktop / Cursor / any MCP client

{
  "mcpServers": {
    "trinity-docs": {
      "command": "npx",
      "args": ["-y", "trinity-docs-mcp"]
    }
  }
}

Requires Node.js ≥ 18 (npx ships with it).

Tools

| Tool | Description | |------|-------------| | ask_trinity | Ask a question about Trinity; returns a grounded answer. Pass the returned session_id back for multi-turn follow-ups (sessions expire after ~30 min of inactivity — an expired session silently starts fresh, and the response says so). | | get_agent_requirements | The complete Trinity Compatible Agent Guide (required files, template.yaml schema, credential management), fetched live from the Trinity repository. |

Configuration

| Env var | Default | Purpose | |---------|---------|---------| | ASK_TRINITY_ENDPOINT | the public Trinity docs Q&A endpoint | Point at a self-hosted mirror of the answer API. Logged to stderr when set. |

Troubleshooting

  • "server disconnected" immediately — check Node version: node --version must be ≥ 18. The launcher prints a clear message to the client's MCP logs.
  • Stale version after an updatenpx caches packages; clear with npx clear-npx-cache or pin a version: npx -y trinity-docs-mcp@latest.
  • Slow first call — the answer API generates responses with an LLM; expect seconds. The server waits up to 50s before reporting a timeout.

Development

This package lives in the Trinity monorepo at src/helper-mcp/ (decision recorded in issue #1459: in-repo for CI/review co-location; npm distribution makes the repo location invisible to users). It is deliberately not the Trinity MCP server — that one orchestrates a Trinity instance's agent fleet and requires a Trinity API key; this one answers questions about Trinity for anyone.

npm ci          # install
npm run build   # tsc → dist/
npm test        # unit tests (mocked fetch, node --test)
npm run smoke   # pack-and-run stdio smoke test against a local mock endpoint

Runtime dependencies are intentionally minimal (@modelcontextprotocol/sdk + zod). Keep it that way — every transitive dependency is supply-chain surface for a public npx package. The package is permanently credential-free by design.

Released via .github/workflows/publish-helper-mcp.yml (npm provenance; tag helper-mcp-vX.Y.Z or auto-patch on main pushes touching this directory).