morph-search
Installation
SKILL.md
Morph Codebase Search
Fast, AI-powered codebase search using WarpGrep. 20x faster than traditional grep.
When to Use
- Search codebase for patterns, function names, variables
- Find code across large codebases quickly
- Edit files programmatically
Usage
Search for code patterns
uv run python -m runtime.harness scripts/mcp/morph_search.py \
--search "authentication" --path "."
Search with regex
uv run python -m runtime.harness scripts/mcp/morph_search.py \
--search "def.*login" --path "./src"
Edit a file
uv run python -m runtime.harness scripts/mcp/morph_search.py \
--edit "/path/to/file.py" --content "new content"
Parameters
| Parameter | Description |
|---|---|
--search |
Search query/pattern |
--path |
Directory to search (default: .) |
--edit |
File path to edit |
--content |
New content for file (use with --edit) |
Examples
# Find all async functions
uv run python -m runtime.harness scripts/mcp/morph_search.py \
--search "async def" --path "./src"
# Search for imports
uv run python -m runtime.harness scripts/mcp/morph_search.py \
--search "from fastapi import" --path "."
vs ast-grep
| Tool | Best For |
|---|---|
| morph/warpgrep | Fast text/regex search (20x faster) |
| ast-grep | Structural code search (understands syntax) |
MCP Server Required
Requires morph server in mcp_config.json with MORPH_API_KEY.
Related skills
More from parcadei/continuous-claude-v3
discovery-interview
Deep interview process to transform vague ideas into detailed specs. Works for technical and non-technical users.
3.2Kgithub-search
Search GitHub code, repositories, issues, and PRs via MCP
506math
Unified math capabilities - computation, solving, and explanation. I route to the right tool.
497dead-code
Find unused functions and dead code in the codebase
414agentic-workflow
Agentic Workflow Pattern
382premortem
Identify failure modes before they occur using structured risk analysis
370