← all repositories
Fast-Editor/Lynkr

Run Claude Code, Cursor, and Codex on any model via one proxy

Lynkr is an HTTP proxy that lets you point Claude Code, Cursor, and Codex at Ollama, Bedrock, or OpenRouter instead of Anthropic—zero client changes required.

535 stars JavaScript Coding AssistantsAgents
Lynkr
Not currently ranked — collecting fresh signals.
star history

What it does

Lynkr runs a local HTTP server that impersonates the Anthropic API. Point Claude Code, Cursor, or the Codex CLI at localhost:8081 and the proxy forwards requests to a backend of your choice—whether that’s a free local Ollama instance, AWS Bedrock, Databricks, or OpenRouter. The client tools need no code changes; you override a base URL and supply a dummy API key.

The interesting bit

The tier-routing feature classifies each request as simple, medium, complex, or reasoning, then dispatches it to a different model. The README claims this pushes 70–90% of traffic toward cheaper or local models while reserving expensive ones for genuinely hard tasks. It is a pragmatic admission that not every autocomplete needs a frontier model.

Key highlights

  • Supports 12+ providers, including 4 local options (Ollama, llama.cpp, LM Studio) for fully offline use
  • Drop-in compatibility: override ANTHROPIC_BASE_URL for Claude Code, or set a model provider override in Cursor and Codex configs
  • Built-in token optimizations (prompt caching, semantic caching) and load shedding under memory pressure
  • 699 tests passing, Apache 2.0 licensed
  • Enterprise-friendly routing to Databricks, Azure OpenAI, and AWS Bedrock

Caveats

  • Getting Claude Code and Cursor to play nice requires explicit compatibility shims: you must cap POLICY_MAX_STEPS and POLICY_MAX_TOOL_CALLS and disable POLICY_SAFE_COMMANDS_ENABLED, suggesting the proxy has to massage Anthropic-specific behavior that other models don’t natively support
  • The README dedicates an entire section to common startup errors, including missing tier warnings, fallback credential complaints, and a pino-pretty transport bug in older versions—so expect some initial friction

Verdict

Worth a look if your team loves Claude Code’s UX but needs to run local models, hit a company-mandated Bedrock or Databricks endpoint, or slash API spend. Skip it if you’re already content with Anthropic’s native pricing and performance.

Frequently asked

What is Fast-Editor/Lynkr?
Lynkr is an HTTP proxy that lets you point Claude Code, Cursor, and Codex at Ollama, Bedrock, or OpenRouter instead of Anthropic—zero client changes required.
Is Lynkr open source?
Yes — Fast-Editor/Lynkr is open source, released under the Apache-2.0 license.
What language is Lynkr written in?
Fast-Editor/Lynkr is primarily written in JavaScript.
How popular is Lynkr?
Fast-Editor/Lynkr has 535 stars on GitHub.
Where can I find Lynkr?
Fast-Editor/Lynkr is on GitHub at https://github.com/Fast-Editor/Lynkr.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.