Skip to main content

Installation

Choose the installation method that fits your workflow.

  1. Navigate to GitHub Marketplace > Precogs AI
  2. Click Install
  3. Select repositories to scan
  4. Authorize permissions

Precogs AI will now scan all Pull Requests automatically.

GitLab Integration

  1. Go to Settings > Integrations in your GitLab project
  2. Add the Precogs AI webhook URL
  3. Configure triggers for Merge Requests

Bitbucket Cloud

Coming soon — contact us for early access.

API Key Setup

For any developer tools (SDK, CLI, MCP), you first need to generate an API key.

  1. Login to your Precogs Dashboard.
  2. Navigate to Settings > API Access.
  3. Click Create New Key.
  4. Important: Copy the key immediately; it will only be shown once.

Developer Tools

Python SDK

Install the official SDK to integrate Precogs into your Python projects:

pip install precogs-sdk

Command Line Interface (CLI)

Install the CLI for local scanning and CI/CD integration:

pip install precogs-cli

Model Context Protocol (MCP)

Enable AI assistants (Claude, Cursor) to interact with Precogs:

npm install -g precogs-mcp-server
# or run directly via npx
npx precogs-mcp-server

See Developer Tools for detailed testing and setup.