Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Lynkr

MCP server by Fast-Editor Verified · npm:lynkr

Lynkr is a self-hosted LLM gateway and tier-routing proxy for AI coding tools such as Claude Code, Cursor and Codex. It is for developers who want to route requests across local and cloud model providers and reduce token use.

  • Score 86
  • 643 stars
  • 839 a week
  • Apache-2.0
  • Updated

Install Lynkr

Built from the published package, never by AI.

claude mcp add lynkr -- npx -y lynkr

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Lynkr in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the lynkr block.

About

Lynkr is a self-hosted gateway that sits between AI coding tools and model providers. Tools such as Claude Code, Cursor and Codex point their base URL at Lynkr, which then sends each request to a configured provider. The source lists support for 14 or more providers, including Ollama, llama.cpp, LM Studio, AWS Bedrock, Azure OpenAI, Databricks and OpenRouter.

Lynkr scores each request and routes it to a model tier named SIMPLE, MEDIUM, COMPLEX or REASONING. It also compresses large JSON tool results, uses a semantic cache, and can keep one routing decision per conversation. The README reports 84% compression on JSON tool results and 53% fewer tokens on tool-heavy requests, measured by the project's own benchmark. It is aimed at developers who want to cut costs and use their own infrastructure.

Written from the project's README and checked against it.

What you need

  • Node.js and npm to install the lynkr package
  • Ollama or another local model runtime for free local use
  • API keys or accounts for any cloud providers you choose

Try asking

  • Route my simple coding questions to a free local Ollama model.
  • Compress large JSON tool outputs before they reach the model.
  • Use the semantic cache for questions I have already asked.

Good to know

  • Tier routing is optional and the source says a warning appears without tier configuration.
  • Some providers, including Baidu Qianfan and Fireworks AI, are marked as not yet probed against a live key.
  • Local Ollama models need enough RAM, and large models can fail with an overload error.
  • The source says older versions below 9.3.0 can fail at startup with a pino-pretty error.

Security check

C
  • Asks for administrator rights (sudo)In README.md: sudo
  • Downloads a script from the internet and runs it (a well-known installer)In README.md: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Route coding requests across local and cloud models
  • Reduce token use in AI coding tools
  • Connect Cursor or Codex to multiple model providers

Alternatives to Lynkr

All alternatives →
Oh My Posh Validator JanDeDobbeleer
100

Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.

AAA Remote 24k
Sim simstudioai
100

Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.

AAA Remote 30k
Omnara omnara-ai
98

Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.

AAA Remote 3.5k
strata Klavis-AI
95

Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.

AAA Remote 5.8k
voicemode mbailey
95

VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.

AAA Local 1.5k
OpenWork MCP Gateway different-ai
94

Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.

AFA Remote 25k

Compare with Oh My Posh Validator, Sim or Omnara

Lynkr: common questions

Does Lynkr work with Claude Code and Cursor?

The README says Cursor is connected by setting its override base URL to the local Lynkr address, and Codex CLI is configured through a config file. It also describes a wrap mode for Claude Code.

Can Lynkr run without any cloud account?

Yes. The source describes a free local option using Ollama, llama.cpp or LM Studio, with the local models serving requests.

How does Lynkr decide which model handles a request?

It scores each request and maps it to a tier. The README says conversations keep one routing decision per session, and a guarded escalation step moves the request to a stronger tier when the task needs it.

How do I install Lynkr?

In Claude Code run claude mcp add lynkr -- npx -y lynkr. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Lynkr the official server?

Lynkr is published by npm:lynkr from its verified domain in the official MCP Registry.

Is Lynkr free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Lynkr safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to Lynkr?

Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.

Does Lynkr work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.