Skip to main content

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

Metadata

Release files for entelligence-code-reviewer 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entelligence-code-reviewer 1.3.0
File Size Uploaded Provenance Actions
entelligence_code_reviewer-1.3.0.tar.gz 23.9 kB Without provenance Details for entelligence_code_reviewer-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for entelligence-code-reviewer 1.3.0
File Interpreter ABI Platform Actions
entelligence_code_reviewer-1.3.0-py3-none-any.whl Python 3 none any Details for entelligence_code_reviewer-1.3.0-py3-none-any.whl

Total release size: 34.9 kB

Release files / entelligence_code_reviewer-1.3.0.tar.gz

Download URL entelligence_code_reviewer-1.3.0.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d7192dd080efc4f22390e307f0c9f1d8cb85203e5b115c21f1170eb33975a941
BLAKE2b-256 checksum
How to use checksums
338f50007724e5277b338d6d21261c6a864371c6e8281871dcf27ce29f3d5489
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / entelligence_code_reviewer-1.3.0-py3-none-any.whl

Download URL entelligence_code_reviewer-1.3.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
584c2204de7e200b22d663d1503164a5bccd63cfad3c535b49811ff9f6f3360d
BLAKE2b-256 checksum
How to use checksums
52d65af2f34b9a1f1b83ec8a995ce986f530c0173435ba8082f8a0b2357e9635
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for entelligence-code-reviewer 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page