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

hytaledocs-mcp-server

v1.0.1

Published

MCP Server for HytaleDocs - Exposes hytale-docs.com content to Claude

Readme

HytaleDocs MCP Server

A Model Context Protocol (MCP) server that exposes HytaleDocs to Claude and other MCP-compatible AI assistants.

Features

  • GitHub-Based Cache: Reads documentation downloaded from GitHub by the IntelliJ plugin
  • Full-Text Search: TF-IDF based search across all documentation
  • MCP Tools: Three tools for interacting with documentation:
    • search_docs - Search documentation by keyword
    • list_docs - List available documentation
    • get_doc - Get full content of a document
  • MCP Resources: Direct access via docs:// URIs
  • Offline Support: Works completely offline once docs are downloaded

Installation

npm install -g hytaledocs-mcp-server

Or run directly with npx:

npx hytaledocs-mcp-server

Setup (Required)

Documentation is managed by the Hytale IntelliJ Plugin:

  1. Install the Hytale IntelliJ Plugin
  2. Open IntelliJ IDEA
  3. Go to Hytale tool window → AI tab
  4. Click "Download from GitHub"
  5. Wait for download to complete (~1 request, extracts from ZIP)
  6. Click "Copy MCP Config" to get Claude Desktop configuration

The docs are downloaded from the wiki-next GitHub repository and stored at:

~/.hytale-intellij/docs-cache/

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "hytale-docs": {
      "command": "npx",
      "args": ["hytaledocs-mcp-server"]
    }
  }
}

Location of config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

CLI Commands

# Start MCP server (for Claude Desktop)
hytaledocs-mcp

# Check cache status
hytaledocs-mcp --status

# Show help
hytaledocs-mcp --help

MCP Tools

search_docs

Search the documentation for relevant content.

Input:
  query: string (required) - The search query
  limit: number (optional) - Max results (default: 10)

Output:
  List of matching documents with titles, scores, and excerpts

list_docs

List all available documentation pages.

Input:
  category: string (optional) - Filter by category

Output:
  Grouped list of all documents by category

get_doc

Get the full content of a documentation page.

Input:
  slug: string (required) - The document slug (e.g., "api/server-internals/events")

Output:
  Full markdown content with metadata

MCP Resources

Access documentation directly via URIs:

docs://api/server-internals/events
docs://modding/plugins/overview
docs://getting-started/introduction

Architecture

┌─────────────────────┐     ┌──────────────────────┐
│  IntelliJ Plugin    │────>│  GitHub (wiki-next)  │
│  (Downloads docs)   │     │  ZIP archive         │
└─────────────────────┘     └──────────────────────┘
          │
          v
┌─────────────────────┐
│  Local Cache        │
│  ~/.hytale-intellij │
│  /docs-cache/       │
└─────────────────────┘
          │
          v
┌─────────────────────┐     ┌──────────────────────┐
│  MCP Server         │<───>│  Claude Desktop      │
│  (Reads cache)      │     │  (AI queries)        │
└─────────────────────┘     └──────────────────────┘

Benefits

  • 1 HTTP request to download all docs (GitHub ZIP archive)
  • 0 load on hytale-docs.com servers
  • Offline access - works without internet after initial download
  • Always synced with GitHub repository
  • Shared cache between IntelliJ plugin docs tab and MCP server

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

# Check status
npm run status

License

MIT