Skip to main content
Glama
Lolaplex

agents-docs

by Lolaplex

agents-docs

Ultra-schnelles, schlankes lokales Markdown-Dokumentations-RAG für KI-Coding-Agenten über MCP.
Sofortige BM25-Suche über offizielle Framework-Dokumentationen und Live-KI-Modellregister. Gemeinsam genutzt in Cursor, Claude Code, Antigravity und Zed.


Warum .agents/docs?

Coding-Agenten halluzinieren häufig veraltete APIs (Svelte 4 vs. 5 Runes, Tailwind v3 vs. v4, React 19 Actions) oder referenzieren veraltete LLM-Modelle und Token-Preise.

Traditionelle Vektor-Embedding-RAG-Lösungen sind aufgebläht: Sie erfordern Docker-Container, hunderte Megabyte an Python-Abhängigkeiten (Chroma, LangChain) und langsame API-Embedding-Aufrufe, die Codeblöcke in der Mitte zerreißen.

agents-docs wendet die Lolaplex-Philosophie an:

  • Null Vektor-Datenbanken: Header-bewusstes Markdown-Chunking + reines Python-lexikalisches BM25-Ranking mit Header-Match-Boost (+6.0) und Voll-Phrasen-Boost (+10.0).

  • Unter-10-ms-Suche: Sofortiger Abruf direkt aus einfachen Markdown-Dateien auf der Festplatte (~/.agents/docs/).

  • Live-KI-Modellregister: Echtzeit-verfolgte Kontextfenster, Benchmarks und Token-Preise ($/1M) für Frontier- und Open-Weights-Modelle (Claude 5/4, GPT-5/o3/o4, Gemini 3.x, DeepSeek V4/R1, Qwen 2.5 Coder).

  • Kuratierter Katalog mit 21+ Frameworks: 1-Klick-Sync für offizielle llms.txt (TypeScript Handbook, Svelte 5, FastAPI, Tailwind v3/v4, Tauri 2, Next.js, Supabase, Hono, WXT, Netlify, Coolify, Cloudflare, Resend, React, Vite, Zod, Pydantic, shadcn/ui).

  • Deterministisches Rausch-Pruning: Entfernt automatisch HTML-Hüllen, Link-Rauschen und Cookie-Banner, ohne Codeblöcke oder Tabellen zu verändern.

  • Universeller MCP-Server: FastMCP-stdio-Schnittstelle mit Auto-Sync und Abhängigkeits-Manifest-Inspektion.


Related MCP server: Speakeasy Docs MCP

Architektur & Ablauf

 ┌─────────────────────────────────────────────────────────────┐
 │                  DOCS & MODEL REGISTRIES                    │
 │    Official llms.txt · TypeScript Handbook · OpenRouter     │
 └──────────────────────────────┬──────────────────────────────┘
                                │  agents-docs sync <name>
                                ▼
 ┌─────────────────────────────────────────────────────────────┐
 │                 DETERMINISTIC NOISE PRUNER                  │
 │    Strips HTML boilerplate while preserving 100% of code    │
 └──────────────────────────────┬──────────────────────────────┘
                                │  Header-aware chunking
                                ▼
 ┌─────────────────────────────────────────────────────────────┐
 │                   LOCAL DOCUMENTATION STORE                 │
 │   ~/.agents/docs/ai-models/       ~/.agents/docs/svelte-5/  │
 │   ~/.agents/docs/typescript/      ~/.agents/docs/fastapi/   │
 └──────────────┬───────────────────────────────┬──────────────┘
                │                               │
                ▼                               ▼
 ┌─────────────────────────────┐ ┌─────────────────────────────┐
 │        LEXICAL BM25         │ │     MCP SERVER & CLERK      │
 │  Header Match Boost (+6.0)  │ │  search_docs · list_docsets │
 │  Sub-10ms Exact Retrieval   │ │  sync_project_docs          │
 └─────────────────────────────┘ └─────────────────────────────┘

Schnellstart

1-Schritt-Einrichtung

pip install agents-docs && agents-docs init

Erstellt ~/.agents/docs/, befüllt das Live-ai-models-Register, verdrahtet automatisch MCP-Konfigurationen in deine installierten IDEs und registriert Assistenten-Skills.

[!TIP] 🤖 Agenten-gesteuerte Einrichtung (Null Reibung):
Sage einfach deinem Coding-Agenten: „Installiere und richte agents-docs für mich ein."
Der Agent installiert das Paket, führt agents-docs init aus und ruft automatisch frische Dokumentation ab, wann immer du Fragen zu technischen Stacks oder Modellpreisen hast.


