Claude Code logo

Claude Code with EU data residency.

Set one environment variable and Claude Code routes through European infrastructure. Your source code and conversations stay within the EU.

GDPR compliant
Terminal-native agent
EU infrastructure
Visit Claude Code

What is Claude Code?

Claude Code is Anthropic's official CLI coding agent. It runs directly in your terminal and operates on your local codebase: reading files, writing code, running commands, and working through multi-step tasks autonomously. Unlike chat-based assistants, Claude Code acts as an agent that understands project structure and takes actions, not just suggestions.

Because Claude Code sends your source files and repository context to the model, data residency matters for teams building proprietary software. EUrouter sits in front of the Anthropic API and routes all traffic through European servers. Setting a single environment variable is all it takes to redirect Claude Code through EUrouter. Your prompts, file contents, and completions stay within the EU.

Quick to integrate

A few lines of code is all it takes. Swap your base URL and you are routed through EUrouter.

1# Add to your shell profile (.bashrc, .zshrc, etc.) 2export ANTHROPIC_BASE_URL="https://api.eurouter.ai" 3export ANTHROPIC_API_KEY="eur-..." 4 5# Then use Claude Code as normal 6claude

Get started in minutes

Follow these steps to connect your application to EUrouter.

1

Get your EUrouter API key

Sign up and create an API key from your dashboard.

Sign up for free
2

Install Claude Code

Install Claude Code via npm if you haven't already.

1npm install -g @anthropic-ai/claude-code
3

Set the environment variables

Export ANTHROPIC_BASE_URL pointing to EUrouter and set your API key. Add these to your shell profile for persistence.

1export ANTHROPIC_BASE_URL="https://api.eurouter.ai" 2export ANTHROPIC_API_KEY="eur-..."
4

Use Claude Code as normal

Run claude in your terminal. All requests now route through EU infrastructure automatically. No other changes needed.

1claude

Why use Claude Code with EUrouter

One environment variable

Claude Code reads ANTHROPIC_BASE_URL on startup. Set it to EUrouter and every API call goes through EU servers. No config files to edit, no wrappers to install, no forks to maintain. One line in your shell profile and you are done.

  • Set ANTHROPIC_BASE_URL once and all Claude Code sessions use EUrouter
  • Works with project-level .env files for team-wide configuration
  • No changes to how you use Claude Code, the experience is identical
  • Compatible with all Claude Code features: file edits, terminal commands, and multi-step tasks

Source code stays in Europe

Claude Code reads your entire repository to understand context. That means your proprietary source code is sent to the model. With EUrouter, those requests go through EU-based servers, so your code never touches US infrastructure. For teams subject to GDPR, this is the difference between compliant and non-compliant AI tooling.

  • Repository context, file contents, and diffs route through EU servers
  • Compliant with GDPR Article 44 requirements on data transfers
  • Full audit trail for every request Claude Code makes
  • Useful for regulated industries where source code is considered sensitive data

Unified billing across models

EUrouter gives you one API key for all models. While Claude Code uses Anthropic's Claude by default, having a unified billing dashboard means you can track AI spending across all your tools in one place. Set spend limits per key to keep costs predictable.

  • One dashboard for Claude Code usage alongside other AI tools
  • Set per-key monthly spend limits to control agent costs
  • Usage breakdown by model, time period, and request count
  • Issue separate keys per developer for granular cost tracking

Integrate AI without GDPR risk.

You need AI that won’t create compliance headaches. Your data stays in the EU, GDPR is enforced by default, and every request is routed for the best balance of cost, latency, and uptime, reducing risk while improving performance.

Get Your API Key
GDPR by default
EU data residency
Smart routing
Claim €15 free credits·300 left
Sign up free →