Skip to main content

List Available Libraries with vg lib

Use vg lib to see which libraries Vibgrate can serve version-correct documentation for, resolved against your project's lockfile. A quick reference for the command and what it shows.

Vibgrate Docs

Vibgrate Help

vg lib is your entry point into the Free Dev Docs Library. It lists the libraries Vibgrate can serve version-correct documentation for, resolved against the dependencies in your project.

This short reference is for developers who want to know what docs are available before wiring the library into their AI assistant.

Prerequisites

Run the command from a project that has a dependency manifest and lockfile (for example a package.json plus lockfile for Node.js, or the equivalent for other ecosystems). Vibgrate resolves library versions from your lockfile, so the list reflects what you actually depend on.

List libraries

vg lib

This enumerates the libraries available for version-correct docs. Entries come from two places:

  • The hosted catalog of popular libraries, kept current.
  • Local ingestion of libraries installed in your project but not in the catalog.

Reading the output

Each library in the list corresponds to documentation pinned to the version your lockfile specifies. That is the whole point: the docs you can serve match the versions you run, not the latest release on the web.

From list to AI

Listing is the first step. To make these docs usable by an AI assistant, start the local context server so they are served over MCP:

vg serve

Then your assistant can read version-correct docs for any listed library on demand.

Troubleshooting

  • The list looks short. Vibgrate prioritizes the libraries you actually depend on. If a library you expected is missing, confirm it is installed and present in your lockfile.
  • A library is missing from the catalog. Vibgrate can ingest it locally from your installed copy, so it can still appear and be served.

Related

  • What Is the Free Dev Docs Library?
  • Getting version-correct docs for a dependency
  • Starting the local context server with vg serve