# mcp-documentation-server

The mcp-documentation-server skill indexes documents in a local database and searches by text or meaning. Use it to find relevant passages across files and retrieve their surrounding context.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 166 installs · ★ 9 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/mcp-documentation-server/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/mcp-documentation-server

## What it does

The skill manages a local document collection backed by the embedded Orama vector database. Search combines exact text matches with semantic results. Documents are split into parent and child chunks, so a result can be paired with its surrounding material.

Files placed in `uploads` can be processed in `.txt`, `.md`, and `.pdf` formats. Tools also let you add documents directly, list entries, retrieve full content, and delete records. A separate search tool covers the whole collection; another fetches nearby chunks for added context.

Gemini-generated search answers require `GEMINI_API_KEY`. Changing the embedding model means re-indexing every document, since vectors created by different models cannot be used together.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill mcp-documentation-server -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/mcp-documentation-server/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/mcp-documentation-server/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill mcp-documentation-server -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/mcp-documentation-server/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill mcp-documentation-server -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/mcp-documentation-server/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/mcp-skills skills/mcp-documentation-server
```

2. **Manually: put the files in place**
- File: `.github/skills/mcp-documentation-server/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill mcp-documentation-server -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/mcp-documentation-server
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/mcp-documentation-server/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill mcp-documentation-server -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/mcp-documentation-server/SKILL.md

## When to use it
- find passages across a document collection by meaning
- locate exact text matches across all indexed documents
- process `.txt`, `.md`, and `.pdf` files from `uploads`
- retrieve nearby chunks to expand a search result
- ask Gemini to answer questions using selected documents

## Example prompts
- Search all documents for the rate limiting configuration.
- Process the files in the uploads folder and add them to the collection.
- Use Gemini to answer my question about Redis from these documents.

## Similar
- [Qiskit Documentation MCP Server](https://affpapa.org/en/nevibecode/mcp/qiskit-documentation-mcp-server.md) — MCP server · ★ 46 repo stars
- [documentation-and-adrs](https://affpapa.org/en/nevibecode/skills/documentation-and-adrs.md) — skill · 80700 installs
- [golang-documentation](https://affpapa.org/en/nevibecode/skills/golang-documentation.md) — skill · 42700 installs
- [documentation-writer](https://affpapa.org/en/nevibecode/skills/documentation-writer.md) — skill · 27757 installs
- [dart-write-documentation](https://affpapa.org/en/nevibecode/skills/dart-write-documentation.md) — skill · 11500 installs
- [documentation](https://affpapa.org/en/nevibecode/skills/documentation.md) — skill · 10800 installs

From the same set: [reason-machines/mcp-skills](https://affpapa.org/en/nevibecode/by/reason-machines/mcp-skills.md) — 98 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
