Skip to content
MCP server

synrag

CPU-only hybrid search and cited context for documents, served over MCP to AI agents

Runs locally

synrag is a freemium MCP server for mcp data access. It runs locally on your machine and is started by your AI client.

Pricing
Freemium
Platforms
Linux, CLI, API
Runs
Locally
What it can do
Read-only
Version
1.16.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add synrag -- uvx synrag-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "synrag": {
      "command": "uvx",
      "args": [
        "synrag-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "synrag": {
      "command": "uvx",
      "args": [
        "synrag-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "synrag": {
      "command": "uvx",
      "args": [
        "synrag-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "synrag": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "synrag-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add synrag -- uvx synrag-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.synrag]
command = "uvx"
args = ["synrag-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "synrag": {
      "command": "uvx",
      "args": [
        "synrag-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "synrag": {
          "command": "uvx",
          "args": [
            "synrag-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user synrag uvx -- synrag-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "synrag": {
          "command": "uvx",
          "args": [
            "synrag-mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "synrag": {
          "command": "uvx",
          "args": [
            "synrag-mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "synrag": {
          "command": "uvx",
          "args": [
            "synrag-mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "synrag": {
          "command": "uvx",
          "args": [
            "synrag-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "synrag": {
          "command": "uvx",
          "args": [
            "synrag-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "synrag": {
          "command": "uvx",
          "args": [
            "synrag-mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "synrag": {
          "command": "uvx",
          "args": [
            "synrag-mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About synrag

Synrag gives an AI agent a searchable copy of your files without a GPU, a vector database or an embedding API. It parses PDFs, Office documents, HTML, Markdown and similar formats, builds a keyword index alongside its own small embedding model, and returns the sentences that answer a question under a token budget, each marked with a citation to its source, section and page.

It ships as a single binary plus an MCP server that can index a folder on first start. Documents can be added or replaced while searches keep running, and every change is journaled so an interrupted process recovers cleanly. Writes to the knowledge base stay disabled unless explicitly allowed.

It suits teams that want retrieval over internal documentation on ordinary servers and developers who want their agent to answer from local files. Community use is free up to one million chunks per organization; larger deployments and access-control features require a license.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, all 3 tools only read data.

From the server's own tool labels and tool names; not verified by us.

search_documentsName suggests: reads
Hybrid search across indexed documents.
get_contextName suggests: reads
Returns compact answer context with citations.
list_collectionsName suggests: reads
Lists available document collections.

What it does

Hybrid document search
Combines BM25 keyword scoring, CPU-run embeddings and an optional reranker in each query.
Cited context packing
Selects answer sentences within a token budget and attaches numbered source citations.
Broad file parsing
Reads PDF, DOCX, XLSX, PPTX, ODF, HTML, Markdown, CSV, JSON and ZIP archives.
Live crash-safe updates
Adds or replaces documents while searches run, with a journal that survives abrupt shutdowns.
MCP server for agents
Exposes search and context tools to Claude, Cursor and other MCP clients with one config entry.
Offline license checks
Licenses are signed files verified locally with no activation server or telemetry.

Good for

  • Give a coding or support agent answers grounded in a company knowledge base
  • Search policy, contract or manual folders from Claude Desktop or Cursor
  • Add cited document retrieval to an internal app without GPU infrastructure
  • Index multilingual document sets, including low-resource languages, on a CPU server

Pricing

Freemium

Free Community edition up to 1M chunks; Production and Enterprise are paid; 14-day Enterprise trial

Prices change. Check ai.synlabs.pro before you buy.

synrag FAQ

Does synrag need a GPU or an embedding API?

No. Its bundled embedding model runs on a CPU and nothing is sent to an external service.

Is synrag open source?

The engine is a free binary under a community license, not open source. The Python SDK and MCP server are published as readable source under Apache 2.0.

What does the free tier include?

The Community edition covers up to 1,000,000 chunks per organization, including the search engine, parsers, MCP server, Python SDK and commercial use.

Which platforms are supported?

Linux x86-64 with glibc 2.30 or newer. Windows works through WSL2; macOS and ARM builds are described as upcoming.

How do I add synrag to Claude Code?

Run this command in your terminal: claude mcp add synrag -- uvx synrag-mcp

What are the best alternatives to synrag?

The closest alternatives to synrag are Rag MCP, Tinysearch and Magpie Search.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers