Skip to main content

AI-powered PR review for Claude Code by Entelligence.AI

Project description

Entelligence PR Reviewer for Claude Code

AI-powered PR review inside Claude Code. Analyzes code quality, security, performance, and best practices using Entelligence.AI.

Quick Start

Install and add to your Claude Code MCP config (~/.claude/.mcp.json):

pip install entelligence-pr-reviewer
{
  "mcpServers": {
    "entelligence-pr-reviewer": {
      "command": "entelligence-pr-reviewer"
    }
  }
}

Restart Claude Code. On first use, you'll be prompted to enter your API key — no manual config needed.

What You Get

  • /entelligence-review 42 — Review PR #42 in your current repo
  • /entelligence-review — Review your local uncommitted changes
  • Natural language — Just say "review PR #42" and Claude calls the tool automatically

Setup

1. Install & Add the MCP Server

pip install entelligence-pr-reviewer

Add to ~/.claude/.mcp.json (global) or .mcp.json (per-project):

{
  "mcpServers": {
    "entelligence-pr-reviewer": {
      "command": "entelligence-pr-reviewer"
    }
  }
}

2. Get Your API Key

On first use, the plugin will:

  1. Open your Entelligence dashboard in the browser
  2. Ask you to paste your API key
  3. Save it securely to ~/.entelligence/credentials.json

That's it. No config file editing required.

Already have a key? You can also set it via environment variable:

{
  "mcpServers": {
    "entelligence-pr-reviewer": {
      "command": "entelligence-pr-reviewer",
      "env": {
        "ENTELLIGENCE_API_KEY": "ent-your-key-here"
      }
    }
  }
}

3. Copy the Skill (optional — for /entelligence-review slash command)

To get the /entelligence-review slash command, copy the skill to your project:

mkdir -p .claude/skills/entelligence-review
curl -o .claude/skills/entelligence-review/SKILL.md \
  https://raw.githubusercontent.com/Entelligence-AI/entelligence-claude-code/main/.claude/skills/entelligence-review/SKILL.md

Without the skill, the MCP tools still work — just say "review PR #42" in natural language.

Usage

Slash Command

/entelligence-review 42                                      # Review PR #42
/entelligence-review https://github.com/owner/repo/pull/42   # Review by URL
/entelligence-review                                         # Review local changes
/entelligence-review staged                                  # Review staged changes

Natural Language

Just tell Claude what you want:

MCP Tools

Tool Description
review_pr Review a PR by number (async, handles large PRs)
review_diff Review a raw diff string (sync, for small/local diffs)
get_review_status Check status of a previously submitted review
get_user_info Show your Entelligence account info
save_api_key Save your API key (called automatically during setup)

Options

Parameter Values Default Description
priority_level low, medium, high low Review depth
mode concise, verbose concise Output verbosity

Example: "Do a high-priority verbose review of PR #42"

Configuration

Environment Variable Default Description
ENTELLIGENCE_API_KEY API key (or use interactive setup)
ENTELLIGENCE_API_URL https://entelligence.ddbrief.com API base URL
ENTELLIGENCE_DASHBOARD_URL https://app.entelligence.ai Dashboard URL

How It Works

You: "/entelligence-review 42"
  → Claude calls get_user_info (auth check)
  → Claude calls review_pr with repo + PR #42
  → MCP server submits async review job to Entelligence API
  → Polls until review is complete (~1-5 min)
  → Claude presents results with actionable fix suggestions
  → You can ask Claude to apply the fixes automatically

Development

git clone https://github.com/Entelligence-AI/entelligence-claude-code.git
cd entelligence-claude-code
npm install
npm run build

# Point your .mcp.json to the local build for testing
# "args": ["/path/to/entelligence-claude-code/dist/index.js"]

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

entelligence_code_reviewer-1.0.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

entelligence_code_reviewer-1.0.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file entelligence_code_reviewer-1.0.0.tar.gz.

File metadata

File hashes

Hashes for entelligence_code_reviewer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 293c0c1588a71f3126f9d242ce7bfa6d725b7703c7485843e56678a1c69beaa0
MD5 7cf13b3bf7f1e26ec063b78a61831417
BLAKE2b-256 33ccc7db7a0758766ecc23776fe3ec64d2b3b42cfc80af47a49e6534dea1f77a

See more details on using hashes here.

File details

Details for the file entelligence_code_reviewer-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for entelligence_code_reviewer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46b72722839a557aef6df2699c5e6e6706c27dd92ff0708ee6680d5a91b06bfa
MD5 fdbaa879cc125669c5f041b1e84d2d25
BLAKE2b-256 6cf4a9b8dba36fb4e3de9be59d374eb82aa63c976cb9d4e84cb3e714a181d8f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page