# OpenGrok MCP Server (npm · opengrok-mcp-server)

MCP server bridging OpenGrok search engine with AI for instant context across massive codebases.

- Trust score: 66/100 (medium)
- Change this week: +13
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `opengrok-mcp-server`: 66/100 (this document), [markdown](https://verifymcp.io/servers/icyhot09-opengrok-mcp-server/opengrok-mcp-server.md), [page](https://verifymcp.io/servers/icyhot09-opengrok-mcp-server/opengrok-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `opengrok-mcp-server`
- Version: `9.0.1`
- 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-08-03.

- **Supply Chain Security**: 83/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known medium-severity CVE affects @hono/node-server 1.19.17, reached via @modelcontextprotocol/sdk > @hono/node-server. A fixed version is available.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (166 of 170), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 32/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - License check failed: the license (PolyForm-Noncommercial-1.0.0) isn't a recognized OSI-approved license.
  - Actively maintained (last published 113 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 78/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 403 tokens (~50/item across 8 items; 6 tools + 2 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 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.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add icyhot09-opengrok-mcp-server -- npx -y opengrok-mcp-server
```

### Codex

```bash
codex mcp add icyhot09-opengrok-mcp-server -- npx -y opengrok-mcp-server
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add icyhot09-opengrok-mcp-server --command npx --arg -y --arg opengrok-mcp-server
```

### Hermes

```yaml
mcp_servers:
  icyhot09-opengrok-mcp-server:
    command: "npx"
    args: ["-y", "opengrok-mcp-server"]
```

### Other

```json
{
  "mcpServers": {
    "icyhot09-opengrok-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "opengrok-mcp-server"
      ]
    }
  }
}
```

## 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-08-03 (score 66, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 62, +56)

- [security regression] GHSA-frvp-7c67-39w9 affects this package: medium
- [security regression] Known CVEs: unverified → fail
- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] License: unverified → fail
- [functional regression] Dependency health: partial → unverified
- [functional improvement] Schema quality: unverified → good
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100
- [functional] Licence: PolyForm-Noncommercial-1.0.0

### 2026-08-01 (score 6, −20)

- [functional regression] Schema quality: 100 → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Dependency health: unverified → partial

### 2026-07-31 (score 26, −9)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 35, +11)

- [security regression] Malware scan: pass → unverified
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100

### 2026-07-28 (score 24, −29)

- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Schema quality: 100 → unverified

### 2026-07-27 (score 53)

First indexed and scored.

## MCP tools (6)

### `opengrok_api` (~29 tokens)

OpenGrok API Reference

Return the full Code Mode API specification.

Input parameters:

- `_` (string): (no input required)

### `opengrok_execute` (~48 tokens)

Execute OpenGrok Code

Execute JavaScript in the QuickJS sandbox with OpenGrok API access.

Input parameters:

- `code` (string, required): JS function body; use env.opengrok.* for API calls; return a value.

### `opengrok_get_task_result` (~46 tokens)

Get Task Result

Deprecated: opengrok_execute now returns synchronously; use that instead.

Input parameters:

- `taskId` (string, required): Task ID returned by a previous opengrok_execute call

### `opengrok_memory_status` (~32 tokens)

Memory Bank Status

Show current memory bank file sizes and modification times.

Input parameters:

- `_` (string): (no input required)

### `opengrok_read_memory` (~38 tokens)

Read Memory Bank

Read active-task.md or investigation-log.md from the memory bank.

Input parameters:

- `filename` (string, required): File to read from the memory bank

### `opengrok_update_memory` (~59 tokens)

Update Memory Bank

Write or append to active-task.md or investigation-log.md.

Input parameters:

- `content` (string, required): Content to write
- `filename` (string, required): File to update
- `mode` (string): append adds to end (use for investigation-log)

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/icyhot09-opengrok-mcp-server/opengrok-mcp-server#diagnostics

## Score history

- 2026-08-03: 66
- 2026-08-02: 62
- 2026-08-01: 6
- 2026-07-31: 26
- 2026-07-30: 35
- 2026-07-28: 24
- 2026-07-27: 53

## Links

- npm package: https://www.npmjs.com/package/opengrok-mcp-server
- Socket report: https://socket.dev/npm/package/opengrok-mcp-server
- Repository: https://github.com/IcyHot09/opengrok-mcp-server
- Changelog RSS feed: https://verifymcp.io/servers/icyhot09-opengrok-mcp-server/opengrok-mcp-server/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/icyhot09-opengrok-mcp-server/opengrok-mcp-server/changelog.json
- HTML version of this page: https://verifymcp.io/servers/icyhot09-opengrok-mcp-server/opengrok-mcp-server
