Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

OpenGrok MCP Server

NPM · OPENGROK-MCP-SERVER · SCANNED AUG 3

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

Available components

+21 this week 67 Trust /100

Deprecated

This server is marked deprecated in the MCP registry.

Trust breakdown (6 categories)

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. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (108 of 112), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (108 of 112), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency32
Schema Quality & AI Usability77
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 681 tokens (~48/item across 14 items; 14 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
  • Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · opengrok-mcp-server

# add to Claude Code
claude mcp add icyhot09-opengrok -- npx -y opengrok-mcp-server
# add to Codex CLI
codex mcp add icyhot09-opengrok -- npx -y opengrok-mcp-server
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "icyhot09-opengrok": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "opengrok-mcp-server"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add icyhot09-opengrok --command npx --arg -y --arg opengrok-mcp-server
# ~/.hermes/config.yaml
mcp_servers:
  icyhot09-opengrok:
    command: "npx"
    args: ["-y", "opengrok-mcp-server"]
// mcp.json
{
  "mcpServers": {
    "icyhot09-opengrok": {
      "command": "npx",
      "args": [
        "-y",
        "opengrok-mcp-server"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 3 Aug 26 +1

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

  • 2 Aug 26 +45
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • License: unverified → fail functional
    • Tool coverage: 100 → unverified functional
    • Schema quality: unverified → excellent functional
    • Maintenance: unverified → pass functional
    • MCP protocol: unverified → pass functional
    • Stability: unverified → 0.23 functional
    • Dependency health: unverified → partial functional
    • Licence: PolyForm-Noncommercial-1.0.0 functional
  • 31 Jul 26 +15
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 30 Jul 26 −40
    • Malware scan: pass → unverified security
    • Tool coverage: 100 → unverified functional
    • First check of Schema quality: unverified functional
  • 27 Jul 26 46

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 108 packages

108 packages in the resolved dependency tree · 108 deprecated · 30 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 14 exposed · ~422 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
batch_search ~33

Execute up to 5 searches in parallel in one call. Always prefer this over multiple search_code calls for the same investigation.

No input parameters.

No output schema declared.

No examples provided.

browse_directory ~16

List files/subdirectories at a path.

No input parameters.

No output schema declared.

No examples provided.

find_file ~19

Find files by name/path pattern across the codebase.

No input parameters.

No output schema declared.

No examples provided.

get_compile_info ~41

Get compilation details for a source file: compiler, include paths, preprocessor defines, and language standard. Requires compile_commands.json to be present in the workspace.

No input parameters.

No output schema declared.

No examples provided.

get_file_annotate ~29

Blame annotations (who changed each line). Use start_line/end_line to limit output.

No input parameters.

No output schema declared.

No examples provided.

get_file_content ~43

Get file contents. ALWAYS pass start_line/end_line — never fetch full files. Use search_code first to find line numbers. For full symbol context use get_symbol_context.

No input parameters.

No output schema declared.

No examples provided.

get_file_history ~15

Commit history for a file.

No input parameters.

No output schema declared.

No examples provided.

get_file_symbols ~42

List all symbols defined in a file: functions, classes, structs, macros with line numbers and signatures. Use this to understand a file's structure before reading it.

No input parameters.

No output schema declared.

No examples provided.

get_symbol_context ~37

Complete symbol investigation in one call: definition with context + corresponding header + references. Use this first for any unknown C++ symbol or function.

No input parameters.

No output schema declared.

No examples provided.

index_health ~25

OpenGrok server connection status and diagnostics. Call if results seem stale or incomplete.

No input parameters.

No output schema declared.

No examples provided.

list_projects ~15

List indexed OpenGrok projects.

No input parameters.

No output schema declared.

No examples provided.

search_and_read ~37

Search and return matching code with surrounding context in one call. Use instead of search_code + get_file_content. Never fetches full files.

No input parameters.

No output schema declared.

No examples provided.

search_code ~53

Search OpenGrok. Types: full (text), defs (definitions), refs (references), path (filenames), hist (commit messages). Prefer defs/refs for known symbol names. Use batch_search for multiple queries.

No input parameters.

No output schema declared.

No examples provided.

search_suggest ~17

Autocomplete suggestions for a partial query.

No input parameters.

No output schema declared.

No examples provided.