When you ask an AI assistant about a library, the answer is only as good as the version it assumes. This guide shows how to get documentation pinned to the exact version your project depends on, using the Free Dev Docs Library.
It is for developers who want their assistant — or themselves — reading the right docs for the dependency in front of them.
Overview
Vibgrate resolves library documentation against your lockfile. Where the wider web shows docs for an arbitrary version, the Free Dev Docs Library shows docs for the version you actually installed. This matters most for libraries that change APIs across major versions.
Step 1 — Confirm the library is available
List what Vibgrate can serve docs for in your project:
vg lib
If the library you care about appears, its docs are resolved to your lockfile version. If it is in the hosted catalog you get curated docs; if not, Vibgrate can ingest it locally from your installed copy.
Step 2 — Serve the docs to your AI
Version-correct docs become most useful when an assistant can read them on demand. Start the local context server:
vg serve
Vibgrate AI Context now exposes the library over MCP. Ask your assistant about the dependency and it can pull the docs for your pinned version rather than recalling a stale one.
Step 3 — Wire it into your assistant once
To avoid configuring MCP by hand, let Vibgrate set it up:
vg install
This adds the MCP wiring for supported assistants including Claude, Cursor, Windsurf, VS Code, Codex, and Gemini.
Why this beats web search
A web search returns documentation for some version, often the newest. If you are pinned to an older major, that guidance can be actively wrong — renamed methods, changed defaults, removed options. Version-correct docs eliminate that mismatch.
Troubleshooting
- Wrong version assumed. Make sure the project has an up-to-date lockfile; Vibgrate resolves versions from it.
- Library not listed. Confirm it is installed in the project so Vibgrate can ingest it locally.
Related
- Listing libraries with
vg lib - Why version-correct docs matter for AI
- Connecting Vibgrate AI Context to your AI assistant