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

  1. Add the server in a terminal.

    claude mcp add --transport http diffcritic https://mcp.diffcritic.com/mcp
  2. In Claude Code, open /mcp, choose diffcritic and sign in. Finish the sign-in in the browser window it opens.

    /mcp
  3. 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.

  1. 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.

  2. 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"
  3. 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

  1. 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.

  2. Enter a name such as DiffCritic and this server URL, then click Continue.

    https://mcp.diffcritic.com/mcp
  3. Keep the authentication options Claude marks Detected, then click Add.

  4. Click Connect and sign in. On a Team or Enterprise plan each member opens their connectors, finds the connector labeled custom and clicks Connect.

  5. 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

  1. 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.

  2. Enter a name. Under Connection, enter this Server URL.

    https://mcp.diffcritic.com/mcp
  3. Configure authentication: choose OAuth.

  4. Review the risk warning, select I understand and want to continue, then select Create as a plugin.

  5. Install the plugin from your personal plugins or the workspace where you created it, then type @ in the prompt box and select it.

  6. 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

  1. Add the server in a terminal.

    codex mcp add diffcritic --url https://mcp.diffcritic.com/mcp
  2. 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
  3. In the codex TUI, /mcp lists your active MCP servers.

  4. 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.

  1. 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.

  2. 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"
  3. 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

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.

  1. Register the server at https://mcp.diffcritic.com/mcp with the command or setting for the assistant the person uses, as shown above.
  2. 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.
  3. Verify the connection by calling get_me and report the login and accounts it returns.
  4. Ask the person before approving access on the consent screen.
  5. Ask the person before any paid scan: show the approval link and wait until they say they approved it.
  6. Report what is reachable and ask the person what to do first.