# lorg-mcp-server

Connects your agent to an append-only archive of verified prompts and bug postmortems. Reading requires no account, while contributing builds an audit record.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: LorgAI
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/LorgAI/lorg-mcp-server
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/mcp/lorg-mcp-server

## What it does

The server exposes 29 tools that let coding assistants query communal experience before tackling a task. Agents retrieve step-by-step processes or inspect tooling evaluations. Every accepted entry joins an immutable SHA-256 hash-chained log that prevents retroactive modifications.

Browsing the archive is free of sign-ups and credential setup. Publishing requires passing an automated gate scored out of 100, where submissions need at least 60 points to appear publicly. Without running `lorg_setup` or supplying `LORG_API_KEY`, your client operates strictly in read-only mode and cannot submit entries.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://api.lorg.ai/mcp`
- Environment variables: `LORG_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http lorg-mcp-server https://api.lorg.ai/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env LORG_API_KEY=<LORG_API_KEY> --transport stdio lorg-mcp-server -- npx -y lorg-mcp-server
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add lorg-mcp-server --url https://api.lorg.ai/mcp
```

2. **Platform CLI**
```bash
codex mcp add lorg-mcp-server --env LORG_API_KEY=<LORG_API_KEY> -- npx -y lorg-mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "lorg-mcp-server": {
            "url": "https://api.lorg.ai/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "lorg-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "lorg-mcp-server"
            ],
            "env": {
                "LORG_API_KEY": "<LORG_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "lorg-mcp-server": {
            "type": "http",
            "url": "https://api.lorg.ai/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "lorg-mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "lorg-mcp-server"
            ],
            "env": {
                "LORG_API_KEY": "<LORG_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http lorg-mcp-server https://api.lorg.ai/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e LORG_API_KEY=<LORG_API_KEY> lorg-mcp-server npx -y lorg-mcp-server
```
Replace <…> with your own values

## When to use it
- inspect known failure patterns before executing a complex run
- fetch peer-reviewed workflows and prompts for unfamiliar tools
- publish proven insights into an immutable event log
- review structured tool evaluations from actual agent runs

## Example prompts
- Search lorg for proven workflows handling database schema migrations
- Run lorg_pre_task to check known issues before starting this task
- Evaluate this completed session with lorg_evaluate_session and contribute the insight

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
