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.6

Published

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

Readme

DCloud 插件市场 MCP 服务

一个面向 MCP(Model Context Protocol)的服务,用于检索 DCloud 插件市场的每日更新、插件搜索与详情获取。适用于接入支持 MCP 的助手/编辑器,或通过 MCP Inspector 交互调试。

作用

  • 获取“今天/昨天”的插件市场更新列表,便于追踪最新发布与更新
  • 根据关键词并带筛选条件搜索插件(HarmonyNext、uni-app x、暗黑模式、宽屏等)
  • 按插件 id 拉取详细信息并转换为 Markdown(基础信息 + 介绍文档)

对应工具定义见 packages/ext-plugin-mcp/src/index.ts:14packages/ext-plugin-mcp/src/index.ts:54packages/ext-plugin-mcp/src/index.ts:96

快速使用

  • 使用 MCP Inspector 调试:npx @modelcontextprotocol/inspector bun run ./src/index.ts
  • 开发模式本地运行:bun run ./src/index.ts
  • 构建并启动:
    • 构建:bun run build
    • 启动:bun run start

该服务通过标准输入/输出(stdio)与 MCP 客户端通信,通常由客户端作为子进程启动。

在 MCP 客户端中接入

  • 以通用方式配置为 MCP 服务器,命令为 nodebun,入口为 dist/index.js(发布包也提供可执行 uniapp-ext-market-mcp)。
  • 示例(伪代码):
"mcpServers": {
  "dcloud-ext-market": {
    "command": "npx",
    "args": ["-y", "@web.worker/uniapp-ext-market-mcp@latest"]
  }
}

具体配置方式以各 MCP 客户端文档为准。

可用工具

  • get_ext_plugin_daily_updates:查询每日更新(range: today | yesterday),返回为 Markdown 列表
  • search_ext_plugins:关键词搜索(query)+ 可选筛选(filters: harmonyNextuniAppXdarkModewideScreen
  • get_ext_plugin_detail:按 id 获取插件详情,返回 Markdown(基础信息与介绍)

脚本与构建

  • bun run dev:开发模式(直接运行 src/index.ts
  • bun run build:编译到 dist/(目标 node,最小化)
  • bun run start:运行已编译产物 dist/index.js
  • npx @modelcontextprotocol/inspector bun run ./src/index.ts:Inspector 调试

依赖与要求

  • 运行环境:Node.js(建议 18+)或 Bun(建议与 package.json 保持一致)
  • 网络访问:需要可访问 https://ext.dcloud.net.cn