# How can I add my custom RAG embedded Claude model with composer?

**URL:** <https://forum.cursor.com/t/how-can-i-add-my-custom-rag-embedded-claude-model-with-composer/40370>\
**Category:** Help\
**Created:** [January 9, 2025, 4:54pm UTC](https://forum.cursor.com/t/how-can-i-add-my-custom-rag-embedded-claude-model-with-composer/40370 "2025-01-09T16:54:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seamusmcaffrey](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/seamusmcaffrey/32/19310_2.png) [@seamusmcaffrey](https://forum.cursor.com/u/seamusmcaffrey)\
**Post date:** [January 9, 2025, 4:54pm UTC](https://forum.cursor.com/t/how-can-i-add-my-custom-rag-embedded-claude-model-with-composer/40370/1 "2025-01-09T16:54:27Z")

</div>

Hi folks –

Apologies if this is documented somewhere but I’m having trouble figuring out how to set my custom RAG model as the one Composer uses.

My setup includes a pipeline that enhances Claude’s responses by retrieving relevant context from a Pinecone database of embeddings (documentation and code snippets for a specific library). When prompted, the pipeline retrieves and appends this context to the query before sending it to Claude via the Messages API. Currently just doing this with a py script but obviously getting the right context into the prompt and then feeding it back to cursor to build is challenging.

I assumed that I’d be able to somehow set this “modified Claude” as the model that composer uses in order to get more refined suggestions than base Sonnet. I’m sure I’m missing something but I haven’t been able to figure out how to set this up…

→ _ **Is anyone able to point me at reference material that would help me understand how to set my custom model in composer, or offer any general tips?** _

Any guidance would be greatly appreciated, thanks in advance!

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 13, 2025, 3:52pm UTC](https://forum.cursor.com/t/how-can-i-add-my-custom-rag-embedded-claude-model-with-composer/40370/2 "2025-01-13T15:52:29Z")

</div>

Hey, unfortunately, Cursor does not have support for users adding their own RAG pipeline, While you may be able to implement this into your own custom API, which you can use in the settings, the default context process cannot be changed or disabled for Cursor AI queries.

---

<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:24am UTC](https://forum.cursor.com/t/how-can-i-add-my-custom-rag-embedded-claude-model-with-composer/40370/3 "2026-06-18T10:24:16Z")

</div>

Closed on June 18, 2026, 10:24am UTC


