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

strictly-mcp

v0.1.1

Published

MCP server for Strictly (Android StrictMode UI). Proxies the on-device debug HTTP server into MCP tools so AI agents can read live violations.

Downloads

150

Readme

strictly-mcp

MCP server for Strictly, the debug-only Android StrictMode UI library. Proxies Strictly's on-device HTTP debug server into MCP tools so AI coding agents can read live StrictMode violations from a running Android app.

What it does

Strictly records every StrictMode violation your app trips. Violations are deduplicated by stack-fingerprint plus grouped into sessions. The Android library exposes that data over an opt-in loopback HTTP server. This MCP wraps that HTTP server in three tools:

| Tool | Returns | |---|---| | strictly_health | Library version, current session id, schema id | | strictly_list_sessions | Index of every persisted session, most recent first | | strictly_get_session | Full session JSON (or Markdown) for a given id |

Point your AI agent at it and you can ask things like "what disk reads is my app doing on the main thread right now," "diff the violations between this session and the last one," or "show me the stack for that untagged socket."

Install

Claude Code (CLI)

claude mcp add strictly -e STRICTLY_URL=http://127.0.0.1:8765 -- npx -y strictly-mcp

Any MCP-aware client (Cursor / Continue / others)

Add to your MCP config (typically ~/.mcp.json or the client's MCP settings):

{
  "mcpServers": {
    "strictly": {
      "command": "npx",
      "args": ["-y", "strictly-mcp"],
      "env": {
        "STRICTLY_URL": "http://127.0.0.1:8765"
      }
    }
  }
}

One-time host setup

The Android library binds 127.0.0.1 on the device, so you need an adb bridge from the host to the device:

adb forward tcp:8765 tcp:8765

Works the same for USB-attached physical devices plus emulators. Run it once per adb daemon session.

In the app, open Strictly via the home-screen shortcut, tap the gear icon. Toggle "Debug HTTP server" on.

Configuration

| Env var | Default | Purpose | |---|---|---| | STRICTLY_URL | http://127.0.0.1:8765 | Where the MCP looks for the on-device server | | STRICTLY_SECRET | (unset) | Sent as X-Strictly-Secret header. Set only if you configured a secret in StrictlyConfig.httpDebugSecret |

Troubleshooting

The MCP returns structured error envelopes with a code field, so the agent gets a typed reason instead of a stack trace.

| Code | Means | |---|---| | STRICTLY_HTTP_UNREACHABLE | The MCP couldn't reach STRICTLY_URL. Run adb forward tcp:8765 tcp:8765. Check adb devices. Confirm the toggle is on in Strictly settings | | STRICTLY_HTTP_AUTH_REJECTED | The HTTP server requires a secret. Set STRICTLY_SECRET to the value in your StrictlyConfig.httpDebugSecret | | STRICTLY_SESSION_NOT_FOUND | The requested session id doesn't exist on disk. May have been evicted by maxStoredSessions | | STRICTLY_ROUTE_NOT_FOUND | Library/MCP version mismatch. Update both ends to the same minor version |

Compatibility

| MCP version | Strictly schema | |---|---| | 0.1.x | strictly/session.v1 plus strictly/sessions-index.v1 |

The /v1/health endpoint surfaces the live schema. The MCP's strictly_health tool returns it directly so the agent can sanity-check before drilling in.

License

Apache 2.0. See LICENSE.