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

@focus-mcp/brick-lastversion

v1.2.2

Published

Package version intelligence — latest version, diff, changelog, audit across npm/pypi/github/gitlab.

Downloads

2,958

Readme

@focus-mcp/brick-lastversion

Package version intelligence — latest version, diff, changelog, audit across npm/pypi/github/gitlab.

Inspired by dvershinin/lastversion.

Tools

| Tool | Exposed as | Description | |------|-----------|-------------| | latest | lv_latest | Get the latest version of a package with metadata | | versions | lv_versions | List all versions, optionally filtered by semver range | | diff | lv_diff | Compare two versions: bump type, days between, breaking hints | | changelog | lv_changelog | Fetch release notes between two versions (GitHub Releases) | | check | lv_check | Check if an installed version is outdated | | audit | lv_audit | Fetch security advisories via OSV.dev |

Sources supported

| Source | latest | versions | diff | check | audit | |--------|----------|-----------|-------|---------|--------| | npm | Yes | Yes | Yes | Yes | Yes | | pypi | Yes | Yes | Yes | Yes | Yes | | github | Yes | Yes | Yes | Yes | - | | gitlab | Yes | Yes | Yes | Yes | - | | cargo | - | - | - | - | Yes | | gomod | - | - | - | - | Yes | | rubygems | - | - | - | - | Yes |

Examples

Get latest version of a package

{
  "tool": "lv_latest",
  "source": "npm",
  "target": "express"
}

Response:

{
  "version": "4.18.2",
  "publishedAt": "2023-02-05T00:00:00.000Z",
  "url": "https://www.npmjs.com/package/express/v/4.18.2"
}

List versions in a semver range

{
  "tool": "lv_versions",
  "source": "npm",
  "target": "react",
  "range": ">=18.0.0",
  "limit": 10
}

Diff two versions

{
  "tool": "lv_diff",
  "source": "npm",
  "target": "lodash",
  "from": "4.0.0",
  "to": "4.17.21"
}

Response:

{
  "from": "4.0.0",
  "to": "4.17.21",
  "bumpType": "minor",
  "daysBetween": 2200,
  "breakingChange": false
}

Fetch changelog between releases

{
  "tool": "lv_changelog",
  "repo": "expressjs/express",
  "from": "4.17.0",
  "to": "4.18.2",
  "limit": 10
}

Check if installed version is outdated

{
  "tool": "lv_check",
  "source": "npm",
  "target": "typescript",
  "current": "4.9.0"
}

Response:

{
  "current": "4.9.0",
  "latest": "5.3.3",
  "stale": true,
  "bumpType": "major",
  "daysBehind": 450,
  "hasAdvisories": false,
  "advisoryCount": 0
}

Audit a package for vulnerabilities

{
  "tool": "lv_audit",
  "source": "npm",
  "target": "lodash",
  "version": "4.17.20"
}

Response:

{
  "advisories": [
    {
      "id": "GHSA-35jh-r3h4-6jhm",
      "severity": "HIGH",
      "summary": "Prototype Pollution in lodash",
      "fixedIn": "4.17.21",
      "url": "https://github.com/advisories/GHSA-35jh-r3h4-6jhm"
    }
  ],
  "count": 1
}

Environment variables

| Variable | Description | |----------|-------------| | GITHUB_TOKEN | Optional. Increases GitHub API rate limit from 60 to 5000 req/hour. |

Caching

All HTTP responses are cached in-memory for 5 minutes to avoid hammering APIs on repeated calls.