MCP Grep

Search over a million GitHub repositories for real-world code examples using grep.app. Find literal code patterns, usage examples, and implementation patterns across popular open-source projects. Perfect for discovering how developers use specific APIs, libraries, or coding patterns.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add bolasblack/claude-skills --skill mcp-grep
Manual install
git clone --depth 1 https://github.com/bolasblack/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/mcp-grep ~/.claude/skills/mcp-grep

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# MCP Grep - GitHub Code Search

Search over a million public GitHub repositories for real-world code examples and usage patterns.

**Version**: 0.1.0 (locked 2026-01-20)

## Overview

This skill provides access to [grep.app](https://grep.app), a GitHub code search service that helps you find actual code implementations across a massive collection of repositories. Unlike keyword search, this tool searches for **literal code patterns** - the exact text that appears in source files.

**Key Features:**
- Search literal code patterns (like `grep`)
- Support for regular expressions
- Filter by language, repository, or file path
- Case-sensitive and whole-word matching options
- Multi-line pattern matching with regex

## Tools

| Tool | Description |
|------|-------------|
| [searchGitHub](./tools/searchGitHub.md) | Find real-world code examples by searching for literal code patterns |

**⚠️ Always check [tools/](./tools/) for exact parameter names before calling.**

## Use Cases

- **API Usage Examples**: Find how developers use unfamiliar APIs or libraries
- **Syntax Reference**: Check correct syntax, parameters, or configuration
- **Best Practices**: Discover production-ready implementation patterns
- **Integration Examples**: See how different libraries work together

## Usage

### Quick Start

**⚠️ Before calling any tool, read its documentation in [tools/](./tools/) to get the exact parameter names.**
Read the full skill on GitHub

Details

Skill name
mcp-grep
Path
skills/mcp-grep/SKILL.md
Repo updated
18 November 2026

FAQ

What does the MCP Grep skill do?

Search over a million GitHub repositories for real-world code examples using grep.app. Find literal code patterns, usage examples, and implementation patterns across popular open-source projects. Perfect for discovering how developers use specific APIs, libraries, or coding patterns.

How do I install the MCP Grep skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add bolasblack/claude-skills --skill mcp-grep. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is MCP Grep popular?

It lives in bolasblack/claude-skills, which has 5 GitHub stars and 0 forks.

Related skills

Caveman

5

bolasblack/claude-skills

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

Images, Video & Audio

Agent Centric

5

bolasblack/claude-skills

Track decisions (AGD) with validation and indexing. Use when making design decisions, recording important choices, discussing trade-offs, or when user mentions AGD or decision record.

AI, LLMs & Agents

Codex

5

bolasblack/claude-skills

OpenAI Codex second opinion via the codex CLI — three modes. Review: independent diff review with a pass/fail gate. Challenge: adversarial pass that tries to break the code. Consult: ask Codex anything, with session continuity for follow-ups. Use when the user says "codex review", "codex challenge", "ask codex", or wants a second opinion from Codex.

Software Development

MCP Skill Generator

5

bolasblack/claude-skills

Convert MCP servers to Claude Code skills with progressive disclosure. Use when creating a skill from an MCP server, updating an existing MCP skill, or converting MCP documentation to skill format. Accepts MCP documentation URLs, npm package names, or direct connection info.

AI, LLMs & Agents

MCP Fetch

5

bolasblack/claude-skills

Web content fetching and conversion to markdown for efficient LLM consumption. Provides 1 tool for fetching URLs and extracting content.

AI, LLMs & Agents

Mental Models

8

Freddy-CHEN-ux/00_claude_skills

Load when user says "mental model", "think through this", "structured thinking", "help me decide", "analyze this problem", "first principles", "pre-mortem", "stakeholder mapping", "what framework should I use", or any specific model name. Provides 59 thinking frameworks for decision-making, problem decomposition, and strategic analysis.

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.