# loci

> loci is an open-source MCP server. Scoped memory for coding agents: picks the right project, answers in scope, or abstains. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/3m1ry33t/loci
- **MCP Registry name:** io.github.3M1RY33T/loci
- **Listing updated:** 2026-11-13

## About

Scoped memory for coding agents: picks the right project, answers in scope, or abstains.

## Install

### Claude Code (Terminal)

```sh
claude mcp add loci -- uvx loci-mem
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "loci": {
      "command": "uvx",
      "args": [
        "loci-mem"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "loci": {
      "command": "uvx",
      "args": [
        "loci-mem"
      ]
    }
  }
}
```

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

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

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

```json
{
  "mcpServers": {
    "loci": {
      "command": "uvx",
      "args": [
        "loci-mem"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "loci": {
      "command": "uvx",
      "args": [
        "loci-mem"
      ]
    }
  }
}
```

## FAQ

### Is loci free?

Yes. loci is open source, so you can use and self-host it for free.

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

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

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

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