Context Mode Search
mksglu/context-mode
Search context-mode's persistent FTS5 knowledge base for previously indexed local project content, documentation, or session memory. Trigger…
A skill your agent uses when you need to store, retrieve, search, or manage documents in a local knowledge base with semantic search and hybrid (vector + full-text) retrieval.
$ npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install andrea9293/mcp-documentation-server documentation-server --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/andrea9293/mcp-documentation-server.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/documentation-server .claude/skills/documentation-server && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "documentation-server" agent skill from https://github.com/andrea9293/mcp-documentation-server/tree/main/skills/documentation-server into .claude/skills/documentation-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "documentation-server", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/andrea9293/mcp-documentation-server/tree/main/skills/documentation-serverType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install andrea9293/mcp-documentation-server documentation-server --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/andrea9293/mcp-documentation-server.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/documentation-server .agents/skills/documentation-server && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "documentation-server" agent skill from https://github.com/andrea9293/mcp-documentation-server/tree/main/skills/documentation-server into .agents/skills/documentation-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "documentation-server", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install andrea9293/mcp-documentation-server documentation-server --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/andrea9293/mcp-documentation-server.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/documentation-server .cursor/skills/documentation-server && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "documentation-server" agent skill from https://github.com/andrea9293/mcp-documentation-server/tree/main/skills/documentation-server into .cursor/skills/documentation-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "documentation-server", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/andrea9293/mcp-documentation-server.git --path skills/documentation-server--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install andrea9293/mcp-documentation-server documentation-server --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/andrea9293/mcp-documentation-server.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/documentation-server .gemini/skills/documentation-server && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "documentation-server" agent skill from https://github.com/andrea9293/mcp-documentation-server/tree/main/skills/documentation-server into .gemini/skills/documentation-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "documentation-server", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install andrea9293/mcp-documentation-server documentation-serverInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/andrea9293/mcp-documentation-server.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/documentation-server .github/skills/documentation-server && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "documentation-server" agent skill from https://github.com/andrea9293/mcp-documentation-server/tree/main/skills/documentation-server into .github/skills/documentation-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "documentation-server", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install andrea9293/mcp-documentation-server documentation-server --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/andrea9293/mcp-documentation-server.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/documentation-server .opencode/skills/documentation-server && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "documentation-server" agent skill from https://github.com/andrea9293/mcp-documentation-server/tree/main/skills/documentation-server into .opencode/skills/documentation-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "documentation-server", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
documentation-serverA skill your agent uses when you need to store, retrieve, search, or manage documents in a local knowledge base with semantic search and hybrid (vector + full-text) retrieval.
Documentation Server is an agent skill from andrea9293/mcp-documentation-server. Use when you need to store, retrieve, search, or manage documents in a local knowledge base with semantic search and hybrid (vector + full-text) retrieval. Also use when interacting with the documentation server web interface, managing uploads, or performing AI-powered document analysis. Use this instead of MCP-native tool definitions when context efficiency is a concern.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Frontend development, MCP servers and Knowledge bases. It works with Model Context Protocol and Google Gemini. The repository describes itself as: MCP Documentation Server - Bridge the AI Knowledge Gap. ✨ Features: Document management • Gemini integration • AI-powered semantic search • File uploads • Smart chunking •…. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9a75899. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl and npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GEMINI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Documentation Server loads about 2.3k tokens when it runs. Until then it costs about 99 tokens; SKILL.md has 902 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from andrea9293/mcp-documentation-server at commit 9a75899, republished under its MIT licence (© andrea9293). 902 words, ~2,308 tokens.
.claude/skills/documentation-server/SKILL.md (or your agent's skills folder).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 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.
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:
GEMINI_API_KEY is set).txt, .md, or .pdf filesThe REST API is for programmatic access; the web UI is for visual exploration and one-off operations.
curl -s http://127.0.0.1:3080/api/configIf you get a JSON response, the server is active. If the connection fails, proceed to start it.
# Start in background, redirect logs to a temp file
npx -y @andrea9293/mcp-documentation-server > /tmp/doc-server.log 2>&1 &
# Wait for startup (embedding model download may take a few extra seconds on first run)
sleep 5Then verify with the check step above. Retry after a few seconds if the model is still downloading.
pkill -f "@andrea9293/mcp-documentation-server" || trueThe server is safe to leave running in the background between sessions.
All endpoints are on http://127.0.0.1:3080/api/. All POST endpoints accept Content-Type: application/json.
| Method | Endpoint | Description |
|---|---|---|
GET | /api/documents | List all documents |
GET | /api/documents/:id | Get a document's full content |
POST | /api/documents | Add a new document |
DELETE | /api/documents/:id | Delete a document |
| Method | Endpoint | Description |
|---|---|---|
POST | /api/search | Semantic search within a single document |
POST | /api/search-all | Hybrid search across all documents |
POST | /api/context-window | Get surrounding chunks around a matched section |
POST | /api/search-ai | AI-powered analysis (requires GEMINI_API_KEY) |
| Method | Endpoint | Description |
|---|---|---|
GET | /api/uploads | List files in the uploads folder |
GET | /api/uploads/path | Get the uploads directory path |
POST | /api/uploads/process | Process all pending upload files into documents |
POST | /api/uploads/upload | Upload files via multipart form |
| Method | Endpoint | Description |
|---|---|---|
GET | /api/config | Server configuration (embedding model, Gemini availability) |
curl -s http://127.0.0.1:3080/api/documentscurl -s -X POST http://127.0.0.1:3080/api/documents \
-H "Content-Type: application/json" \
-d '{
"title": "My Document Title",
"content": "Full document content here...",
"metadata": { "source": "web", "tags": ["reference"] }
}'curl -s -X POST http://127.0.0.1:3080/api/search-all \
-H "Content-Type: application/json" \
-d '{"query": "your search query here", "limit": 10}'Each result includes:
content — the matched text chunkscore — relevance score (0-1, higher = more relevant)document_id — ID of the document this chunk belongs toparent_index — chunk index within the document (needed for context window queries)curl -s http://127.0.0.1:3080/api/documents/DOCUMENT_ID_HERENote: returns a single object, not an array.
curl -s -X POST http://127.0.0.1:3080/api/search \
-H "Content-Type: application/json" \
-d '{"document_id": "DOCUMENT_ID_HERE", "query": "search term", "limit": 5}'After search results give you a document_id and parent_index, expand the context:
curl -s -X POST http://127.0.0.1:3080/api/context-window \
-H "Content-Type: application/json" \
-d '{"document_id": "DOCUMENT_ID_HERE", "parent_index": 3, "before": 2, "after": 2}'curl -s -X DELETE http://127.0.0.1:3080/api/documents/DOCUMENT_ID_HEREcurl -s -X POST http://127.0.0.1:3080/api/uploads/processcurl -s http://127.0.0.1:3080/api/uploadscurl -s http://127.0.0.1:3080/api/uploads/pathcurl -s http://127.0.0.1:3080/api/configReturns server metadata: embedding model, Gemini availability, chunking settings.
curl -s -X POST http://127.0.0.1:3080/api/search-ai \
-H "Content-Type: application/json" \
-d '{"document_id": "DOCUMENT_ID_HERE", "query": "what does this document say about X?"}'Returns an AI-generated answer grounded in the document content.
Always check if the server is running before making requests. Start it if inactive. A running server is safe to keep between sessions.
Prefer calling the REST API over MCP tool definitions — the REST API returns JSON directly without the overhead of loading tool schemas into the agent's context window.
Keep output minimal. For lists: just IDs and titles. For search: scores and truncated content snippets (~200 chars is usually enough). For errors: the error message.
Handle the limit parameter. Default is 10. Increase for exhaustive searches, decrease for quick lookups.
Use the web UI (http://127.0.0.1:3080) for visual browsing, drag-and-drop uploads, and one-off operations. The REST API is for programmatic access.
Document IDs are opaque strings (e.g. 4ecc2235ec887d3e). Always list documents first to get the correct ID.
First startup may be slow because the embedding model (~80 MB) is downloaded from Hugging Face. Subsequent starts are fast.
The server prints startup info to stdout. When started in background with > /tmp/doc-server.log, these logs don't clutter the terminal.
| Mistake | Fix |
|---|---|
| Forgetting to start the server | Always check /api/config first; start if it fails |
| Not waiting for model download on first run | Use sleep 5 after starting; verify with the check step |
| Using wrong document ID | Always get the ID from list or search results first |
| Printing raw JSON in conversation | Log only what you need (IDs, scores, truncated snippets) |
| Expecting array from single-document GET | GET /api/documents/:id returns a single object, not an array |
| Putting the server on a different port | Default is 3080; override with WEB_PORT env var |
All endpoints return JSON. Typical response shapes:
[{id, title, ...}]{id, title, content, metadata, createdAt}{success, id, title}[{content, score, document_id, parent_index, ...}]{parents: [{index, content, ...}], ...}{success, message}{error: "message"}© andrea9293, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/documentation-server of andrea9293/mcp-documentation-server.
Open the folder on GitHubat commit 9a75899
Documentation Server next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Documentation Server this skillandrea9293/mcp-documentation-server | 343 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Context Mode Searchmksglu/context-mode | 26k | — | ~250 | Automated safety check: Pass | Custom licence | |
| MCP Auditgetsentry/toolkit | 917 | — | ~1.5k | Automated safety check: Pass | Custom licence | |
| Spring AI MCP Server Patternsgiuseppe-trisciuoglio/developer-kit | 355 | 1 repos | ~2.7k | Automated safety check: Notes | MIT | |
| MCP Server Builder with mcp-usemcp-use/mcp-use | 11k | — | ~923 | Automated safety check: Pass | Apache-2.0 | |
| Context Mode Indexermksglu/context-mode | 26k | — | ~328 | Automated safety check: Pass | Custom licence |
mksglu/context-mode
Search context-mode's persistent FTS5 knowledge base for previously indexed local project content, documentation, or session memory. Trigger…
getsentry/toolkit
Audit MCP servers for protocol compliance, metadata drift, and compatibility regressions.
giuseppe-trisciuoglio/developer-kit
Provides Spring Boot MCP server patterns that create Model Context Protocol servers with Spring AI by defining tool handlers, exposing resources, configuring prompt templates, and setting up…
mcp-use/mcp-use
Builds, modifies, debugs, migrates and verifies TypeScript MCP servers and MCP Apps with the mcp-use framework, treating the installed package's types as the source of truth.
mksglu/context-mode
Indexes a local file or project directory into context-mode's FTS5 knowledge base so later searches return focused snippets instead of rereading whole files.
pivoshenko/kasetto
Report which kasetto-installed skills and MCP servers are actually being used across the AI agents on this machine, and render a branded HTML dashboard of the result.
Works with
A skill your agent uses when you need to store, retrieve, search, or manage documents in a local knowledge base with semantic search and hybrid (vector + full-text) retrieval. Documentation Server is an agent skill from andrea9293/mcp-documentation-server. Use when you need to store, retrieve, search, or manage documents in a local knowledge base with semantic search and hybrid (vector + full-text) retrieval.
Documentation Server fits situations like: you need to store; manage documents in a local knowledge base with semantic search and hybrid (vector + full-text) retrieval; interacting with the documentation server web interface; managing uploads.
Run `npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a claude-code`. Or copy the skill folder (skills/documentation-server in andrea9293/mcp-documentation-server) into .claude/skills/documentation-server in your project. Claude Code loads it when a task matches its description.
Run `npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a codex`. Or copy the skill folder (skills/documentation-server in andrea9293/mcp-documentation-server) into .agents/skills/documentation-server in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add andrea9293/mcp-documentation-server --skill documentation-server -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/documentation-server, .gemini/skills/documentation-server, .github/skills/documentation-server and .opencode/skills/documentation-server in your project.
Going by SKILL.md and its folder, Documentation Server needs the command-line tools its instructions call (curl and npx) and credentials named GEMINI_API_KEY. Our summary lists: Node.js; A credential in GEMINI_API_KEY.
SKILL.md contains no URLs. Its commands use curl and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Documentation Server is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Documentation Server: Context Mode Search (mksglu/context-mode, 26k stars), MCP Audit (getsentry/toolkit, 917 stars), Spring AI MCP Server Patterns (giuseppe-trisciuoglio/developer-kit, 355 stars) and MCP Server Builder with mcp-use (mcp-use/mcp-use, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
andrea9293 (a GitHub user) maintains it in andrea9293/mcp-documentation-server, which has 343 GitHub stars. The repository was last updated on August 27, 2026.
Source: andrea9293/mcp-documentation-server on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.