Setup Guide

ClaudeMax is a drop-in replacement for the Anthropic API. Pick your tool below and follow the steps.

Paste your key to auto-fill snippets below

Claude Code CLI

Official Anthropic terminal AI tool

1Install Claude Code CLI if you haven't: npm install -g @anthropic-ai/claude-code
2Set the environment variables in your terminal:
PowerShell
$env:ANTHROPIC_API_KEY="sk-cm-your-api-key"
$env:ANTHROPIC_BASE_URL="https://api.claudemax.pro/v1"
$env:ANTHROPIC_MODEL="claude-opus-4.6"

claude
💡To make this permanent, add the export lines to your $PROFILE file. Or use our one-click script below.
🚀

Automatic Setup Recommended

One command configures Claude Code, MCP tools, env vars, and verifies your connection automatically.

Run one command to configure everything. You'll only need your API key.
Prerequisite: Make sure you have Node.js installed. Everything else is handled automatically.

PowerShell — One-liner setup
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
irm https://api.claudemax.pro/setup.ps1 | iex
Or download and run manually:
⬇ Download setup-claudemax.ps1powershell -ExecutionPolicy Bypass -File setup-claudemax.ps1

What the script does:

Validates your API key
Sets permanent environment variables
Configures Claude Code (~/.claude/settings.json)
Installs ClaudeMax MCP tools (web_search, understand_image)
Configures MCP server (~/.claude.json)
Installs Claude Code CLI
💡Re-run anytime to update your API key or reconfigure. The script is idempotent — it safely merges settings without losing your other configuration.
🔧

Manual MCP Configuration

If you prefer to configure manually instead of using the automatic script

1Install ClaudeMax MCP tools:
Terminal
npm install -g claudemax-mcp
2Configure environment — Create or edit %USERPROFILE%\.claude\settings.json:
%USERPROFILE%\.claude\settings.json
{
  "env": {
    "ANTHROPIC_AUTH_TOKEN": "sk-cm-your-api-key",
    "ANTHROPIC_BASE_URL": "https://api.claudemax.pro/v1",
    "ANTHROPIC_MODEL": "claude-opus-4.6",
    "ANTHROPIC_SMALL_FAST_MODEL": "claude-haiku-4.5",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4.6",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4.6",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4.5",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
  },
  "hasCompletedOnboarding": true
}
3Configure MCP server — Create or edit %USERPROFILE%\.claude.json:
%USERPROFILE%\.claude.json
{
  "mcpServers": {
    "ClaudeMax": {
      "command": "npx",
      "args": ["-y", "claudemax-mcp"],
      "env": {
        "CLAUDEMAX_API_KEY": "sk-cm-your-api-key",
        "CLAUDEMAX_URL": "https://api.claudemax.pro"
      }
    }
  }
}
4Restart Claude Code or VS Code to apply the new settings.
💡Replace sk-cm-your-api-key with your actual API key in both files. The MCP server will automatically start when Claude Code launches.
🛠️

Included Tools

The ClaudeMax MCP adds these tools to your Claude Code session

🔍web_search

Search the web for real-time information — docs, news, APIs, current events, pricing, anything that requires up-to-date data from the internet.

🖼️understand_image

Analyze images with AI — screenshots, diagrams, UI mockups, error messages, charts, photos. Supports JPEG, PNG, WebP, and GIF under 15MB.

🤖

Available Models

Use any of these as your ANTHROPIC_MODEL

claude-opus-4.6Recommended
Opus 4.6
claude-sonnet-4.6
Sonnet 4.6
claude-sonnet-4-5-thinking
Sonnet 4.5
claude-opus-4.6-1m
Opus 4.6 1M
claude-haiku-4.5
Haiku 4.5
🔗

API Reference

Endpoint details

Base URL
https://api.claudemax.pro/v1
Supported Endpoints
POST/v1/messagesAnthropic format
POST/v1/chat/completionsOpenAI format
GET/v1/modelsList models