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

@tsrx/mcp

v0.0.14

Published

MCP server for TSRX documentation and project context

Readme

@tsrx/mcp

MCP server for TSRX language documentation and project context.

Usage

Run the server over stdio:

npx -y @tsrx/mcp

Generic MCP client config:

{
  "mcpServers": {
    "tsrx": {
      "command": "npx",
      "args": ["-y", "@tsrx/mcp"]
    }
  }
}

Hosted HTTP

Remote MCP clients need a hosted Streamable HTTP endpoint rather than a local stdio command. This monorepo includes a deployment-neutral endpoint app in website-mcp that serves the same MCP server at /mcp.

The hosted endpoint runs in remote-safe mode. It exposes documentation, prompts, format-tsrx, compile-tsrx, analyze-tsrx, and source-level authoring review tools, but omits local filesystem tools such as inspect-project, detect-target, and validate-tsrx-file.

Set TSRX_MCP_BEARER_TOKEN in the endpoint environment to require bearer-token auth. Set TSRX_MCP_CORS_ORIGIN to restrict CORS for browser-based clients.

For local development in this monorepo, point at the source entrypoint:

{
  "mcpServers": {
    "tsrx": {
      "command": "node",
      "args": ["/absolute/path/to/ripple/packages/tsrx-mcp/src/stdio.js"]
    }
  }
}

Claude Desktop

Add the generic config above to claude_desktop_config.json.

Claude Code

claude mcp add tsrx -- npx -y @tsrx/mcp

For local development:

claude mcp add tsrx-local -- node /absolute/path/to/ripple/packages/tsrx-mcp/src/stdio.js

Cursor

Add the generic config above to your Cursor MCP settings.

Codex

Add the generic config above to your Codex MCP configuration.

Tools

  • list-sections - list target-neutral TSRX documentation sections.
  • get-documentation - fetch one or more TSRX documentation sections.
  • detect-target - infer the active TSRX runtime target from project files.
  • inspect-project - inspect target signals, TSRX packages, tooling, scripts, and likely project commands.
  • compile-tsrx - compile TSRX code with the inferred or explicit target compiler and return diagnostics.
  • format-tsrx - format TSRX code using the official Prettier plugin.
  • analyze-tsrx - compile TSRX code and convert common diagnostics into target-neutral authoring advice with linked docs resources.
  • review-tsrx-accessibility - review TSRX source for common accessibility issues before browser-based Axe validation, including missing button names, unlabeled form controls, and visible text written in a non-rendering shape.
  • review-tsrx-styles - review component-scoped style usage for malformed style blocks, broad selectors, root styling, and contrast risks.
  • review-tsrx-components - review component structure and suggest extraction points when control flow, repeated templates, or styles become dense.
  • validate-tsrx-file - read a .tsrx file and run formatting, compilation, and diagnostic advice in one read-only pass.

Agent Workflows

For an existing project, start with inspect-project to identify the TSRX target, installed tooling, and likely validation commands. Use detect-target when only the runtime target is needed.

For generated code, run format-tsrx first, then compile-tsrx with the inferred or explicit target. If compilation fails, run analyze-tsrx, apply the advice, format again, and compile again.

For user-facing generated UI, run review-tsrx-accessibility, review-tsrx-styles, and review-tsrx-components before finalizing. These tools do not replace browser validation, but they catch common source-level mistakes before the more expensive build, serve, Axe, and visual review loop.

For an existing .tsrx file, prefer validate-tsrx-file. It reads the file and runs formatting, compilation, and diagnostic advice in one read-only pass.

Resources

  • tsrx://docs/{slug}.md - target-neutral TSRX documentation sections.
  • tsrx://targets/{target}.md - handoff guidance for target-specific layers.

Prompts

  • tsrx-task - target-aware workflow for TSRX coding tasks.

The core server stays target-neutral. Runtime-specific imports, bundler setup, and framework semantics should live in target-specific skills, prompts, or resources layered on top.