Context7
Gives an agent up-to-date, version-accurate documentation for the libraries and frameworks it writes code against. The typical flow is two steps: search for a library to resolve its Context7 library id, then fetch that library's docs - optionally scoped to a topic and capped to a token budget so only the relevant section comes back.
What it can do
| Method | What it does |
|---|---|
context7_search | Search for a library or framework by name and get matching Context7 library ids. |
context7_get_library_docs | Fetch a library's docs by id, optionally scoped by topic and capped by a token budget. |
context7_request | Generic passthrough to any Context7 endpoint for full API coverage. |
How to get your key
Context7 authenticates with a Bearer API key.
- Sign in at context7.com.
- Open your dashboard and find the API key section.
- Create (or copy) a key and paste it into FlyMyAI.
Fields to fill
| FlyMyAI field | Where it comes from |
|---|---|
CONTEXT7_API_KEY | Context7 Dashboard -> API key |
Troubleshooting
401 Unauthorized- the key is wrong or has been rotated. Create a fresh key in the Context7 dashboard and paste it again.- No results from
context7_search- try the library's common name (e.g.next.js,fastapi); broaden the query and search again. - Docs come back empty or truncated - raise the
tokensbudget, or drop thetopicfilter to get the full documentation set.
Links
We love our partners - FlyMy.AI builds with the best. Thanks, Context7!