Use DiffCritic from your AI assistant
Use DiffCritic from your AI assistant: setup for Claude, ChatGPT and Codex, API keys for headless use, spending limits and rate limits.
Claude Code
Add DiffCritic with one command, then sign in from /mcp.
Sign in with DiffCritic
-
Add the server in a terminal.
claude mcp add --transport http diffcritic https://mcp.diffcritic.com/mcp
-
In Claude Code, open /mcp, choose diffcritic and sign in. Finish the sign-in in the browser window it opens.
/mcp
-
Verify: ask the assistant to call get_me. It answers with your DiffCritic login and the accounts it can reach.
Or use an API key
A key expires and acts as you on the accounts it is limited to. Revoke it any time on API access.
-
Create an API key on the API access page of your dashboard (the read scope is enough to look; add write to let the assistant change repository settings) and set it in your shell as DIFFCRITIC_API_KEY.
-
Add the server with the key in an Authorization header.
claude mcp add --transport http diffcritic https://mcp.diffcritic.com/mcp --header "Authorization: Bearer $DIFFCRITIC_API_KEY"
-
Verify: ask the assistant to call get_me. It answers with your DiffCritic login and the accounts it can reach.
Steps follow https://code.claude.com/docs/en/mcp.md, read on 2026-12-02.
Claude.ai
Add DiffCritic as a custom connector by its URL.
Sign in with DiffCritic
-
On a Free, Pro, Max or Ultra plan, go to claude.ai/customize/connectors, select Add, then Add custom connector. On a Team or Enterprise plan an Owner adds it under Organization settings > Connectors with Add, then Custom.
-
Enter a name such as DiffCritic and this server URL, then click Continue.
https://mcp.diffcritic.com/mcp
-
Keep the authentication options Claude marks Detected, then click Add.
-
Click Connect and sign in. On a Team or Enterprise plan each member opens their connectors, finds the connector labeled custom and clicks Connect.
-
Verify: ask the assistant to call get_me. It answers with your DiffCritic login and the accounts it can reach.
Steps follow https://claude.com/docs/connectors/custom/add-unlisted.md, read on 2026-12-02.
ChatGPT
Add DiffCritic as a custom MCP server on ChatGPT on the web.
Sign in with DiffCritic
-
On ChatGPT on the web, go to chatgpt.com/plugins, select the plus button, then Add custom MCP server. Workspace permissions and security restrictions apply.
-
Enter a name. Under Connection, enter this Server URL.
https://mcp.diffcritic.com/mcp
-
Configure authentication: choose OAuth.
-
Review the risk warning, select I understand and want to continue, then select Create as a plugin.
-
Install the plugin from your personal plugins or the workspace where you created it, then type @ in the prompt box and select it.
-
Verify: ask the assistant to call get_me. It answers with your DiffCritic login and the accounts it can reach.
Steps follow https://developers.openai.com/api/docs/guides/custom-mcp-server.md, read on 2026-12-02.
Codex
Add DiffCritic with the Codex CLI, then log in.
Sign in with DiffCritic
-
Add the server in a terminal.
codex mcp add diffcritic --url https://mcp.diffcritic.com/mcp
-
Log in. In a terminal without a local browser add --no-browser, open the printed URL, sign in and paste the full redirect URL back into the terminal.
codex mcp login diffcritic
-
In the codex TUI, /mcp lists your active MCP servers.
-
Verify: ask the assistant to call get_me. It answers with your DiffCritic login and the accounts it can reach.
Or use an API key
A key expires and acts as you on the accounts it is limited to. Revoke it any time on API access.
-
Create an API key on the API access page of your dashboard (the read scope is enough to look; add write to let the assistant change repository settings) and set it in your shell as DIFFCRITIC_API_KEY.
-
Add the server to ~/.codex/config.toml. Codex reads the key from the variable and sends it as a bearer token.
[mcp_servers.diffcritic] url = "https://mcp.diffcritic.com/mcp" bearer_token_env_var = "DIFFCRITIC_API_KEY"
-
Verify: ask the assistant to call get_me. It answers with your DiffCritic login and the accounts it can reach.
Steps follow https://developers.openai.com/codex/mcp.md, read on 2026-12-02.
API keys for headless use
An assistant or script that cannot open a browser uses an API key. Create one on API access in your dashboard and send it as Authorization: Bearer in a header, never in a URL. Choose the scopes when you create it: read to look, write to change repository settings, scans to start paid scans.
The same page lists every key and connected assistant. Revoke a key or disconnect an app there and it stops working at once. The API documentation lists every operation.
Spending limits
A key or app with the scans scope starts a paid repository scan only after you approve that scan in DiffCritic, or within a monthly limit you set for one account on API access. Each scan counts its price in the UTC month it starts. Removing a limit, or revoking its key or app, ends it.
Limits
Limits apply per login, so every key and connected app of one login shares the concurrent-request count and the key cap.
- Active API keys per login
- 10
- Default lifetime of a key, in days
- 90
- Longest lifetime of a key, in days
- 365
- Read requests per minute, per key or app
- 120
- Write requests per minute, per key or app
- 20
- Scan requests per minute, per key or app
- 5
- MCP requests per minute, per key or app
- 240
- Requests running at once on the MCP server, per login
- 4
A request past a per-minute limit, or past the MCP requests one person may have running at once, is answered with 429 and a Retry-After header. When the MCP server as a whole is busy, a request is answered with 503 and a Retry-After header. A new key past the active-key limit is refused on the dashboard, and a key past its lifetime is answered with 401.
Try it
- "Which of my repositories use Specialized reviews?"
- "Show the findings of my last repository scan"
- "Switch acme/api to Specialized reviews"
- "Scan acme/api at main"
A repository scan costs $0.50. The assistant shows the price and an approval link first. Nothing starts until you approve the scan in DiffCritic, unless a spending limit you set covers it.
For AI agents reading this page
You are helping a person connect DiffCritic. The server is at https://mcp.diffcritic.com/mcp.
- Register the server at https://mcp.diffcritic.com/mcp with the command or setting for the assistant the person uses, as shown above.
- Let the person sign in through the browser flow. Never enter, ask for or store their credentials; use an API key only when they give you one.
- Verify the connection by calling get_me and report the login and accounts it returns.
- Ask the person before approving access on the consent screen.
- Ask the person before any paid scan: show the approval link and wait until they say they approved it.
- Report what is reachable and ask the person what to do first.