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.

Code Lens

NPM · @J0HANZ/CODE-LENS-MCP · SCANNED AUG 3

Gemini-powered MCP server for code analysis.

+28 this week 81 Trust /100
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 (135 of 139), 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 (135 of 139), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to j0hanz/code-lens). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 147 days ago).Pass
  • Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability84
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (good).Pass
  • Tool/resource definitions use about 3271 tokens (~102/item across 32 items; 13 tools + 19 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
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.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 · @j0hanz/code-lens-mcp

# add to Claude Code
claude mcp add j0hanz-code-lens -- npx -y @j0hanz/code-lens-mcp
# add to Codex CLI
codex mcp add j0hanz-code-lens -- npx -y @j0hanz/code-lens-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "j0hanz-code-lens": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@j0hanz/code-lens-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add j0hanz-code-lens --command npx --arg -y --arg @j0hanz/code-lens-mcp
# ~/.hermes/config.yaml
mcp_servers:
  j0hanz-code-lens:
    command: "npx"
    args: ["-y", "@j0hanz/code-lens-mcp"]
// mcp.json
{
  "mcpServers": {
    "j0hanz-code-lens": {
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/code-lens-mcp"
      ]
    }
  }
}
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.

  • 2 Aug 26 +55
    • Install scripts: unverified → pass security
    • Provenance: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • The attested source repository moved: j0hanz/code-lens security
    • Security disclosure: fail → unverified functional
    • Tool coverage: 100 → unverified functional
    • Schema quality: 100 → unverified functional
    • Maintenance: unverified → pass functional
    • Dependency health: unverified → partial functional
    • License: unverified → pass functional
    • Schema quality: unverified → good functional
    • Stability: unverified → 0.23 functional
    • MCP protocol: unverified → pass functional
    • Licence: MIT functional
  • 31 Jul 26 −27
    • 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 +29
    • Tool coverage: unverified → 100 functional
    • Schema quality: unverified → 100 functional
  • 28 Jul 26 −29
    • Tool coverage: 100 → unverified functional
    • Schema quality: 100 → unverified functional
  • 27 Jul 26 53

    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/@j0hanz/[email protected]

Provenance verified

Ecosystem: npm · Outcome: verified

Reason: verified

Source repo:
j0hanz/code-lens
Certificate issuer:
https://token.actions.githubusercontent.com
Certificate SAN:
https://github.com/j0hanz/code-lens/.github/workflows/release.yml@refs/heads/master
Rekor log index:
1062872572
Predicate type:
https://slsa.dev/provenance/v1
Subject digest:
sha512:79779c679ded734ce46d7b7494b5a95c070a2e6b86bac4b91dd9feb2609cb62c8add542152a20391e5079dcae27f2be037260150802a0ea9ef0f79054
Discovery method:
attestation_endpoint
Dependencies 135 packages

135 packages in the resolved dependency tree · 134 deprecated · 45 stale.

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

MCP tools — 13 exposed · ~1,031 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
analyze_pr_impact ~64

Assess impact and risk from cached diff. Prerequisite: generate_diff. Auto-infer repo/language.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

analyze_time_space_complexity ~60

Analyze Big-O complexity. Prerequisite: generate_diff. Auto-infer language.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

ask_about_code ~72

Answer questions about a cached file. Prerequisite: load_file. Auto-infer language.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
questionstringyesQuestion about the loaded file.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

detect_api_breaking_changes ~60

Detect breaking API changes. Prerequisite: generate_diff. Auto-infer language.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

detect_code_smells ~63

Detect structural code smells in a cached file. Prerequisite: load_file. Auto-infer language.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

generate_diff ~98

Generate a diff of the current branch working changes and cache it for all review tools. You MUST call this tool before calling any other review tool. Use "unstaged" for working-tree changes not yet staged, or "staged" for changes already added with git add.

NameTypeReqDescription
modestring"unstaged": working-tree changes not yet staged. "staged": changes added to the index with git add. Default: unstaged.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

generate_documentation ~66

Generate documentation stubs for all public exports in a cached file. Prerequisite: load_file. Auto-infer language.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

generate_review_summary ~63

Summarize diff and risk level. Prerequisite: generate_diff. Auto-infer repo/language.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

generate_test_plan ~101

Generate test cases. Prerequisite: generate_diff. Auto-infer repo/language/framework.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
maxTestCasesintegerMax test cases (1-30). Default: 15.
testFrameworkstringTest framework (jest, pytest, etc). Auto-infer.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

load_file ~90

Cache a single file for analysis tools (refactor_code, ask_about_code, verify_logic). Overwrites previous cache. Path is relative to server working directory (e.g. src/index.ts) or absolute (e.g. /home/user/project/src/index.ts).

NameTypeReqDescription
filePathstringyesFile path relative to workspace root (e.g. src/index.ts) or absolute. Must be within workspace.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

refactor_code ~92

Analyze cached file for complexity, duplication, naming, and grouping improvements. Prerequisite: load_file. Set maxSuggestions to cap output (default 10).

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
maxSuggestionsintegerMax suggestions (1-15). Default: 10.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

verify_logic ~89

Verify algorithms and logic in a cached file using Gemini code execution sandbox. Prerequisite: load_file. Auto-infer language.

NameTypeReqDescription
languagestringPrimary language (e.g. TypeScript, Python, JavaScript, Go, Rust, Java). Auto-infer from files.
questionstringyesWhat to verify in the loaded file (e.g. algorithm correctness, edge cases).
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.

web_search ~113

Google Search with Grounding. Set topic to scope results; responseStyle controls output length.

NameTypeReqDescription
maxCharsintegerTruncate response text to this many characters. Default: no truncation.
querystringyesSearch query.
responseStylestringconcise: 2-4 sentences. detailed: full explanation. bullets: list. code_focused: code snippets.
topicstringDomain focus (e.g. "TypeScript", "Docker"). Set to avoid irrelevant results.
NameTypeReqDescription
errorobjectError payload when ok is false.
okbooleanyesWhether the tool completed successfully.
resultobjectSuccessful result payload.

No examples provided.