Lynx MCP Server

100% local MCP server for semantic code search: AST chunking, hybrid retrieval, code knowledge graph

Remote serverstreamable-httpPython

What is the Lynx MCP server?

Lynx MCP server is a hosted integration for AI assistants that speak the Model Context Protocol. 100% local MCP server for semantic code search: AST chunking, hybrid retrieval, code knowledge graph.

What you get

Your AI assistant greps file names and guesses. Lynx gives it real retrieval over your code, your library docs, and your PDFs — without a single byte leaving your machine.

Setting it up

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Configuration and credentials

You will need 3 environment variables: LYNX_MODEL_ARCHIVE_BASE_URL, HF_ENDPOINT, HF_HOME. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by lorenzo-cambiaghi; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the lynx mcp server does with a few real requests.

How to install the Lynx MCP server

{
  "mcpServers": {
    "lynx": {
      "command": "uvx",
      "args": ["lynx-mcp"],
      "env": {
        "LYNX_MODEL_ARCHIVE_BASE_URL": "your-value",
        "HF_ENDPOINT": "your-value",
        "HF_HOME": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
LYNX_MODEL_ARCHIVE_BASE_URLEndpoint or connection string the server talks to.Yes
HF_ENDPOINTConfiguration value read at startup.Optional
HF_HOMEConfiguration value read at startup.Optional

Frequently asked questions

It connects Lynx to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Lynx directly.