Claude Code integration
Use MoLoop from Claude Code and Anthropic-compatible clients.
Features
| Feature | Description |
|---|---|
| Agentic coding | Read repositories, edit files, run commands, and iterate to finish tasks. |
| Full repository context | Understand project structure, dependencies, and conventions. |
| Terminal-native and Git | Works with any editor workflow and supports commits, branches, and merges. |
| Tool calls and MCP | Connect to databases, APIs, browsers, and external tools. |
| Multiple models and file input | Switch models through MoLoop and read images, PDFs, and other files. |
Configure with CC Switch
CC Switch can configure the API endpoint and provider name in one step.
Configure Claude Code with CC Switch
Import the current MoLoop Anthropic endpoint and API key into the Claude configuration in CC Switch.
Endpoint: https://api.moloop.io
cc-switch provider addManual configuration
Claude Code uses Anthropic Messages. The MoLoop Anthropic root does not include /v1/messages; the client constructs that request path.
Persistent configuration file (recommended)
Write the configuration to settings.json so it survives terminal restarts. Windows commonly uses %APPDATA%\claude\settings.json; macOS/Linux uses ~/.claude/settings.json.
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.moloop.io",
"ANTHROPIC_API_KEY": "YOUR_API_KEY",
"MAX_THINKING_TOKENS": "0",
"CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}Environment variables
For a temporary test, set the variables in the current shell; they expire when the terminal closes.
Windows
$env:ANTHROPIC_BASE_URL="https://api.moloop.io"
$env:ANTHROPIC_API_KEY="YOUR_API_KEY"
$env:ANTHROPIC_MODEL="YOUR_MODEL_ID"macOS
export ANTHROPIC_BASE_URL="https://api.moloop.io"
export ANTHROPIC_API_KEY="YOUR_API_KEY"
export ANTHROPIC_MODEL="YOUR_MODEL_ID"Linux
export ANTHROPIC_BASE_URL="https://api.moloop.io"
export ANTHROPIC_API_KEY="YOUR_API_KEY"
export ANTHROPIC_MODEL="YOUR_MODEL_ID"Install Claude Code
Claude Code requires Node.js 18 or later. On Windows, install Git Bash and launch it from a Unix-like shell.
npm install -g @anthropic-ai/claude-codeReady to get started?
After configuring the key, ask Claude Code to summarise a repository or explain a file before authorising writes, commands, or external tools.
Are you ready to get started?
Get an API key and start using MoLoop in these tools.