# Loki Mode

> Loki Mode is an open-source MCP server. Autonomous spec-to-product coding-agent CLI with an MCP server exposing 39 tools over stdio. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/asklokesh/loki-mode
- **MCP Registry name:** io.github.asklokesh/loki-mode
- **Listing updated:** 2026-11-13

## About

Autonomous spec-to-product coding-agent CLI with an MCP server exposing 39 tools over stdio.

## Install

### Claude Code (Terminal)

```sh
claude mcp add loki-mode -- npx -y loki-mode
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "loki-mode": {
      "command": "npx",
      "args": [
        "-y",
        "loki-mode"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "loki-mode": {
      "command": "npx",
      "args": [
        "-y",
        "loki-mode"
      ]
    }
  }
}
```

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

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

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

```json
{
  "mcpServers": {
    "loki-mode": {
      "command": "npx",
      "args": [
        "-y",
        "loki-mode"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "loki-mode": {
      "command": "npx",
      "args": [
        "-y",
        "loki-mode"
      ]
    }
  }
}
```

## FAQ

### Is Loki Mode free?

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

### How do I add Loki Mode to Claude Code?

Run this command in your terminal: claude mcp add loki-mode -- npx -y loki-mode

## 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/loki-mode
