Proxy server that converts Anthropic API requests to OpenAI format for use with OpenRouter. Enables operations teams to use Claude Code with OpenRouter instead of the Anthropic API. Connects Anthropic's API format to OpenAI-compatible endpoints.
git clone https://github.com/maxnowack/anthropic-proxy.gitProxy server that converts Anthropic API requests to OpenAI format for use with OpenRouter. Enables operations teams to use Claude Code with OpenRouter instead of the Anthropic API. Connects Anthropic's API format to OpenAI-compatible endpoints.
Integrate Claude Code into existing applications that rely on Anthropic API without significant rewrites.
Automate the transformation of API requests to streamline workflows between Anthropic and OpenAI services.
Use the proxy server to test and develop applications that require OpenAI-compatible endpoints while using Anthropic's API format.
Enable debugging and logging of API requests to troubleshoot issues in real-time during development.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/maxnowack/anthropic-proxyCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Set up an anthropic-proxy to connect Anthropic API requests to OpenAI-compatible endpoints. Use [PROXY_SERVER_IP], [ANTHROPIC_API_KEY], and [OPENROUTER_API_KEY] to configure the proxy. Ensure the proxy server is running and accessible.
```markdown
# Proxy Configuration
- **Proxy Server IP**: `192.168.1.100`
- **Anthropic API Key**: `sk-ant_1234567890abcdef`
- **OpenRouter API Key**: `or_1234567890abcdef`
## Status
The proxy server is running and accessible. The following endpoints are available:
- `http://192.168.1.100:8080/v1/chat/completions`
- `http://192.168.1.100:8080/v1/completions`
## Usage
To use the proxy, send requests to the OpenAI-compatible endpoints with the appropriate headers. For example:
```json
{
"headers": {
"Authorization": "Bearer or_1234567890abcdef",
"Content-Type": "application/json"
},
"body": {
"model": "claude-2",
"messages": [{"role": "user", "content": "Hello, how are you?"}]
}
}
```
```Safety-focused AI research and Claude model provider
The Unified Interface For LLMs
We create engaging workshops for companies and private events centred around plants, flowers and all things botanical.
Build and deploy AI models through APIs and tools
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem