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

@web.worker/uniapp_ext_market_mcp

v1.0.4

Published

A Model Context Protocol (MCP) server for DCloud plugin market. Provides daily updates, plugin search, and detailed plugin information.

Downloads

38

Readme

插件市场mcp

编写 nodejs mcp 工具,方便用户获取插件市场内容。

功能拆解

每日更新

读取插件市场更新。

访问 view-source:https://ext.dcloud.net.cn/?page=2 ,冬天修改 page=x 为翻页数据。

返回内容是一个 ssr 项目, 每一页面信息有十个列表。可采用下面 js 获取

//  读取列表
var a = Array.from(document.querySelectorAll('#search-keyword-item ul li'))
// item 
var item = a[0]
// item.name
const name = a[0].querySelector('h2.extend-title.elip a').innerText
// item.href 
const href = a[0].querySelector('h2.extend-title.elip a').href
// item.desc
const desc = a[0].querySelector('span.extend-list-desc').innerText
// item.rate
const rate = a[0].querySelector('div.row.rating').title
// item.tags
const tags = a[0].querySelector('div.row.extend-list-tag').innerText
// item.category
const category = a[0].querySelector('div.row.extend-list-more .category').innerText
// item.updateTime
const updateTime =a[0].querySelector('div.row.extend-list-more div:nth-child(2) a').innerText
// item.userName
const userName = a[0].querySelector('div.row.extend-list-more .extend-list-user').innerText
// item.info
const info = Array.from(a[0].querySelectorAll('div.row.extend-list-header div+div')).map(i=>i.innerText).join()

上面是列表单条信息

注意 updatetime 这里,你需要编写一个迭代循环的逻辑,你从 更新日期:2025-12-08 中提取时间信息,和当前时间做比对,比如默认情况下,我希望获取的是本日更新和昨日更新数据。

通过自动翻页获取正确的日期,返回列表。

用户:今天插件市场有什么更新?昨天有什么更新?

功能2 插件筛选

https://ext.dcloud.net.cn/search?q=plus&orderBy=Relevance&wide_screen=1&dark_mode=1&language=1&harmony_next=1&uni-appx=1&uni-app-platforms=&uni-app-x-platforms=&wide_screen=1&dark_mode=1&language=1&harmony_next=1&uni-appx=1

这是查询参数,关键词 plus, 勾选了uni-app x 、 HarmonyNext 、 多语言、暗黑模式、宽屏 筛选参数。

常见情况一般是筛选 uni-app x 和 Harmony 两个参数。