# Chat with multiple codebase

**URL:** <https://forum.cursor.com/t/chat-with-multiple-codebase/5263>\
**Category:** Help\
**Created:** [May 25, 2024, 4:25pm UTC](https://forum.cursor.com/t/chat-with-multiple-codebase/5263 "2024-05-25T16:25:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![haduse](https://avatars.discourse-cdn.com/v4/letter/h/7ea924/32.png) [@haduse](https://forum.cursor.com/u/haduse)\
**Post date:** [May 25, 2024, 4:25pm UTC](https://forum.cursor.com/t/chat-with-multiple-codebase/5263/1 "2024-05-25T16:25:15Z")

</div>

Hey, I’m wondering can we ask cursor AI to go through and use multiple codebases when answering questions? e.g., if my current project is using / importing functions from two other packages/codebases and these two packages do not have documentaions, is there a way to ask cursor to check and use these two additional codebases when phrasing the response? I see there’s an @codebase function, but I’m not sure whether it is for this function, nor about how to use it.

---

<div class="post-metadata">

**Author:** ![KaddaTech](https://avatars.discourse-cdn.com/v4/letter/k/6de8d8/32.png) [@KaddaTech](https://forum.cursor.com/u/KaddaTech)\
**Post date:** [May 26, 2024, 9:11pm UTC](https://forum.cursor.com/t/chat-with-multiple-codebase/5263/2 "2024-05-26T21:11:06Z")

</div>

I’d like know this too.

I have multiple projects in a local repository folder that it could be really beneficial for cursor to be able to scan and index them.

---

<div class="post-metadata">

**Author:** ![gjohnhazel](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/gjohnhazel/32/26287_2.png) [@gjohnhazel](https://forum.cursor.com/u/gjohnhazel)\
**Post date:** [February 12, 2025, 7:00pm UTC](https://forum.cursor.com/t/chat-with-multiple-codebase/5263/3 "2025-02-12T19:00:00Z")

</div>

I’m also interested in this. My current use-case is that I have multiple apps to deploy on a single server and I’d like some AI recommendations on best practices for server configuration, but I want the AI to have the whole context of what needs to be deployed

---

<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:** [February 20, 2025, 12:40pm UTC](https://forum.cursor.com/t/chat-with-multiple-codebase/5263/4 "2025-02-20T12:40:03Z")

</div>

Right now there’s no direct way to have chat reference multiple codebases at once, but there’s a workaround you can try - you can use chat to summarize the implementation details of one codebase, then paste that summary as context in a new chat when looking at the other codebase

For your server config case, you could:

1. Open each app’s codebase separately in Cursor
2. Use @codebase to get a summary of each app’s implementation and requirements
3. Create a new chat with your server config files open
4. Paste in the summaries from step 2 as context
5. Ask for configuration recommendations with all that context available

Not ideal but should help get you the context you need until we add proper multi-codebase support

---

<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:28am UTC](https://forum.cursor.com/t/chat-with-multiple-codebase/5263/5 "2026-06-18T10:28:49Z")

</div>

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


