mcpbeat

Morph Search

parcadei/morph-search

Fast codebase search via WarpGrep (20x faster than grep)

408 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
3880
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill morph-search

The instruction itself

10 sections, as written by the author

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.

How to use it

Copy the folder

Take parcadei/morph-search from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.