Supercharge your coding agent
One command installs the morph CLI and its skills into Claude Code, Cursor, Codex, or OpenCode. WarpGrep search and Fast Apply edits run through the agent's shell, so nothing sits in the prompt until it is needed.
$ npx -y @morphllm/morph-setup --morph-api-key YOUR_API_KEYCreate an account to get your API key pre-filled
morph search
WarpGrep over your repo from a natural-language question
morph search --github
Same search over any GitHub repo, shallow-cloned locally
morph apply
Fast Apply edits at 10,500+ tokens per second
Skills (explore, feature-research, code-research, fast-apply) tell the agent when to run each. Add --mcp for the legacy MCP server.
Legacy: MCP server
For hosts that cannot run shell commands. An MCP server puts its tool schemas into every prompt; the CLI and skills above do not. Already have the CLI? morph install --mcp registers it.
claude mcp add morph-mcp --scope user -e MORPH_API_KEY=your-api-key-here -- npx --prefer-offline -y @morphllm/morphmcp && mkdir -p ~/.claude && echo "Fast Apply: IMPORTANT: Use \`edit_file\` over \`str_replace\` or full file writes. It works with partial code snippets—no need for full file content.
Warp Grep: warp-grep is a subagent that takes in a search string and tries to find relevant context. Best practice is to use it at the beginning of codebase explorations to fast track finding relevant files/lines. Do not use it to pin point keywords, but use it for broader semantic queries. \"Find the XYZ flow\", \"How does XYZ work\", \"Where is XYZ handled?\", \"Where is <error message> coming from?\"" >> ~/.claude/CLAUDE.mdInstalls MCP and configures your agent to prefer Morph tools
Powered by three specialized models
Lightning-fast code merging
Apply AI-generated edits at 10,500+ tokens per second. No waiting, no lag—just instant code updates that keep your flow uninterrupted.
5x faster context subagent
Sub-agent built for grepping that finds the right code without polluting context. Precision retrieval at lightning speed.
Real code from real repos
Your agent searches actual GitHub implementations, not scraped docs. Fast, cheap, accurate retrieval across any public repo.
Replaces Claude Code compact
This installer configures Morph Compact as your agent's compaction provider. 33,000 tok/s verbatim compaction replaces the default /compact and auto-compact — no summarization, no lost file paths or error codes.