# jcodemunch-mcp-code-retrieval

The jcodemunch-mcp-code-retrieval skill lets an agent query repository symbols and their relationships through MCP. Use it to inspect a codebase by asking for specific implementations instead of browsing files line by line.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 230 installs · ★ 9 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/jcodemunch-mcp-code-retrieval/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/jcodemunch-mcp-code-retrieval

## What it does

jCodeMunch indexes a repository by parsing its syntax tree, then exposes structured queries for functions, classes, methods, and constants. An agent can locate an implementation, assemble task context within a token budget, trace references and imports, inspect change impact, or find dependency cycles.

The toolset also covers dead code, symbols without tests, similar code, and checks for whether a symbol is safe to remove. Semantic search requires the `sentence-transformers` library, so that mode depends on an extra setup step. The README gives `uvx jcodemunch-mcp` for running the MCP server; installing this skill is a separate step.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill jcodemunch-mcp-code-retrieval -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/jcodemunch-mcp-code-retrieval/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/jcodemunch-mcp-code-retrieval/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill jcodemunch-mcp-code-retrieval -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/jcodemunch-mcp-code-retrieval/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill jcodemunch-mcp-code-retrieval -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/jcodemunch-mcp-code-retrieval/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/mcp-skills skills/jcodemunch-mcp-code-retrieval
```

2. **Manually: put the files in place**
- File: `.github/skills/jcodemunch-mcp-code-retrieval/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill jcodemunch-mcp-code-retrieval -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/jcodemunch-mcp-code-retrieval
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/jcodemunch-mcp-code-retrieval/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill jcodemunch-mcp-code-retrieval -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/jcodemunch-mcp-code-retrieval/SKILL.md

## When to use it
- locate a function or method implementation by symbol name
- assemble task context within a token budget
- trace references and imports for a symbol
- inspect which code may be affected by a change
- find unused or similar code

## Example prompts
- Find the user authentication implementation and show the relevant symbols.
- Gather context for a bug where authentication tokens expire too early.
- Check whether `legacy_auth_handler` is safe to remove and find its references.

## Similar
- [jCodemunch MCP](https://affpapa.org/en/nevibecode/mcp/jcodemunch-mcp.md) — MCP server · ★ 2857 repo stars
- [codegraph](https://affpapa.org/en/nevibecode/skills/codegraph.md) — skill · 891 installs
- [smart-explore](https://affpapa.org/en/nevibecode/skills/smart-explore.md) — skill · 7800 installs
- [GitHub Code Search](https://affpapa.org/en/nevibecode/mcp/github-code-search.md) — MCP server · 3818 installs
- [Octocode](https://affpapa.org/en/nevibecode/mcp/octocode.md) — MCP server · ★ 529 repo stars
- [Sense](https://affpapa.org/en/nevibecode/mcp/sense.md) — MCP server · ★ 48 repo stars

From the same set: [reason-machines/mcp-skills](https://affpapa.org/en/nevibecode/by/reason-machines/mcp-skills.md) — 98 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
