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

@dhcckb/opencc-mcp

v1.0.0

Published

MCP Server for OpenCC-based Simplified/Traditional Chinese conversion

Readme

OpenCC MCP Server

基于 OpenCC 的简繁中文转换 MCP Server,通过 opencc-js 纯 JavaScript 实现,零原生依赖,跨平台运行。

功能

  • convert — 将输入文本按指定 OpenCC 配置进行简繁转换
  • listConfigs — 列出所有可用的转换配置及其含义

支持的转换配置

| 配置 | 说明 | | ------- | ------------------------------ | | s2t | 简体 → 繁体 (OpenCC 标准) | | t2s | 繁体 → 简体 (OpenCC 标准) | | s2tw | 简体 → 台湾繁体 | | tw2s | 台湾繁体 → 简体 | | s2hk | 简体 → 香港繁体 | | hk2s | 香港繁体 → 简体 |

安装与使用

npx 一键启动(推荐)

npx @dhcckb/opencc-mcp

全局安装

npm install -g @dhcckb/opencc-mcp
opencc-mcp

MCP Host 配置示例(Claude Desktop / Code)

{
  "mcpServers": {
    "opencc": {
      "command": "npx",
      "args": ["-y", "@dhcckb/opencc-mcp"]
    }
  }
}

工具说明

convert

将输入文本按指定 OpenCC 配置进行简繁转换。

参数:

  • text (string, required) — 待转换的原始文本
  • config (string, required) — OpenCC 转换配置名称,可选值:s2t, t2s, s2tw, tw2s, s2hk, hk2s

返回: 转换后的文本字符串。

listConfigs

列出所有可用的 OpenCC 转换配置及其含义。

参数:

返回: 可用配置列表及说明。

运行环境

  • Node.js ≥ 18
  • 依赖 opencc-js(纯 JS,零原生依赖)

许可证

Apache-2.0