The Greptile plugin for Claude Code gives you direct access to your code reviews from the terminal. Fetch PR comments, apply fixes, and search review feedback without leaving your workflow.Documentation Index
Fetch the complete documentation index at: https://www.greptile.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisite: Create a Greptile account at app.greptile.com and connect your repositories.
Installation
Get Your API Key
Go to app.greptile.com/settings/organization/api (Settings > Organization > API Keys) and copy your API key.
What You Can Do
Once installed, ask Claude Code to work with your Greptile reviews using natural language.Fix All Comments on a PR

Analyze Security Concerns

Summarize Blocking Issues

Example Prompts
Pull Requests & Reviews
| Task | Prompt |
|---|---|
| List your open PRs | ”Show me all my open pull requests” |
| Filter by author | ”List PRs authored by @johndoe” |
| Get PR details | ”Get the full details for PR #42 including review status” |
| Check review status | ”Has PR #15 been reviewed? What’s still unaddressed?” |
| Trigger a review | ”Run a Greptile review on PR #8” |
Working with Comments
| Task | Prompt |
|---|---|
| List unaddressed comments | ”What Greptile comments are still unaddressed on PR #5?” |
| Fix a specific comment | ”Fix the null check issue Greptile found in auth.ts” |
| Fix all comments | ”Show me all unaddressed comments and fix them one by one” |
| Search across repos | ”Search for comments mentioning ‘SQL injection’ across all my PRs” |
| Find patterns | ”What are the most common issues Greptile has flagged this month?” |
Custom Context
| Task | Prompt |
|---|---|
| List coding standards | ”What custom context rules does my org have?” |
| Search for a pattern | ”Do we have any rules about error handling?” |
| Create a new rule | ”Create a custom context rule: always use parameterized queries for database access” |
Available Tools
The plugin uses Greptile’s MCP server, giving you access to 11 tools:Pull Request Tools (3)
Pull Request Tools (3)
- list_pull_requests — List PRs with filters (author, state, branch)
- get_merge_request — Get full PR details including review analysis
- list_merge_request_comments — Get all comments on a PR
Code Review Tools (3)
Code Review Tools (3)
- list_code_reviews — List reviews with status filters
- get_code_review — Get detailed review information
- trigger_code_review — Start a new review on a PR
Comment Search (1)
Comment Search (1)
Custom Context Tools (4)
Custom Context Tools (4)
- list_custom_context — List org coding patterns
- get_custom_context — Get pattern details
- search_custom_context — Search patterns by content
- create_custom_context — Create new patterns
Learn More
- Agent Skills — Automate the full auto-fix loop with
/check-prand/greploop - Auto-Fix Workflow — Manual patterns for resolving comments from your IDE
- Custom Context — Managing your team’s coding standards
- Reports & Analytics — Generating review metrics and dashboards
Troubleshooting
Plugin not found
Plugin not found
Make sure you’re running Claude Code v2.1 or later. Check your version and update:
Authentication errors
Authentication errors
Verify your API key is set correctly:If empty, add it to your shell config (
~/.zshrc or ~/.bashrc) and restart your terminal.No PRs or reviews found
No PRs or reviews found
Check that:
- Your repositories are connected in app.greptile.com
- You have open PRs with Greptile reviews
- Your API key has access to those repositories
Next Steps
Agent Skills
Automate the full auto-fix loop with
/check-pr and /greploopAuto-Fix Workflow
Manual patterns for resolving review comments
Custom Context
Add your team’s coding standards for better reviews




- search_greptile_comments — Search all Greptile comments across repos
View full parameters →