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

strapi-plugin-components-usage-info

v0.0.6

Published

Find out the collections where a selected component is populated with data.

Downloads

446

Readme

Strapi plugin strapi-plugin-components-usage-info

A Strapi plugin to find out where in your Strapi setup a certain component is being used, this plugin can find this out for you.

Installation

via npm:

npm i strapi-plugin-components-usage-info

via yarn:

yarn add strapi-plugin-components-usage-info

Plugin Configuration

Within your Strapi v5 project's config/plugin.js, enable the plugin:

module.exports = {
    // ...
    "strapi-plugin-components-usage-info" : {
      enabled: true,
      config: {
        // Optional. When set here, it is read-only in the plugin's Configure screen.
        frontendBaseUrl: "http://localhost:3000/blog"
      }
    },
    // ...
  }

Configuration to Enable Frontend URLs

The Configure button in the plugin lets administrators define a base frontend URL, a default slug field, locale path segments, and optional collection-specific prefixes or slug fields. Settings entered in this screen are stored by Strapi and persist across restarts. A frontendBaseUrl set in config/plugins.js or config/plugins.ts takes precedence over the stored base URL.

Once this screen is configured with the base url, locale specific base slug, site-wide Strapi field to use to get page-specific slugs, the plugin's home screen enlists the URLs instead of the record title.

Note: The frontend urls are not listed until the base URL and default slug field are configured.

MCP Server

This plugin's capabilities can now be used via the Strapi MCP server.

Steps to enable this plugin capabilities via Strapi MCP server

  1. Ensure you are using Strapi v5.47.0 or later (this is when Strapi introduced MCP server).
  2. Enable MCP server for your Strapi setup via following in your config/server.ts file:
  mcp: {
    enabled: true,
  }
  1. On your Strapi Admin -> Settings -> Admin Tokens screen, click "Create new Admin Token". For this Admin Token, go to "Plugins" -> "Strapi plugin components usage info" -> enable access for "Find entries using a component".
  2. Use the just created Admin Token on Claude Code, Cursor, Codex or any other AI IDE you are using.

Example Use Cases:

Following examples detail the kind of problems this plugin capabilities via MCP server can solve:

  1. To know on what URLs a certain frontend component is served (via Strapi Dynamic Zone).
  1. To know which components in the Strapi setup aren't used by any records
  1. To know if a certain component fields can safely be modified in Strapi without affecting existing data

FAQ

When identifying if a component is populated within a certain record:

  • If the selected component is directly not part of a collection, but instead part of another component that belongs to the collection, such relationships (upto any depth level) are taken into consideration.
  • Locales are also taken into consideration and displayed.
  • This plugin works with Strapi v5.6.0 and higher. It does not support earlier Strapi versions.

Bugs

For any bugs, please create an issue here.

About

  • This plugin is created by Punit Sethi.
  • I'm an independent developer working on Strapi migrations, customizations, configuration projects (see here).
  • For any Strapi implementation requirement, please write to me at [email protected].