# sift-light MCP server

> Enables AI agents to perform evidence-first local searches across files, documents, notes, and logs using exact, hybrid, or semantic vector search.

- Repository: https://github.com/lightsifter/sift-light
- Page: https://hostedmcp.org/servers/lightsifter/sift-light
- Transport: stdio
- Stars: 104
- License: AGPL-3.0

## Install

### Claude Code

```sh
claude mcp add sift-light -- npx -y sift-light
```

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

```json
{
  "mcpServers": {
    "sift-light": {
      "command": "npx",
      "args": [
        "-y",
        "sift-light"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "sift-light": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sift-light"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"sift-light","type":"stdio","command":"npx","args":["-y","sift-light"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "sift-light": {
      "command": "npx",
      "args": [
        "-y",
        "sift-light"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add sift-light -- npx -y sift-light
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.sift-light]
command = "npx"
args = ["-y", "sift-light"]
```

### Gemini CLI

```sh
gemini mcp add -s user sift-light npx -- -y sift-light
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "sift-light": {
      "command": "npx",
      "args": [
        "-y",
        "sift-light"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SIFT_LIGHT_CONFIG` | no | no |  |

## FAQ

### Does the server support semantic search by default?

No, vector search is disabled by default for Pi, OMP and MCP clients to avoid the high latency of uncached semantic searches.

### Can I search for files modified within a specific time range?

Yes, you can use modifiedAfter and modifiedBefore Unix millisecond bounds to filter worktree searches by file age.

### What happens if a search result is very large?

Long results are delivered in pages, allowing the agent to continue reading through pagination cursors.
