Feature request: `claude://` URL scheme for deep linking into Claude Code with pre-loaded context
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Feature request: claude:// URL scheme for deep linking into a session with pre-loaded context
Use case
I'm building a planning tool (Muse) that generates structured project briefs. I want a "Start building with Claude" button that opens Claude Code with the brief already loaded as context — so the user lands in a session ready to build, without copy-pasting.
What I'm asking for
A claude:// URL scheme registered by the Claude Code desktop app, supporting something like:
claude://new?prompt=<encoded-text>
or
claude://new?context=<base64-encoded-json>
Why it matters
This unlocks a whole category of tool integrations — design tools, planning tools, project managers — that want to hand off structured context to Claude Code in one click. Right now there's no clean way to do this from a web app button without CLI access or manual copy-paste.
Proposed Solution
Proposed solution
The Claude Code desktop app registers a claude:// URL scheme on install. A web app or tool constructs a URL like:
claude://new?prompt=<url-encoded-text>
or for structured data:
claude://new?context=<base64-encoded-json>
Clicking the URL opens Claude Code (or focuses it if already running) and starts a new session with the prompt or context pre-loaded — exactly like opening a terminal and piping text in, but triggerable from any browser or app.
Alternative Solutions
_No response_
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