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

arkts-docs-mcp

v1.0.0

Published

MCP server for HarmonyOS ArkTS documentation search

Readme

arkts-docs-mcp

English | 中文


English

MCP server for HarmonyOS ArkTS documentation search. Uses Augment's context engine for semantic search.

Installation

npm install -g arkts-docs-mcp

Or use directly with npx:

npx arkts-docs-mcp --base-url <URL> --token <TOKEN>

Configuration

MCP Settings

Add to your MCP configuration (e.g., Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "arkts-docs": {
      "command": "npx",
      "args": [
        "arkts-docs-mcp",
        "--base-url", "YOUR_BASE_URL",
        "--token", "YOUR_TOKEN"
      ]
    }
  }
}

Command Line Arguments

| Argument | Required | Description | |----------|----------|-------------| | --base-url | Yes | API base URL for the Augment context engine | | --token | Yes | Authentication token | | --enable-log | No | Enable logging |

Tools

search_context

Search HarmonyOS ArkTS documentation using semantic search.

Parameters:

  • query (required): Search keywords or natural language query

Example queries:

  • "State Prop 装饰器" - State management decorators
  • "Navigation 路由 页面跳转" - Navigation and routing
  • "List 列表组件" - List component usage
  • "animateTo 属性动画" - Animation

Documentation Coverage

Includes 1000+ official HarmonyOS documents:

  • ArkTS language syntax and constraints
  • ArkUI components (Button, Text, List, Grid, etc.)
  • State management (@State, @Prop, @Link, @Observed, etc.)
  • Animation and transitions
  • Navigation and routing
  • System APIs and capabilities

License

MIT


中文

HarmonyOS ArkTS 官方文档搜索 MCP 服务器。使用 Augment 上下文引擎进行语义搜索。

安装

npm install -g arkts-docs-mcp

或直接使用 npx:

npx arkts-docs-mcp --base-url <URL> --token <TOKEN>

配置

MCP 设置

添加到你的 MCP 配置文件(例如 Claude Desktop 的 claude_desktop_config.json):

{
  "mcpServers": {
    "arkts-docs": {
      "command": "npx",
      "args": [
        "arkts-docs-mcp",
        "--base-url", "YOUR_BASE_URL",
        "--token", "YOUR_TOKEN"
      ]
    }
  }
}

命令行参数

| 参数 | 必填 | 描述 | |------|------|------| | --base-url | 是 | Augment 上下文引擎的 API 地址 | | --token | 是 | 认证令牌 | | --enable-log | 否 | 启用日志 |

工具

search_context

搜索 HarmonyOS ArkTS 官方开发文档。

参数:

  • query(必填):搜索关键词或自然语言查询

搜索示例:

  • "State Prop 装饰器" - 状态管理装饰器
  • "Navigation 路由 页面跳转" - 导航和路由
  • "List 列表组件" - List 组件用法
  • "animateTo 属性动画" - 动画

文档覆盖范围

包含 1000+ 份官方 HarmonyOS 文档:

  • ArkTS 语言语法和约束
  • ArkUI 组件(Button、Text、List、Grid 等)
  • 状态管理(@State、@Prop、@Link、@Observed 等)
  • 动画和转场效果
  • 导航和路由
  • 系统 API 和能力

许可证

MIT