CLI-Referenz

Befehl

Zweck

agents-docs init

Plug-and-Play-Einrichtung: konfiguriert MCP automatisch über alle IDEs und befüllt Modelldokumentation

agents-docs catalog

Listet alle 21+ vorkonfigurierten Frameworks und Modellkataloge auf

agents-docs sync <name>

1-Klick-Download/-Update der offiziellen Framework-Dokumentation

agents-docs sync <name> --url <URL>

Nimmt jede benutzerdefinierte llms.txt, llms-full.txt oder Markdown-URL auf

agents-docs search "<query>"

Schnelle BM25-Suche über alle installierten Docsets

agents-docs search "<query>" --docset <name>

Bereichssuche innerhalb eines bestimmten Dokumentationssatzes

agents-docs prune

In-Place-Rausch- und Boilerplate-Reiniger über alle installierten Docs

agents-docs list

Listet alle installierten Docsets auf der Platte mit Datei- und Byte-Zählern

agents-docs serve

Führt den FastMCP-stdio-Server aus (Standard)


MCP-Tools-Referenz

Tool

Parameter

Beschreibung

list_docsets

Keine

Listet alle installierten Docsets in ~/.agents/docs/ mit Dateizählern und Byte-Größen auf.

search_docs

query, docset (Standard: "all"), top_k (Standard: 4)

Gibt in Millisekunden die besten passenden Markdown-Abschnitte mit Headern und Codeblöcken zurück. Synchronisiert fehlende Katalog-Docsets bei Bedarf automatisch.

get_doc_page

docset, rel_path

Gibt den rohen Markdown-Inhalt einer bestimmten Datei zurück.

list_catalog

Keine

Listet alle 21+ vorkonfigurierten Frameworks und Modellkataloge auf, die für den 1-Klick-Sync verfügbar sind.

sync_docset

name, url (optional)

Lädt/aktualisiert offizielle Dokumentation aus dem Katalog oder einer benutzerdefinierten llms.txt / Markdown-URL.

sync_project_docs

project_path

Prüft package.json, requirements.txt, pyproject.toml, Cargo.toml und synchronisiert erkannte Docsets automatisch.

sync_memory_docs

Keine

Scannt ~/.agents/memory/PROJECTS.md und synchronisiert alle aktiven Stacks.


Unterstütztes Ökosystem

  • Claude Code: Gebunden über MCP-Server und .agents/skills/docs-search.

  • Google Antigravity: Integriert über .gemini/config-Regeln und agents-docs MCP.

  • Cursor: Konfiguriert automatisch .cursor/mcp.json und Agenten-Regeln.

  • Zed: Konfiguriert context_servers und spiegelt Assistenten-Skills.

  • VS Code / Windsurf: Verdrahtet automatisch Cline / Roo-Code MCP-Konfiguration.


Offene ABI-Spezifikation

Detaillierte Architektur-Spezifikationen liegen in abi/:

  • abi/WHY.md — Architektonische Begründung & BM25 vs. Vektor-Embeddings.

  • abi/LAYOUT.md — Speicher-Taxonomie in ~/.agents/docs/.

  • abi/MCP.md — Tool-Oberflächen-Definitionen und Schemas.

  • abi/CATALOG.md — Kuratierte Katalog-Schemas und unterstützte Typen.

  • abi/LLMSTXT.md — Unterstützung für den llms.txt-Standard.


Tests & Verifizierung

Führe die Test-Suite über alle Engines aus:

python tests/run_all_tests.py

Lizenz

MIT-Lizenz. Siehe LICENSE für Details.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    MCP server that gives AI coding agents on-demand access to private project docs via BM25 ranked search. One setup for Claude Code, Cursor, Codex, Gemini CLI, and more. Docs stay private, never in public repos.
    15
    15
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    A lightweight, domain-agnostic hybrid search engine for markdown corpora, exposed via the Model Context Protocol (MCP), optimized for serving SDK documentation to AI coding agents.
    7
    AGPL 3.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Local-first context retrieval engine that serves precise documentation chunks to coding agents via MCP, ensuring high-confidence context for code generation.
    MIT

View all related MCP servers

Related MCP Connectors

  • Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.

  • Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.

  • Token-efficient search for coding agents over public and private documentation.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lolaplex/agents-docs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server