# Fetch Docs for RAG based on package.json

**URL:** <https://forum.cursor.com/t/fetch-docs-for-rag-based-on-package-json/22059>\
**Category:** Help\
**Created:** [October 10, 2024, 4:34am UTC](https://forum.cursor.com/t/fetch-docs-for-rag-based-on-package-json/22059 "2024-10-10T04:34:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebkouba](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sebkouba/32/7118_2.png) [@sebkouba](https://forum.cursor.com/u/sebkouba)\
**Post date:** [October 10, 2024, 4:34am UTC](https://forum.cursor.com/t/fetch-docs-for-rag-based-on-package-json/22059/1 "2024-10-10T04:34:52Z")

</div>

Wouldn’t it be possible to have a library / database of documentation for npm packages that can then be ragged in a reasonable way? Do you add docs manually all the time?

I’ve googled this but didn’t find anything.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:17am UTC](https://forum.cursor.com/t/fetch-docs-for-rag-based-on-package-json/22059/2 "2026-06-18T10:17:36Z")

</div>


