# Lugh (npm · lugh-lang)

Write, check and dry-run Lugh agent programs, with policy, budgets and approvals enforced.

- Trust score: 83/100 (high trust)
- Change this week: +18
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-21

## Components

- npm · `lugh-lang`: 83/100 (this document), [markdown](https://verifymcp.io/servers/ashutosh3142857-lugh/lugh-lang.md), [page](https://verifymcp.io/servers/ashutosh3142857-lugh/lugh-lang)

## Channel facts

- Registry: `npm`
- Package: `lugh-lang`
- Version: `0.7.3`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-21.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to Ashutosh3142857/lugh-lang).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 2 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 69/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 401 tokens (~80/item across 5 items; 5 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 6 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Lugh MCP server?

Lugh runs locally as an npm package, launched with npx -y lugh-lang mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add ashutosh3142857-lugh -- npx -y lugh-lang mcp
```

### Cursor

```json
{
  "mcpServers": {
    "ashutosh3142857-lugh": {
      "command": "npx",
      "args": [
        "-y",
        "lugh-lang",
        "mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "ashutosh3142857-lugh": {
      "command": "npx",
      "args": [
        "-y",
        "lugh-lang",
        "mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add ashutosh3142857-lugh -- npx -y lugh-lang mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ashutosh3142857-lugh": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "lugh-lang",
        "mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add ashutosh3142857-lugh --command npx --arg -y --arg lugh-lang --arg mcp
```

### Hermes

```yaml
mcp_servers:
  ashutosh3142857-lugh:
    command: "npx"
    args: ["-y", "lugh-lang", "mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "ashutosh3142857-lugh": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "lugh-lang",
        "mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add ashutosh3142857-lugh -t stdio -c npx -a -y lugh-lang mcp
```

### Other

```json
{
  "mcpServers": {
    "ashutosh3142857-lugh": {
      "command": "npx",
      "args": [
        "-y",
        "lugh-lang",
        "mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-20 (score 83, +1)

No change was recorded against any check on this day. Stability & Change Management went from 17 to 20. That category is still filling its 30-day observation window: 5 days of observed history at the previous scan, 6 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-19 (score 82, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-18 (score 67, −13)

- [security regression] Malware scan: pass → unverified
- [functional improvement] Stability: unverified → 0.13
- [functional] Package version: 0.7.1 → 0.7.3
- [functional] Package version: 0.7.1 → 0.7.2

### 2026-11-15 (score 80, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-14 (score 65)

First indexed and scored.

## MCP tools (5)

### `lugh_reference` (~44 tokens)

Lugh language reference

Syntax and semantics of Lugh, a programming language for AI agents where permissions (policy), budgets and human approval are part of the code. Read this before writing a program.

### `lugh_check` (~57 tokens)

Check a Lugh program

Compile a Lugh program without running it. Reports syntax errors, unknown functions and adapters, and counts goals, tests, routes and pages.

Input parameters:

- `code` (string, required): A complete Lugh program, starting with `agent <Name>`.

### `lugh_run` (~131 tokens)

Dry-run a Lugh program in the sandbox

Run a Lugh program's goals in a sandbox. fs, http, mcp and shell act on a simulated world (see lugh_sandbox), but every call passes the real policy gate and budgets. Returns the output and a policy log of every action and its decision (allowed, approved, declined, denied). Use it to show a person exactly what an agent would do before it runs for real.

Input parameters:

- `approvals` (string): How to answer `ask human` and policy approvals. Default approve.
- `code` (string, required): A complete Lugh program, starting with `agent <Name>`.

### `lugh_test` (~49 tokens)

Run a Lugh program's tests

Run the `test` blocks of a Lugh program in the sandbox and report passes and failures.

Input parameters:

- `code` (string, required): A complete Lugh program, starting with `agent <Name>`.

### `lugh_sandbox` (~40 tokens)

Describe the sandbox

List the simulated files, HTTP endpoints, MCP servers (with each tool's effect) and shell commands that programs run by lugh_run can use.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/ashutosh3142857-lugh/lugh-lang#diagnostics

## Score history

- 2026-11-21: 83
- 2026-11-20: 83
- 2026-11-19: 82
- 2026-11-18: 67
- 2026-11-17: 80
- 2026-11-16: 80
- 2026-11-15: 80
- 2026-11-14: 65

## Common questions

### What is the Lugh MCP server?

Lugh is an MCP server listed in the public MCP registry as io.github.Ashutosh3142857/lugh. Write, check and dry-run Lugh agent programs, with policy, budgets and approvals enforced. This page covers its npm package (lugh-lang).

### Is the Lugh MCP server safe to use?

Lugh scores 83 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Lugh MCP server expose?

Lugh exposes 5 tools: lugh_reference, lugh_check, lugh_run, lugh_test, lugh_sandbox. Their descriptions and schemas cost roughly 321 tokens of context every time the server is loaded.

### Is the Lugh MCP server still maintained?

Lugh is still listed as active in the MCP registry. We last reached this channel on 21 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Lugh MCP server under?

Lugh declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Lugh MCP server?

VerifyMCP ran 16 checks on Lugh, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/lugh-lang
- Socket report: https://socket.dev/npm/package/lugh-lang
- Repository: https://github.com/Ashutosh3142857/lugh-lang
- Website: https://ashutosh3142857.github.io/lugh-lang/
- Changelog RSS feed: https://verifymcp.io/servers/ashutosh3142857-lugh/lugh-lang.xml
- Changelog JSON feed: https://verifymcp.io/servers/ashutosh3142857-lugh/lugh-lang/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/ashutosh3142857-lugh/lugh-lang.json
- HTML version of this page: https://verifymcp.io/servers/ashutosh3142857-lugh/lugh-lang
