Open source · MIT

VibeCTX

Current, official documentation for your project and its AI coding agents, cached on your own machine.

The problem

AI coding agents write from memory, and memory goes stale. Libraries change, and the agent keeps writing yesterday's code. Cloud documentation services can help, but you give up control, offline use, and repeatability. VibeCTX keeps all three.

How it works

How VibeCTX works. Getting ready, ahead of time: it reads your project's dependency files and, after asking you, fetches official library documentation into a local cache on your machine. Answering, when asked: your coding agent (through MCP tools) or you (through the command line) ask a question, and VibeCTX finds and serves only the matching sections from the cache. If the network is down, answers still come from the cache, flagged as stale.
  1. 1

    Fetch. After asking you, it pulls each library's official documentation, preferring the llms.txt files projects publish for AI tools.

  2. 2

    Cache. It stores the docs on your machine and refreshes them on a schedule.

  3. 3

    Find. It ranks the sections against the question asked.

  4. 4

    Serve. Your agent, or you, gets only the sections that are needed. If the network is down, you still get the cached copy, clearly flagged as stale, instead of a failure.

Ready for the whole project

Point it at your project and it caches the docs for the libraries you depend on, before anyone asks. It reads package.json, pyproject.toml, and requirements.txt, and skips noise like linters and type packages. It starts with 30 of the most-used libraries, with room to add your own.

People can search the same docs from the command line:

CommandWhat it does
vibectx searchSearch every cached library at once
vibectx warmCache the docs for a project's dependencies
vibectx doctorCheck that retrieval works
vibectx resolveFind a library's documentation source

What your agents can do

ToolWhat it does
get_docsGet a library's docs on a topic, or just its code examples
searchSearch every cached library at once, offline
warm_projectCache the docs for everything a project depends on
resolve_libraryFind the right library from a name
refreshPull fresh docs before the scheduled refresh
list_librariesSee what's cached
doctorCheck the cache's health
report_bugDraft a bug report you review and submit yourself

Built to be trusted

  • ·Local: your docs and queries stay on your machine.
  • ·Asks first: it asks before downloading anything.
  • ·Quiet by default: the update check is off unless you turn it on, and activity logging can be switched off.
  • ·You stay in control: bug reports are previewed, and you decide whether to send them.
  • ·No recurring cost: it's open source under the MIT license.

Works with

  • ·Clients: Claude Code, Cursor, any client that speaks the Model Context Protocol (MCP), and the vibectx command line.
  • ·Documentation sources: libraries published on npm and PyPI, whatever language your project uses. More ecosystems are planned.

What it means for your company

Fewer errors and less rework when AI writes or changes your software, because the agent works from current documentation, not memory. And it runs on your own machines, so nothing leaves your control.

Install

npm install -g @blackraptorai/vibectx
claude mcp add vibectx -- vibectx

Requires Node.js 20.19 or later. Full instructions on GitHub.

View on GitHub →

Want this kind of rigor inside your company?

Reach out. Let's talk. →