Metadata-Version: 2.4
Name: synrag-mcp
Version: 1.16.1
Summary: MCP server for synrag: hybrid search and compact, cited context over your documents for Claude, Cursor and any MCP client, on a plain CPU
License: Apache-2.0
Project-URL: Homepage, https://ai.synlabs.pro
Project-URL: Documentation, https://ai.synlabs.pro/docs/#mcp
Project-URL: Source, https://github.com/Synlabs-ai/synrag
Keywords: mcp,rag,search,embeddings,ai-agents,claude,cursor
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: synrag==1.16.1
Dynamic: license-file

# synrag-mcp

MCP server for [synrag](https://ai.synlabs.pro): gives Claude, Cursor, Claude Code and any MCP client search over your
documents with compact, cited context. Runs locally on a plain CPU: no GPU, no embedding API, nothing leaves your machine.

<!-- mcp-name: io.github.Synlabs-ai/synrag -->

**1. Install the synrag engine** (Linux x86-64; a 3 MB binary + the Synapse model, ~86 MB):

```bash
curl -fsSL https://ai.synlabs.pro/install.sh | sh
```

**2. Add the server to your MCP client**: it indexes the folder on first start and serves it.

```json
{
  "mcpServers": {
    "synrag": {
      "command": "uvx",
      "args": ["synrag-mcp", "--index", "/home/me/notes.syn", "--build-from", "/home/me/notes"]
    }
  }
}
```

Claude Code: `claude mcp add synrag -- uvx synrag-mcp --index ~/notes.syn --build-from ~/notes`

Tools: `search_documents`, `get_context` (the sentences that answer the question, with `[n]` citations), `list_collections`;
with `--allow-writes` also `add_document`, `add_file`, `delete_documents`. To use a shared synrag server instead:
`--url http://host:7878 --api-key KEY --collection kb`.

Formats: PDF, DOCX, XLSX, PPTX, ODF, HTML, Markdown, CSV, JSON, ZIP. Free Community edition up to 1M chunks per
organization. Docs: [ai.synlabs.pro/docs](https://ai.synlabs.pro/docs/#mcp) · [GitHub](https://github.com/Synlabs-ai/synrag)

This package (Apache-2.0) installs the `synrag` Python SDK and the `synrag-mcp` command. The synrag engine binary and
models are licensed under the [synrag Community License](https://github.com/Synlabs-ai/synrag/blob/main/LICENSE.md).
