# ivygrep

> ivygrep is a free MCP server for developer tools. Local code search and token-budgeted context packs for coding agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, macOS, Linux, Windows
- **Website:** https://bvolpato.github.io/ivygrep/integrations/mcp.html
- **Repository:** https://github.com/bvolpato/ivygrep
- **MCP Registry name:** io.github.bvolpato/ivygrep
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

ivygrep indexes a repository on your machine and answers questions by intent, such as where a token is rotated, then returns ranked file paths, line numbers and previews. Its context-pack mode goes further: given a task and a token budget, it assembles definitions, callers, dependencies, tests, config and docs, labels why each item was selected, and trims the Markdown to the budget. It does not generate an answer or modify files.

The since option takes a Git ref, finds its merge base with HEAD, and includes commits on the current branch plus staged, unstaged and untracked files. Files, queries and embeddings stay local; the default model downloads pinned assets on first use and runs on CPU, with Metal or CUDA builds for optional transformer profiles.

The MCP server runs over stdio as ig --mcp, shipped as a checksum-pinned bundle for macOS, Linux and Windows.

## Features

- **Intent search:** Find code by what it does, hybrid semantic and lexical.
- **Context packs:** Budgeted bundles of related code with reasons for each item.
- **Branch-aware context:** Includes committed, staged and untracked changes since a ref.
- **Local indexing:** A daemon watches the repo and updates the index incrementally.
- **Pinned bundle:** Cross-platform MCP bundle with a pinned SHA-256.
- **Missing-file handling:** Search excludes files confirmed deleted from the workspace.

## Good for

- Gather context for a bug fix within a token budget
- Find where authentication is handled
- Feed an agent only the code relevant to a branch
- Search code and notes without sending them off-machine

## Install

### Claude Code (Terminal)

```sh
claude mcp add ivygrep -- npx -y https://github.com/bvolpato/ivygrep/releases/download/v1.3.6/ivygrep-mcp-v1.3.6.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ivygrep": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/bvolpato/ivygrep/releases/download/v1.3.6/ivygrep-mcp-v1.3.6.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ivygrep": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/bvolpato/ivygrep/releases/download/v1.3.6/ivygrep-mcp-v1.3.6.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ivygrep": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/bvolpato/ivygrep/releases/download/v1.3.6/ivygrep-mcp-v1.3.6.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ivygrep": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/bvolpato/ivygrep/releases/download/v1.3.6/ivygrep-mcp-v1.3.6.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ivygrep": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/bvolpato/ivygrep/releases/download/v1.3.6/ivygrep-mcp-v1.3.6.mcpb"
      ]
    }
  }
}
```

## Tools

- `ig_search`: Searches code or builds a context pack.
- `ig_status`: Reports index state.

## FAQ

### Does my code leave the machine?

The README says files and queries stay on your machine, apart from the first-use model download.

### How do I start the server?

Run ig --mcp over stdio, or install the MCP bundle from a registry client.

### Which platforms?

macOS, Linux and Windows.

### Does it write code?

No. Context packs do not generate answers or change files.

### Is ivygrep free?

Yes. ivygrep is free to use.

### How do I add ivygrep to Claude Code?

Run this command in your terminal: claude mcp add ivygrep -- npx -y https://github.com/bvolpato/ivygrep/releases/download/v1.3.6/ivygrep-mcp-v1.3.6.mcpb

### What are the best alternatives to ivygrep?

The closest alternatives to ivygrep are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/ivygrep
