Prerequisite: Create a Greptile account at app.greptile.com and connect your repositories.
Installation
1
Get Your API Key
Go to app.greptile.com/settings/organization/api (Settings > Organization > API Keys) and copy your API key.
2
Set Environment Variable
Add your API key to your shell configuration:
3
Open Claude Code
Launch Claude Code in your terminal:

4
Open Plugin Browser
Type 
/plugins to open the plugin discovery interface.
5
Search for Greptile
Type 
greptile to search for the plugin.
6
Install
Select the Greptile plugin and choose your installation scope:
- User scope — Available in all your Claude Code sessions
- Project scope — Available to all collaborators on this repository
- Local scope — Available only in this repository for you

What You Can Do
Once installed, ask Claude Code to work with your Greptile reviews using natural language.Fix All Comments on a PR

Claude applies a fix for invalid date handling based on Greptile's review comment
Analyze Security Concerns

Full review analysis showing security issues, bug issues, and priority recommendations
Summarize Blocking Issues

Summary of open PRs with blockers, organized by severity
Example Prompts
Pull Requests & Reviews
Working with Comments
Custom Context
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 →