DEV Community

sixteen bridges
sixteen bridges

Posted on

How to share context between Claude Code and ChatGPT

To share context between Claude Code and ChatGPT, save it once as a bubble (a piece of context stored in your Sixteen Bridges account) and connect both apps to it. Claude Code saves with one command or one line of chat, and ChatGPT reads it from a connector. No copy-paste in between. If you only need to do it once, pasting a summary works too, and I cover that below.

We build Sixteen Bridges, which makes the bubbles, the MCP server and the CLI in this article, so we're biased. We'll say where you don't need them.

Why they don't share anything

Claude Code keeps what it knows in your repo (CLAUDE.md) and in its own session history. ChatGPT keeps its own chats, memory and projects. Neither can see the other's. The only thing that crosses is text, so the question is who carries it and how often.

Once, by hand

Say you spent an hour in Claude Code working out a migration plan, and now you want ChatGPT's opinion on it.

  1. In Claude Code, send:

Summarize this session for another assistant: the goal, what we decided, what we ruled out and why, open questions, and any commands or code we settled on. One block I can copy.

  1. Paste the answer into a new ChatGPT chat with one line on what you want: "Review this plan and tell me what's risky."

That's the whole method. It loses the exact wording and any files, and you redo it every time. If you do this weekly, the next section saves you the copying.

Every time: one bubble, two apps

Bubbles: save context once, use it in ChatGPT, Claude, Gemini, Grok, Perplexity, Cursor and 20+ more AI tools. A bubble is context you save once; any connected app can read it. Claude Code and ChatGPT connect in different ways, so here are both.

Claude Code

The CLI is the quickest way to put something in. Sign in once per computer (your browser opens, you click Allow):

npx sixteenbridges login
Enter fullscreen mode Exit fullscreen mode

Then save a file, or pipe text in:

npx sixteenbridges save "Migration plan" plan.md
cat notes.md | npx sixteenbridges save "Migration plan"
Enter fullscreen mode Exit fullscreen mode

Claude Code can also use the CLI itself. Tell it "Use the sixteenbridges command for my bubbles" and it runs list, get and save as it needs them. The CLI docs list every command, and every one takes --json.

For a built-in connection instead, add the MCP server, then run /mcp inside Claude Code, pick sixteen-bridges and sign in:

claude mcp add --transport http sixteen-bridges https://mcp.sixteenbridges.com/mcp
Enter fullscreen mode Exit fullscreen mode

With that, you can say "save this plan as a bubble called Migration plan" in the middle of a session.

ChatGPT

ChatGPT can't be told to connect itself, so you add the same server as a connector. The menus move around, so we'll name the sections rather than every click:

  1. Turn on Developer mode: Settings, then Apps (or Connectors), then Advanced settings.
  2. Create an app or connector with the URL https://mcp.sixteenbridges.com/mcp and OAuth sign-in.
  3. Allow it on the sign-in page, then turn it on in the chat.

Developer mode is on paid plans. Saving or editing bubbles from ChatGPT may need a Business or Enterprise plan, and a workspace admin may have to allow custom apps first. Reading bubbles is the part you need here.

Shortcut for either

You can also paste this into Claude Code or ChatGPT, word for word:

Connect my Sixteen Bridges account — follow https://sixteenbridges.com/llms.txt

Claude Code signs itself in and you click Allow. ChatGPT reads the file and tells you the steps above.

Use it

In ChatGPT:

Read my bubble "Migration plan" and tell me what's risky about it.

Later, in Claude Code:

Add to my bubble "Migration plan": we're keeping the old column until March.

Both apps now see the same, updated text. The free plan holds 20 bubbles of up to 512 KB of text each.

Limits

  • Bubbles are text. Images and files don't come across.
  • They're stored as plain text, not end-to-end encrypted. Keep keys and passwords out of them.
  • Nothing syncs by itself. An app reads a bubble when you ask it to, and it only changes when you or an app you allowed saves to it.
  • ChatGPT's connector setup is the hard part. It needs a paid plan, and what it can write depends on your plan.
  • If a file belongs with your code and should go through review, keep it in the repo. A CLAUDE.md is better for that. Use a bubble for what has to cross tools.

When you're mid-chat in the browser

Bubbles cover what you want every tool to know. If you're an hour into a chat on chatgpt.com and want Claude's web app to pick it up, LLM Context Bridge is our free Chrome extension for that: click the panel in the bottom-right corner, pick Claude, and a new tab opens with the conversation pasted in. It doesn't reach Claude Code, which runs in a terminal.

Start with one bubble. The free plan has room for 20, and the setup steps for each app are on the site.

Top comments (0)