documentation-server

documentation-server is a skill for Claude Code, Codex from andrea9293/mcp-documentation-server. It costs 71 tokens per session (2,338 once invoked), scanned A, original, MIT.

A local document knowledge base with a web interface and a REST API, which is a way for programs to manage data over HTTP. It stores documents and supports meaning-based and exact-text search.

In plain words
What is it for?
Use it to upload, process, search, retrieve, inspect, or delete documents, and to run AI-assisted analysis over the knowledge base.
Why use it?
It helps you find useful passages across stored documents without reading every file manually. It can also provide nearby context around a matching passage.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/andrea9293/mcp-documentation-server/documentation-server
Any agent
npx skills add andrea9293/mcp-documentation-server --skill documentation-server
Clone the repo
git clone --depth 1 https://github.com/andrea9293/mcp-documentation-server

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for documentation-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrea9293/mcp-documentation-server/documentation-server.svg)](https://agentmods.dev/skills/andrea9293/mcp-documentation-server/documentation-server)
Your own site
<a href="https://agentmods.dev/skills/andrea9293/mcp-documentation-server/documentation-server"><img src="https://agentmods.dev/badge/skills/andrea9293/mcp-documentation-server/documentation-server.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,338 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00071 $0.02338
Opus 5 $0.00036 $0.01169
Sonnet 5 $0.00014 $0.00468
Haiku 4.5 $0.00007 $0.00234

Measured 4d ago against content hash d79bc60f8261, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

documentation-server scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Calling the REST API directly (with `curl` or your agent's HTTP tool) is **more token-efficient** than loading MCP tool schemas — only the response JSON enters context, not the tool definitions.
skills/documentation-server/SKILL.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Documentation Server — REST API Skill

Overview

This server provides a local-first knowledge base with semantic search, parent-child chunking, and an embedded vector database (Orama). Every operation available through the MCP protocol is also accessible via a REST API on http://127.0.0.1:3080/api/.

Calling the REST API directly (with curl or your agent's HTTP tool) is more token-efficient than loading MCP tool schemas — only the response JSON enters context, not the tool definitions.

When to Use

  • You need to add, retrieve, search, or delete documents in the knowledge base
  • You want semantic search (vector similarity) across one or all documents
  • You need to retrieve context windows around matched chunks for richer LLM context
  • You need to manage uploads: list files, process them into documents, or get the uploads path
  • You want the web UI to browse documents visually, upload files via drag-and-drop, or explore search results interactively
  • Context token budget is tight and you want to avoid MCP tool schema overhead

When NOT to use: If the server isn't running and you cannot start it (no npx/Node.js available), fall back to another documentation strategy.

Web Interface

The server includes a full-featured graphical web interface at http://127.0.0.1:3080 that runs automatically alongside the REST API. Use it for:

  • Dashboard — overview of all documents and statistics
  • Documents — browse, view, and delete documents visually
  • Add Document — create documents with title, content, and metadata
  • Search — semantic search across all or within a specific document
  • AI Search — Gemini-powered analysis (if GEMINI_API_KEY is set)
  • Upload Files — drag-and-drop .txt, .md, or .pdf files
  • Context Window — explore chunks around a specific index interactively

The REST API is for programmatic access; the web UI is for visual exploration and one-off operations.

Server Lifecycle

Read the full file on GitHub · 248 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 248 lines · 71 tokens per session scan A d79bc60f8261

Subscribe to this mod's changes

documentation-server is a skill published in the GitHub repository andrea9293/mcp-documentation-server (342 stars, last pushed 7d ago), licensed MIT. It adds 71 tokens to every session and 2,338 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

excel-cli

Excel CLI automation skill for Windows workbooks. Use when a coding agent needs token-efficient, scriptable, or unattended Excel automation via excelcli commands. Best for CI/CD, scheduled jobs, batch processing, PowerShell workflows, and bulk workbook edits. Supports Power Query, DAX, PivotTables, Tables, Ranges…

sbroenne/mcp-server-excel · 114 tokens

excel-mcp

Excel MCP Server skill for Windows workbook automation. Use when an assistant needs rich MCP tools to create, inspect, modify, format, or analyze Excel files. Supports Power Query (M), Data Model/DAX, PivotTables, Tables, Ranges, Charts, Slicers, formatting, screenshots, VBA macros, connections, and calculation mode.…

sbroenne/mcp-server-excel · 106 tokens

anyr

Use when reading, searching, creating, or updating Anytype documents (objects, spaces, types, properties, files, chats) from the command line with the configured anyr CLI, including JSON output patterns for scripting.

stevelr/anytype · 46 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis with two-column tables. Left column preserves the chapter content; right column maps every idea to the reader's actual life using brain context. Output is a single brain page at media/books/ -personalized plus an optional PDF via brain-pdf.

timurgaleev/memex · 71 tokens

brain-pdf

Generate a publication-quality PDF from any brain page via the host agent's PDF renderer. Strips YAML frontmatter, sanitizes emoji, applies running headers and page numbers. Brain page is always the source of truth; PDF is a rendering.

timurgaleev/memex · 52 tokens

migrate

Universal migration from Obsidian, Notion, Logseq, markdown, CSV, JSON, Roam.

timurgaleev/memex · 24 tokens