Run ThinkReview inside Claude Code: one prompt, real bugs

Add the ThinkReview MCP server to Claude Code, type 'Run thinkreview now', and let Claude check which findings are real bugs before you merge.

Share
Run ThinkReview inside Claude Code: one prompt, real bugs

Type "Run thinkreview now." Claude calls ThinkReview, then checks which findings hold up.


Claude Code is quick at writing the change. Reviewing it usually means leaving the session: open the pull request, read a second opinion, copy findings back, explain them again.

The ThinkReview MCP server removes that trip. It adds one tool, review_url_code, to Claude Code. Claude sends the pull request URL to ThinkReview, gets a structured review back, and works through it in the same conversation. For the wider picture of how this works in Cursor too, see How ThinkReview integrates into Cursor and Claude.

What a run looks like

The prompt was four words: Run thinkreview now.

ThinkReview reviewed the pull request and flagged four high-severity issues and no critical ones. Claude did not paste the list back and stop. It started verifying, beginning with finding 2: whether a helper called portIsFree detects the ports of an environment that is already running.

Claude then launched the dev script a second time to see what happened.

Claude running ThinkReview on a pull request, then confirming one finding as a real bug: the second launch should have refused because feature-a was already running, but it passed the port check

Claude confirming a ThinkReview finding. The sentence underlined in red is the verdict.

The result: a real bug. The second launch should have refused, because the first environment was already running, and it passed the port check instead. Claude's next step was to check what that start-up did to the running environment. The running servers were fine, since the second start failed on Vite's strictPort and left them alone. The port check on macOS was unreliable, so Claude fixed it, along with the signal and exit cleanup.

That is the value of the loop. A reviewer finds the suspicious spot. The agent that already has the repo open reproduces it, decides whether it is real, and fixes only what is.

What ThinkReview sends back

review_url_code takes the pull request or merge request URL. ThinkReview fetches the changed files on its side, using the git credentials you saved in the portal, so Claude never needs a pasted diff.

The response includes:

  • A summary of what the change does
  • Scored areas such as code quality, security, and best practices
  • Security issues with severity
  • Concrete suggestions
  • Follow-up questions worth asking before merge

A ThinkReview result in Claude Code for a pull request: overall score, key changes, security issues, suggestions, and questions to consider

A full ThinkReview result rendered in Claude Code.

It works with GitHub, GitLab, Azure DevOps, and Bitbucket, including self-managed and on-premise hosts. Reviews use the same credits as the browser extension, and your custom rules apply.

Set it up in Claude Code

  1. Add the hosted server:
claude mcp add --transport http thinkreview https://mcp.thinkreview.dev/v1
  1. Start Claude Code, run /mcp, select thinkreview, and choose Authenticate. Approve access on the ThinkReview portal. Claude Code shows "Authentication successful" when it is done.
  2. Save a git token under Settings → Integrations in the portal for the host you review on. OAuth connects your ThinkReview account to Claude Code. The integration token gives read access to private pull requests.
  3. Ask Claude to review a pull request URL, or just say Run thinkreview now on a branch that has one.

If you prefer a project config, put this in .mcp.json:

{
  "mcpServers": {
    "thinkreview": {
      "type": "http",
      "url": "https://mcp.thinkreview.dev/v1"
    }
  }
}

The step-by-step screenshots and the Claude Desktop config are in the MCP integration guide.

Tips for better runs

  • Ask Claude to verify, not just report. A finding is a lead. The useful prompt is "Run thinkreview, then check which findings are real before fixing anything."
  • Re-review after fixes. Ask for forceRegenerate: true to spend a fresh credit on the new commits. Unchanged files come back from cache.
  • Turn the loop into a skill. A short SKILL.md that says review, fix real critical and high findings, test, push, review again makes it a single slash command. The recipe is in the Cursor and Claude post.

Start before your next merge

Add the server once and every pull request can get a second reviewer without leaving the terminal. Setup takes a few minutes at portal.thinkreview.dev/mcp. If you also want reviews on the pull request page itself, install the browser extension:


ThinkReview reviews pull requests from the browser extension or from MCP inside Claude Code and Cursor.

Newsletter

Want the next one?

Leave your email and I’ll send the post when it’s published. Models, agents, and the review work in between. No drip after that.

That didn’t go through. Check the address and try again.
You’re on the list. The next post will land in your inbox.

One email when we publish. Unsubscribe in a click.