# trelix

> trelix is an MCP server. Semantic code search for AI agents — hybrid BM25+vector, call-graph, 20+ languages. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **MCP Registry name:** io.github.sairam0424/trelix
- **Listing updated:** 2026-11-13

## About

Semantic code search for AI agents — hybrid BM25+vector, call-graph, 20+ languages.

## Install

### Claude Code (Terminal)

```sh
claude mcp add trelix -- uvx trelix-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "trelix": {
      "command": "uvx",
      "args": [
        "trelix-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "trelix": {
      "command": "uvx",
      "args": [
        "trelix-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "trelix": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "trelix-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "trelix": {
      "command": "uvx",
      "args": [
        "trelix-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "trelix": {
      "command": "uvx",
      "args": [
        "trelix-mcp"
      ]
    }
  }
}
```

## FAQ

### How do I add trelix to Claude Code?

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

---
Source: https://ai-powered.com/mcp/trelix
