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

@gloryfham/glory-product-query-mcp

v1.0.0

Published

Glory 保险产品查询 MCP Server (STDIO)

Downloads

85

Readme

glory-kit

Glory 工具集 -- 保险产品查询 MCP Server,适用于 Claude Desktop、Claude Code、Qoder、Kiro、OpenCode。

GitHub: https://github.com/gloryfham/glory-kit

目录结构

glory-kit/
├── src/
│   ├── index.ts               # MCP STDIO Server 源码
│   └── cli.ts                 # CLI 入口(config / setup / serve)
├── dist/                      # 编译产物(npm install 时自动生成)
├── skills/                    # Claude Code Skills
│   └── glory-product-query/
│       └── SKILL.md
├── package.json
├── tsconfig.json
└── README.md

快速开始

三步完成安装与配置:

第一步:安装

npm install @gloryfham/glory-product-query-mcp

安装时会自动编译 TypeScript 源码,无需手动 build。

第二步:初始化配置

npx glory-product-query-mcp config init --baseUrl <API地址>

--baseUrl 为必填项,请向管理员获取 API 地址。

配置文件保存在 ~/.glory/config.json

如需后续修改 baseUrl:

npx glory-product-query-mcp config set baseUrl <url>

第三步:配置 MCP 客户端

根据你使用的客户端执行对应命令:

Claude Desktop:

npx glory-product-query-mcp setup claude-desktop

自动写入 Claude Desktop 配置文件(需重启 Claude Desktop 生效)。

Claude Code:

npx glory-product-query-mcp setup claude-code

在当前目录生成 .mcp.json(需重启 Claude Code 会话生效)。

Qoder:

npx glory-product-query-mcp setup qoder

在当前目录生成 .mcp.json(需重启 Qoder 会话生效)。

Kiro:

npx glory-product-query-mcp setup kiro

在当前目录生成 .kiro/settings/mcp.json(需重启 Kiro 生效)。

OpenCode:

npx glory-product-query-mcp setup opencode

写入全局配置 ~/.config/opencode/opencode.json(需重启 OpenCode 生效)。

CLI 命令

glory-product-query-mcp config              # 查看当前配置
glory-product-query-mcp config init --baseUrl <url>  # 初始化配置(必填 baseUrl)
glory-product-query-mcp config set baseUrl <url>     # 修改 baseUrl
glory-product-query-mcp setup claude-desktop  # 配置 Claude Desktop
glory-product-query-mcp setup claude-code     # 配置 Claude Code(当前目录 .mcp.json)
glory-product-query-mcp setup qoder           # 配置 Qoder(当前目录 .mcp.json)
glory-product-query-mcp setup kiro            # 配置 Kiro(当前目录 .kiro/settings/mcp.json)
glory-product-query-mcp setup opencode        # 配置 OpenCode(~/.config/opencode/opencode.json)
glory-product-query-mcp serve                 # 启动 MCP Server (STDIO)

安装 Skill(可选)

Skill 可让 AI 自动识别产品查询意图并触发 MCP 工具。

Qoder:

npx qoder skills add gloryfham/glory-kit

Claude Code:

mkdir -p .claude/skills
cp -r node_modules/@gloryfham/glory-product-query-mcp/skills/glory-product-query .claude/skills/

Claude Desktop:

Claude Desktop 无需额外安装 Skill,完成第三步 setup claude-desktop 后 MCP 工具即可直接使用。在对话中直接描述需求即可触发。

安装后即可通过对话触发:

  • "查询产品列表"
  • "有什么在售产品"
  • "搜索医疗相关产品"

MCP 工具

queryWecomPlanList

查询企微渠道保险产品销售计划列表。

| 参数 | 类型 | 默认值 | 说明 | |------|------|--------|------| | currentPage | number | 1 | 查询页码 | | pageSize | number | 1000 | 每页数量 | | statusCodes | string[] | ["2"] | 状态码,"2"=已上架 | | channelCodes | string[] | ["WECOM_GLORY"] | 渠道码 | | keyword | string | - | 关键词搜索 |