BlackRaptorAI

VibeCTX

Community BlackRaptorAI
Updated

VibeCTX — local docs-cache MCP server: fetch official library docs (llms.txt-first), cache to disk, serve to coding agents offline and deterministically.

VibeCTX

A local MCP server that fetches official library documentation (llms.txt-first), caches it to disk, and serves the relevant sections to your coding agents — offline, deterministic, zero recurring cost.

Published on npm as @blackraptorai/vibectx.(Formerly @blackraptorai/docs-cache-mcp ≤ 0.1.1 — deprecated in favor of this package.)

By BlackRaptor AI · MIT · Companion toBlackRaptor Agents — development andBlackRaptor Agents — council.

Why

Coding agents need current, correct docs in context. Cloud docs services work, but youtrade away control, offline use, and repeatability. This server keeps the whole looplocal: fetch once from the official source (preferring each project's publishedllms.txt / llms-full.txt), cache to disk with a TTL, servesections matched to the agent's question. When the network is down you get the cachedcopy, clearly flagged as stale, instead of a failure.

Quickstart

# Claude Code
claude mcp add vibectx -- npx -y @blackraptorai/vibectx

# or any MCP client (stdio):
npx -y @blackraptorai/vibectx

Tools

Tool What it does
list_libraries() Registry + per-library cache status
get_docs(library, topic?, maxTokens?) Fetch-or-cache, then return the sections best matching topic (follows llms.txt index links when needed). No topic → table of contents + document head
refresh(library?) Force refetch past the TTL (all libraries when omitted)

Configuration

Ships with a default registry (Fastify, Prisma, TimescaleDB, pgvector, Anthropic SDK,AWS CDK, Playwright, React, fastify-type-provider-zod). Add or override libraries witha JSON config:

npx -y @blackraptorai/vibectx --config ./docs-cache.config.json
{
  "libraries": [
    {
      "name": "hono",
      "urls": ["https://hono.dev/llms-full.txt", "https://hono.dev/llms.txt"],
      "ttlHours": 168,
      "description": "Hono web framework"
    }
  ]
}

URLs are candidates probed in order — list llms-full.txt first, then llms.txt,then any curated fallback page (raw GitHub READMEs work well). Cache lives at~/.docs-cache-mcp/ (override with DOCS_CACHE_DIR). Default TTL is 7 days.

Design notes

  • Offline-first: past-TTL cache is served (flagged STALE:) when the network fails —an old answer beats no answer, but the agent is told which it got.
  • Index-aware: many projects publish llms.txt as a link index rather than fullcontent. When the source looks like an index, the topic's best-matching links arefetched (and cached) one level deep.
  • Deterministic retrieval: markdown heading-split + keyword scoring. No embeddings,no external calls at query time, same answer every run.

Using this in a company / behind an air gap?

This tool is free and MIT-licensed, and will stay that way. If you have a privatedocumentation, air-gapped, or enterprise deployment need it doesn't cover —open an issue and describeyour setup. Real-world reports directly shape what gets built.

Development

npm install
npm test        # vitest
npm run build   # tsc → dist/

License

MIT © 2026 Tom Hanks / BlackRaptor AI

MCP Server · Populars

MCP Server · New

    patsnap

    PatSnap MCP Servers

    MCP server for 200M+ patents, scientific literature, chemistry and pharma records. Search prior art and R&D intelligence powered by PatSnap's proprietary databases via Claude, Cursor and MCP-compatible clients.

    Community patsnap
    ghost-in-the-droid

    Ghost in the Droid

    Open-source Android device automation framework — control real phones via ADB with Python skills, a Vue dashboard, and LLM-powered tooling

    Community ghost-in-the-droid
    VoidNullable

    lific

    Local-first, lightweight issue tracker. Single Rust binary, SQLite-backed, MCP-native.

    Community VoidNullable
    ghost-in-the-droid

    Ghost in the Droid

    Open-source Android device automation framework — control real phones via ADB with Python skills, a Vue dashboard, and LLM-powered tooling

    Community ghost-in-the-droid
    squirrelscan

    squirrelscan

    The website QA tool for your coding agent. 270+ audit rules across SEO, performance, security, accessibility and agent experience.

    Community squirrelscan