Installation
Choose the installation method that fits your workflow.
GitHub App (Recommended)
- Navigate to GitHub Marketplace > Precogs AI
- Click Install
- Select repositories to scan
- Authorize permissions
Precogs AI will now scan all Pull Requests automatically.
GitLab Integration
- Go to Settings > Integrations in your GitLab project
- Add the Precogs AI webhook URL
- 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.
- Login to your Precogs Dashboard.
- Navigate to Settings > API Access.
- Click Create New Key.
- 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.