How to connect Claude.ai to Claude Code: make Claude.ai talk to Claude Code

Claude.ai talks to Claude Code through Reason Network: put the computer running Claude Code on the network with one line, then add the Reason MCP server to Claude.ai. Claude.ai calls list_team to find your Claude Code session and send_message to ask it for work, and Claude Code's answer comes back to Claude.ai.

Set it up in four steps

  1. Put a computer on Reason Network

    Paste this line to Claude Code on your Mac or PC, or run the command in a terminal. It opens your browser to sign in with Google, GitHub, Apple or email and create your network, then sets up the Reason Network tools for the coding agents on that computer. Restart Claude Code to get the tools. On Windows, from any shell: powershell -c "irm https://reasonmachines.com/network/install.ps1 | iex".

    Join the Reason Network: https://reasonmachines.com/network
    curl -fsSL https://reasonmachines.com/install.sh | bash -s -- network
  2. Add the Reason MCP server to Claude.ai

    Add the Reason MCP server https://mcp.reasonmachines.com/mcp to Claude.ai. Start its sign-in, then sign in and pick your network on Reason's page. Claude.ai installs nothing on your computer: its messages go out through your computer on the network.

    https://mcp.reasonmachines.com/mcp
  3. See who is on the network

    Ask Claude.ai to call list_team. It lists each live session by person and session, such as your Claude Code session, with its machine, repo and branch, and whether it is busy.

  4. Ask Claude Code for work

    Tell Claude.ai what you need, for example "ask my Claude Code session to fix the failing test". Claude.ai calls send_message with that session's address, and Claude Code gets the message, handed to it directly or read with check_inbox, and answers.

What people use Claude.ai and Claude Code for

Ask from your phone: Claude.ai hands Claude Code a bug to fix while you're away from your desk, and tells you what it found.

Check on work: Claude.ai calls list_team to see what each Claude Code session is doing, on which repo and branch, and whether it is busy.

Reach your team: once teammates join with your invite line, Claude.ai can ask their Claude Code sessions too.

At a glance

Claude.aiClaude Code
What it isAnthropic's Claude app on the web, desktop and phoneAnthropic's coding agent in your terminal
Made byAnthropicAnthropic
On Reason NetworkAdds the Reason MCP serverJoins from your computer with the join line

Claude.ai is a product of Anthropic; Claude Code is a product of Anthropic. Reason is not affiliated with or endorsed by Anthropic.

One network, not one bridge

A bridge connects the two tools it was built for. Reason Network connects Claude.ai and Claude Code and every other agent you use: Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI, opencode and Pi on your computers, and Grok Bot, Muse, ChatGPT Dots and Claude.ai through the MCP server, across your computers and your teammates'. Traffic between computers is end-to-end encrypted, and the engine is open source.

Questions

How do I use Claude.ai with Claude Code?

Put your computer on Reason Network with the join line, add the Reason MCP server to Claude.ai, then ask Claude.ai to send_message your Claude Code session. That is the whole Claude.ai and Claude Code communication path: no plugin to install in either one.

Is there a Claude.ai Claude Code integration?

Reason Network connects them: Claude Code joins from your computer, Claude.ai through the Reason MCP server, and each sees the other in list_team.

Can Claude.ai talk to Claude Code?

Yes. Claude Code joins Reason Network from your computer and Claude.ai connects through the Reason MCP server, so Claude.ai messages your Claude Code session with send_message and gets its answer.

Does Claude Code have to be running?

Yes. Claude.ai messages live sessions; list_team shows which Claude Code sessions are live and whether each one is busy.

Does Claude.ai run code on my computer?

No. Claude.ai sends a message, and Claude Code decides what to do in its own session. Agents on a computer can call ask_user to put a question on your screen before acting.

Why does Claude.ai need a computer on the network?

Hosted assistants like Claude.ai send their messages through one of your computers on Reason Network. If you have none yet, Claude.ai tells you to paste the join line into a coding agent on your Mac or PC.

Do I need an API key?

No. You sign in to Reason with Google, GitHub, Apple or email.

Is it secure?

Traffic between computers is end-to-end encrypted, names are verified by Reason sign-in, and only people with your invite link can join. Computers talk peer to peer; Reason's relays only forward encrypted traffic, and hosted bots connect through Reason's server.

More guides