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

openclaw-docs-mcp

v1.0.0

Published

MCP server for searching OpenClaw documentation at docs.openclaw.ai

Readme

openclaw-docs-mcp

npm version License: MIT

A Model Context Protocol (MCP) server for searching and retrieving documentation from OpenClaw.

Features

  • 🔍 Search documentation - Full-text search across all OpenClaw docs
  • 📄 Retrieve pages - Get complete content of any documentation page
  • 📋 List all pages - Browse the full documentation structure
  • Fast caching - Built-in caching for improved performance

Installation

Global Installation (recommended)

npm install -g openclaw-docs-mcp

Local Installation

npm install openclaw-docs-mcp

Usage

As MCP Server

Run directly:

openclaw-docs-mcp

Or with npx:

npx openclaw-docs-mcp

VS Code Configuration

Add to your VS Code mcp.json (~/.config/Code/User/mcp.json or %APPDATA%\Code\User\mcp.json):

{
  "servers": {
    "openclaw-docs": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "openclaw-docs-mcp"]
    }
  }
}

For WSL users on Windows:

{
  "servers": {
    "openclaw-docs": {
      "type": "stdio",
      "command": "wsl",
      "args": ["-e", "npx", "-y", "openclaw-docs-mcp"]
    }
  }
}

Claude Desktop Configuration

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "openclaw-docs": {
      "command": "npx",
      "args": ["-y", "openclaw-docs-mcp"]
    }
  }
}

Available Tools

search_openclaw_docs

Search OpenClaw documentation for information about a topic.

Parameters:

  • query (string, required): Search query (e.g., "gateway configuration", "telegram channel")
  • maxResults (number, optional): Maximum results to return (default: 5, max: 20)

Example:

{
  "name": "search_openclaw_docs",
  "arguments": {
    "query": "telegram channel setup",
    "maxResults": 5
  }
}

get_openclaw_doc_page

Get the full content of a specific documentation page.

Parameters:

  • path (string, required): Page path (e.g., "/gateway/configuration", "/channels/telegram")

Example:

{
  "name": "get_openclaw_doc_page",
  "arguments": {
    "path": "/gateway/configuration"
  }
}

list_openclaw_doc_pages

List all available documentation pages from the sitemap.

Parameters: None

Example:

{
  "name": "list_openclaw_doc_pages",
  "arguments": {}
}

How It Works

  1. Fetches the sitemap from https://docs.openclaw.ai/sitemap.xml
  2. Parses HTML content using Cheerio to extract text
  3. Performs keyword-based relevance scoring for search results
  4. Caches results for 5 minutes to improve performance

Development

# Clone the repository
git clone https://github.com/openclaw/openclaw-docs-mcp.git
cd openclaw-docs-mcp

# Install dependencies
npm install

# Run locally
node index.js

# Test tools/list
echo '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}' | node index.js

License

MIT License - see LICENSE for details.

Related