# YARD Documentation

> Use this tool when you need to programmatically access and explore Ruby gem documentation, analyze code structures, and retrieve information on classes, modules, and methods. It solves problems such as code discovery, documentation browsing, and AI-assisted code exploration, providing outputs like documentation snippets, source code, and inheritance hierarchies through a conversational interface. Ideal for Ruby developers, teams building code assistants, and applications requiring automated documentation access.

Canonical page: https://skillsregistry.net/skills/yard-documentation  
JSON: https://api.skillsregistry.net/v1/skills/yard-documentation

## Description

This MCP server exposes Ruby gem and YARD documentation as programmable tools, built by Roman Shterenzon using Ruby with the fast-mcp gem and YARD documentation system. The implementation builds a comprehensive index of all installed gems with YARD documentation at startup, then provides 11 specialized tools for exploring classes/modules/methods, fetching documentation with parameters and return types, performing fuzzy search across docstrings, retrieving source code snippets, and analyzing inheritance hierarchies and relationships. Built with intelligent gem loading that caches the last loaded .yardoc file to avoid unnecessary reloads, Levenshtein distance-based fuzzy search, and automatic documentation building for gems without existing YARD docs, it serves Ruby developers needing AI-assisted code exploration, teams building documentation browsers or code assistants, and applications requiring programmatic access to Ruby gem documentation through conversational interfaces.

## Trust

- **Trust score (0–1):** 0.30
- **Verification tier:** unverified
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** browser-automation
- **Updated:** 2026-09-01

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/yard-documentation)
- **Repository:** <https://github.com/romanbsd/yardmcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "yard-documentation"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/yard-documentation` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/yard-documentation/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
