claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Feature request: Connect Claude code to Claude projects

Open salimmallick opened this issue 1 year ago • 57 comments

Feature Request: Integrate Claude Code with Claude.ai Projects Knowledge Bases

Summary

Enable Claude Code to access and leverage knowledge bases from Claude.ai Projects, allowing developers to use their existing project documentation, specifications, and reference materials directly within their coding workflows.

Current State

  • Claude.ai Projects allow users to upload documents and create knowledge bases that Claude can reference within
  • Projects offer caching benefits where uploaded documents are cached for future use, and only new/uncached portions count against usage limits [(1)](https://support.anthropic.com/en/articles/10167454-using-the-github-integration)
  • Claude Code currently supports project-specific configurations using .claude/settings.json files and custom slash commands [(2)](https://github.com/anthropics/claude-code-action/blob/main/README.md)
  • CLAUDE.md files can link other Markdown and text files, which are automatically pulled into context [(2)](https://github.com/anthropics/claude-code-action/blob/main/README.md)

Proposed Enhancement

Allow Claude Code to connect to and access Claude.ai Projects knowledge bases, enabling:

  1. Seamless Knowledge Integration: Access existing project documentation, API specs, design documents, and other reference materials stored in Projects
  2. Efficient Caching: Leverage the existing Projects caching system to avoid repeatedly processing the same documents
  3. Unified Workflow: Maintain context across both web-based Claude interactions and terminal-based Claude Code sessions
  4. Enhanced Context: Provide Claude Code with richer project understanding through comprehensive knowledge bases

Use Cases

  • API Development: Access API documentation and specifications while implementing endpoints
  • Code Refactoring: Reference architectural decisions and design patterns stored in Projects
  • Bug Fixes: Consult troubleshooting guides and known issues documentation
  • Feature Implementation: Access product requirements and user stories during development
  • Code Reviews: Reference coding standards and best practices from project documentation

Benefits

  • Reduced Context Switching: Developers can access project knowledge without leaving their terminal
  • Improved Code Quality: Better context leads to more informed coding decisions
  • Cost Efficiency: Leverage existing Projects caching to reduce token usage
  • Consistency: Ensure Claude Code has the same project context as web-based Claude sessions

Implementation Suggestions

  • Add a configuration option to link Claude Code sessions to specific Claude.ai Projects
  • Extend the .claude/settings.json format to include project references
  • Provide commands to sync or refresh project knowledge within Claude Code
  • Consider integration with the existing CLAUDE.md linking mechanism

Technical Considerations

  • Maintain security and access controls consistent with Projects permissions
  • Handle offline scenarios gracefully when project knowledge isn't accessible
  • Provide clear indicators when project knowledge is being used vs. local context

This feature would significantly enhance Claude Code's capabilities by combining the power of local development tools with the rich knowledge management features of Claude.ai Projects.

salimmallick avatar Jun 24 '25 04:06 salimmallick

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/1482

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 16 '25 06:08 github-actions[bot]

I strongly endorse this feature. I commonly will use Claude projects to help me organize my brainstorming and feature planning and development. I often do this on my mobile device when I'm not near my computer or terminal sometimes I'll do it on the go. It would be really helpful if Claude code was able to have up-to-date knowledge about my brainstorming sessions that I develop on the Claude app and linked to a project.

cgaaf avatar Aug 19 '25 19:08 cgaaf

I would also love to see this feature. Claude chat is excellent for planning and doing high level design. Claude Code is really good for implementing that. It would be great to see a connector for this.

A one-way sync could theoretically be implemented by allowing Claude Code to configure a global /projects directory somewhere on the user's filesystem. One folder per Claude Project. When you do a brainstorming session via Claude desktop, offer a 'sync' option that:

  • Generates a summary of what was achieved in this session.
  • Adds it to the Project resources
  • Keeps the local /project directory in sync with the remote project resources folder.

Then offer a sync-project command for the claude CLI, which reads the files in the configured local /projects/name-of-project folder, and updates the CLAUDE.MD file with references to the contents of the results of the individual sessions within a project.

There might be a better way to do it, but that's what comes off the top of my head.

jnchaba avatar Sep 03 '25 02:09 jnchaba

+1 on this!

Would love to see some continuity between claude.ai and Claude Code

Moving from discussion to coding I'll often hash out architecture ideas or debug approaches on claude.ai, then when I jump into Claude Code to actually build it, I have to re-explain everything we just talked about or provide a .md file and vice versa - claude code to claude.ai. I kind of hack this with claude projects but doesn't feel as seamless as it could

Keeping context across sessions Being able to reference earlier conversations about why we chose a certain approach or what trade-offs we discussed would be really useful. Right now I'm just copy-pasting stuff between the two, which feels clunky.

Saving time and tokens It'd be nice to not have to repeat the same background info every time I switch from planning mode to implementation mode.

I know the main ask here is about project knowledge bases (which sounds great), but honestly even something simpler like being able to link to a claude.ai conversation or pull in recent chat history would go a long way.

Would make the whole workflow between the two platforms feel way more connected.

zachjxyz avatar Nov 02 '25 16:11 zachjxyz

+1 on this as well. right now I use .md files of the project which has the full history, PRDs, designs, etc. to share between claude app and calude code. full project memory would be great but as other mentioned even direct access to chats, files in the project is a good start.

mohi86 avatar Nov 04 '25 10:11 mohi86

I have also wondered why this is not possible yet

ManuelKugelmann avatar Nov 06 '25 21:11 ManuelKugelmann

I totally support this feature. We use the chat to brainstorm. We have provide guidelines and documentation to support the design. then let claude code integrate the design into your project. That it is a win win

bravo-jcd avatar Nov 11 '25 10:11 bravo-jcd

Plus 1. This would be a great way to manage context and even allow collaboration between folks who want outcomes from the folks who are coding the app in claude code. I also like the separation of concerns as a solo developer for this and should be more efficient at managing context.

notorioustig avatar Nov 14 '25 13:11 notorioustig

I hate to add a "me too" to this, but... well... here I go adding one.

Slight difference in positioning with me, though. My position is not "it'd be nice if..."; to me this is just a no-brainer, and is - surely - table-stakes?! Anthropic needed my credentials to "activate" the Claude Code plug-in in VSCode, so it already knows who I am. How did it not occur to anyone that possibly the already existing work in my account (projects, chats, context guidance, memory summaries etc) would not be equally relevant across various different entry-point UIs (which is all the difference between Claude Code and Claude Desktop really is, surely?)? That info shapes the entire Claude experience.

Anyway... sorry to gripe, I mean I can continue to work with Claude Desktop & MCP servers, so I'm all good; I'm just... well... surprised this wasn't addressed before launch.

Other than that, cheers for all the hard-work the dev team are putting into the Anthropic products. I realise it's almost certainly not you bods making these decisions ;-)

adamcameron avatar Nov 18 '25 10:11 adamcameron

I want to add a related request: it would be extremely helpful if Claude Code could access artifacts created in the Claude UI (files, diagrams, bundles, etc.), not just Project knowledge bases.

Right now, anything generated in the UI has to be manually downloaded or copied over to Claude Code, which breaks the workflow. Having a way to reference or pull in UI-created artifacts directly would make the transition between UI brainstorming and Code implementation much smoother.

This feels like an important piece of connecting Claude Code with the broader Claude ecosystem.

mikaelsamv avatar Dec 03 '25 21:12 mikaelsamv

Adding my voice in support of this request. If some Action or Agent is looking for clues as to were engineers should focus there limited energy and attention... this is it. Moving seemlessly between interconnected workspaces is the obvious way you can actuallly make claude.ai/code a fundamentally important part of their work flow.

Roo code did something smart that i think serves as a model for how claude itself should work at scale . https://docs.roocode.com/roo-code-cloud/roomote-control

Clearly this isn't a small request but I think its a bigger game changer than y'all realize.

Start a project in a terminal app, or a relay or a wrapper around a terminal app, and all of a sudden super powers are at the finger tips of so many users who right now are scared of the terminal. The key is the ability to continue to interact with an agent seemlessly from your terminal agent to your web app and vice versa... that would not only be better for users but it would fundamentally change the way people can use their computers.

My guess is for many the killer app would be simple device management and customization. Manufacturers are trying to bake this with like co-pilot on pc's and gemini apparently soon on macs? But what if users could just do it all from the claude app with a secure tunnel to claude code. For many it would be things as simple as changing icons or organizing files more efficiently on their devices with chat commands. And that leads to troubleshooting your own network connection, better understanding your security issues, optimizing your set up. All of a sudden there is huge value for browser based coding agents that can unlock terminal agent functionality. Conveniently relaying approvals, interuptions and feedback loops into projects with full acess to apis, mcps and all that an agent with control of the command line has to offer.

In truth this is just something I want for my workflow. I switch devices a lot. I think many of us are multi device or multi work station or whatever you want to call it. It would be great to be able have a continuous experience. Someday maybe even running locally on our own little servers, dare to dream. haha

If you have read all of this, thanks for your attention. Have fun out there, touch grass, drink water.

M0nkeyFl0wer avatar Dec 09 '25 22:12 M0nkeyFl0wer

hugely endorse of this feature too. I have two devices that I would need to switch frequently. Having a way to resume from another device would be an efficiency killer for me

Jiayang-21 avatar Dec 17 '25 00:12 Jiayang-21

Adding a Teams Plan and collaboration angle to this request.

Most comments here focus on individual workflows (personal brainstorming -> implementation), which is valid. But there's a related gap that affects engineering teams paying for the Teams Plan (I'm an Engineering Manager).

Part of the reason I advocated for a Team Plans is collaboration features. However, currently we have:

  • The Projects feature - works great in the web UI
  • The "Ask [ORG]" feature - works great in the web UI
  • Claude Code - completely disconnected from Projects, with only per-user or per-repo configuration

For teams whose primary workflow is Claude Code in terminals/IDEs, the collaboration features we're paying for aren't accessible where we work.

Our team works across 10+ repositories with different tech stacks (Python services, Scala backends, TypeScript frontends, Shell scripts, YAML files, etc). Each repo can have its own .claude/CLAUDE.md or AGENTS.md, but:

  • Team standards (testing requirements, review expectations, architectural patterns) must be duplicated across every repo
  • No team-level config layer exists between personal ~/.claude/CLAUDE.md and organization-wide settings
  • Different teams in the same org have different standards; org-wide settings are too broad

Current workarounds:

  • Team members share their prompts and settings in team meetings and chats.
  • Team members edit shared markdown files in the code.
  • Collaboration via other tools and integrating via MCP.
  • Shared git repos with symlinks to a personal ~/.claude folder.

These all work but they are manual and fragile.

What would help

Beyond connecting to Projects knowledge bases (the original request), consider:

  1. Claude Code -> Projects integration (this issue's core ask)
  2. Team-scoped configuration - a layer between personal and org-wide that team members inherit automatically
  3. Multi-repo project definition - a way to define shared context across related repositories

The original request would solve (1). But (2) and (3) would address the team collaboration gap that makes the Teams Plan feel like we're paying for features we can't use in our actual workflow.

RommelTJ avatar Dec 17 '25 18:12 RommelTJ

110% it's extremely surprising that this didn't exist from the start - just used some Opus 4.5 credit to discover this ticket and the fact that I can't do what I want which seems to be the most obvious thing to do:

  1. Set up a project in claude - context for both chat and claude code work
  2. Set up a project root on disk
  3. Launch claude code in that root and tell it to use the project
  4. Proceed to operate on each repo in turn from that project root using that project context

I'll also upvote but this one needs to get implemented. Just bought the 100usd/month plan for summer and was hoping to do this, now I have work to do to set up that context on disk to match :-/ oh well, good enough for now, but c'mon Anthropic, pull finger on this one!

fredcooke avatar Dec 19 '25 03:12 fredcooke

One way would be if Claude would have an MCP to project memory and artifacts at minimum. I often do some planning, conceptualizing in Claude and then go and develop in Claud Code.

tdi avatar Jan 03 '26 08:01 tdi

+1 I'm in agreement with this request as well as the comments augmenting the feedback. Extending Code and allowing Claude Work to tie into project chats and attachments would be a very powerful toolset that is able to work in a unified way over our project efforts.
Being able to distribute the architecture and design and specification discussion (strategic layer) from Claude Chat with is larger context window and project files, to the claude code (tactical layer) and its focused sessions would be great. Continue on to enabling the coordination capabilities of claude work would become a very powerful stack to work over!

tgelite avatar Jan 27 '26 20:01 tgelite

Please enable this, it would be amazing to have the entire workflow embedded although co-work has been created.

TNGkernelMaster avatar Jan 30 '26 11:01 TNGkernelMaster

+1

hawkeye-sama avatar Feb 02 '26 11:02 hawkeye-sama

+1

garyfuhr avatar Feb 02 '26 18:02 garyfuhr

+1 I'm currently forced to use NotebookLM and the NotebookLM skill to handle large documentation. It would be great if everything could stay within the Claude ecosystem, but the Claude project needs to improve a bit before reaching the same level of information extraction that NotebookLM provides.

heitorslira avatar Feb 02 '26 18:02 heitorslira