Skip to content
Tools / Library Docs
Library Docs icon

Library Docs

Up-to-date docs and code examples for any library

Library Docs fetches accurate, version-specific documentation and code examples for any library or framework — always from the live source, never from training data that may be months out of date. It covers thousands of libraries including React, Next.js, Prisma, Tailwind, Express, and more.

AI models often hallucinate outdated or incorrect API syntax because their training data doesn't reflect recent library changes. This tool bypasses that problem by fetching current documentation on demand, so you get the right method signature, the right import path, and the right configuration options for the version you're actually using.

What you can do

  • resolve_library — search for any library by name and get its documentation ID plus available versions
  • get_docs — fetch relevant documentation and code examples for a specific topic within a library

Who it's for

Developers who need accurate API references while coding. AI agents that write or review code and need to verify current syntax. Anyone migrating between library versions who needs to check what changed.

How to use it

  1. Start with resolve_library — search by library name to get the documentation ID (e.g. search "next.js" to find "/vercel/next.js")
  2. Use get_docs with the library ID and a natural language query to fetch relevant docs and code snippets
  3. Specify a version in the library ID (e.g. "/prisma/prisma/v5") to pin to version-specific docs
  4. Increase the tokens parameter beyond the default 5000 when you need more comprehensive coverage

Getting started

Call resolve_library with the library name first — you need the ID it returns before you can fetch docs. For most popular libraries the ID is predictable but resolve_library confirms it and shows what versions are available.

Resolve Library

Search for a library by name and return its Context7-compatible library ID along with metadata like trust score, available versions, and snippet count. Always call this first to get the ID needed by get_docs.

Returns: List of matching libraries with Context7 IDs, trust scores, available versions, and documentation coverage
Get Documentation

Fetch up-to-date documentation and code examples for a library using its Context7-compatible ID. Returns relevant snippets ranked by the query. Use after resolve_library to get the library ID.

Returns: Markdown documentation and code examples relevant to the query, ranked by relevance
Loading reviews...

Loading activity...

v0.022026-03-29
  • Both skills marked paid at $0.005/request
v0.012026-03-29
  • Initial release with resolve_library and get_docs skills

Library Docs Use Cases(3)

Browse all 3 Library Docsguides →
Open Look Up Package Documentation

Look Up Package Documentation

Fetch current documentation for any npm package without leaving your development environment.

Library Docs icon
Library Docs
4 agent guides
Open Schedule Cross-Timezone Meetings

Schedule Cross-Timezone Meetings

Find meeting times that work across multiple timezones without anyone joining at 3 AM.

Timezone Converter icon
Timezone Converter
4 agent guides
Open Translate Marketing Content

Translate Marketing Content

Translate marketing copy, ad text, and campaign content into multiple languages while preserving brand voice.

Translate icon
Translate
4 agent guides
See every Library Docsuse case (Claude, ChatGPT, Copilot, OpenClaw guides) →

Related Tools