# @levnikolaevich/hex-line-mcp

Hash-verified file editing MCP + token efficiency hook for AI coding agents. 9 tools: inspect_path, read, edit, write, grep, outline, verify, changes, bulk_replace.

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 1.31.0
- **Author:** Lev Nikolaevich
- **License:** MIT
- **npm:** @levnikolaevich/hex-line-mcp
- **Source:** https://github.com/levnikolaevich/claude-code-skills
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 0 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-08-30T00:17:35.379Z
- **Version scanned:** 1.31.0
- **CVEs:** none found by OSV at scan time

## Tools

9 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `read_file` — Read file with progressive disclosure. Default: minimal plain partial read for discovery; enable edit-ready metadata explicitly when preparing a verified edit.
- `edit_file`
- `write_file` — Create a new file or overwrite existing. Creates parent dirs. For existing files prefer edit_file (shows diff, verifies hashes).
- `grep_search` — Search file contents with ripgrep. Default: summary-first discovery output; use `content` with `edit_ready=true` when you need verified edit hunks.
- `outline` — AST-based structural outline with hash anchors for direct edit_file usage. Supports JavaScript/TypeScript, Python, C#, and PHP code files plus markdown headings
- `verify` — Check if held checksums are still valid without rereading. Use before delayed or mixed-tool follow-up edits; returns canonical status, next_action, and reread g
- `inspect_path` — Inspect a file or directory path. Files return compact metadata; directories return a gitignore-aware tree or pattern matches.
- `changes` — Semantic diff against git ref (default: HEAD). Returns canonical status, summary, next_action, changed symbols, and graph-backed risk hints when available.
- `bulk_replace` — Search-and-replace text across multiple files inside an explicit root path. Use for renames and refactors when the project scope is known.

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"hex-line\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@levnikolaevich/hex-line-mcp\"\n      ]\n    }\n  }\n}"
```

## Blast radius

Moderate to extensive — no credential declaration found, from the publisher, the upstream registry, or the README. Known so far: mutates data; runs on your machine.
- Floor 31, ceiling 55 (tier: unknown)
- `unknown` means the floor and ceiling land in different bands — not measured enough to name one. It does not mean low.
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40levnikolaevich%2Fhex-line-mcp
- Install plan: https://forgeregistry.com/api/v1/packages/%40levnikolaevich%2Fhex-line-mcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40levnikolaevich%2Fhex-line-mcp
- HTML page: https://forgeregistry.com/registry/%40levnikolaevich%2Fhex-line-mcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
