# Context Lens

> Context Lens is an MCP server. Semantic search knowledge base with serverless LanceDB. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **MCP Registry name:** io.github.cornelcroi/context-lens
- **Listing updated:** 2026-11-13

## About

Semantic search knowledge base with serverless LanceDB. Zero setup, 100% local, 25+ file types

## Install

### Claude Code (Terminal)

```sh
claude mcp add context-lens -- uvx context-lens
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "context-lens": {
      "command": "uvx",
      "args": [
        "context-lens"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "context-lens": {
      "command": "uvx",
      "args": [
        "context-lens"
      ]
    }
  }
}
```

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

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

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

```json
{
  "mcpServers": {
    "context-lens": {
      "command": "uvx",
      "args": [
        "context-lens"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "context-lens": {
      "command": "uvx",
      "args": [
        "context-lens"
      ]
    }
  }
}
```

## FAQ

### How do I add Context Lens to Claude Code?

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

---
Source: https://ai-powered.com/mcp/context-lens
