by maxnowack
Proxy server that converts Anthropic API requests to OpenAI format and sends it to OpenRouter. It's used to use Claude Code with OpenRouter instead of the Anthropic API
# Add to your Claude Code skills
git clone https://github.com/maxnowack/anthropic-proxyGuides for using api integration skills like anthropic-proxy.
Last scanned: 5/22/2026
{
"issues": [
{
"type": "npm-audit",
"message": "ajv: ajv has ReDoS when using `$data` option",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "fast-uri: fast-uri vulnerable to path traversal via percent-encoded dot segments",
"severity": "high"
},
{
"type": "npm-audit",
"message": "fastify: Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass",
"severity": "high"
}
],
"status": "WARNING",
"scannedAt": "2026-05-22T07:44:19.764Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}anthropic-proxy is an open-source api integration skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by maxnowack. Proxy server that converts Anthropic API requests to OpenAI format and sends it to OpenRouter. It's used to use Claude Code with OpenRouter instead of the Anthropic API. It has 414 GitHub stars.
anthropic-proxy returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/maxnowack/anthropic-proxy" and add it to your Claude Code skills directory (see the Installation section above).
anthropic-proxy is primarily written in JavaScript. It is open-source under maxnowack on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other API Integration skills you can browse and compare side by side. Open the API Integration category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh anthropic-proxy against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Based on votes and bookmarks from developers who liked this skill
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
A proxy server that transforms Anthropic API requests to OpenAI format and sends it to openrouter.ai. This enables you to use Anthropic's API format while connecting to OpenAI-compatible endpoints.
With this command, you can start the proxy server with your OpenRouter API key on port 3000:
OPENROUTER_API_KEY=your-api-key npx anthropic-proxy
Environment variables:
OPENROUTER_API_KEY: Your OpenRouter API key (required when using OpenRouter)ANTHROPIC_PROXY_BASE_URL: Custom base URL for the transformed OpenAI-format message (default: openrouter.ai)PORT: The port the proxy server should listen on (default: 3000)REASONING_MODEL: The reasoning model to use (default: google/gemini-2.0-pro-exp-02-05:free)COMPLETION_MODEL: The completion model to use (default: google/gemini-2.0-pro-exp-02-05:free)DEBUG: Set to 1 to enable debug loggingNote: When ANTHROPIC_PROXY_BASE_URL is set to a custom URL, the OPENROUTER_API_KEY is not required.
To use the proxy server as a backend for Claude Code, you have to set the ANTHROPIC_BASE_URL to the URL of the proxy server:
ANTHROPIC_BASE_URL=http://0.0.0.0:3000 claude
Licensed under MIT license. Copyright (c) 2025 Max Nowack
Contributions are welcome. Please open issues and/or file Pull Requests.