Library documentation search that returns current, version-accurate docs and code examples for popular frameworks and SDKs. Use when a workflow needs accurate API signatures, configuration syntax, or migration guidance for a specific library. Unlike general web search, returns structured docs directly from the library’s source — no stale blog posts or hallucinated APIs. 2 example endpoints available through Lava’s AI Gateway. See the Context7 API docs for full documentation.Documentation Index
Fetch the complete documentation index at: https://lava.so/docs/llms.txt
Use this file to discover all available pages before exploring further.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under
https://context7.com/api/v2 is supported. Context7 library docs API. Construct URL as https://context7.com/api/v2/{endpoint}. Common endpoints: /libs/search?query=react (resolve library), /context?libraryId=lib_id&query=hooks (query docs). Auth is automatic via Bearer token. The endpoints below are curated examples.Endpoints
Resolve a library name to an ID
GEThttps://context7.com/api/v2/libs/search?query=react — Free
- SDK
- cURL
Query documentation for a resolved library
GEThttps://context7.com/api/v2/context?libraryId=/reactjs/react.dev&query=hooks — Free
- SDK
- cURL
Next Steps
All Providers
Browse all supported AI providers
Forward Proxy
Learn how to construct proxy URLs and authenticate requests