Skip to main content
Glama

Witnis

Local evidence for coding agents: index a repo, show blast radius, put the same envelope on a PR, and keep verify blocked until you authorize it.

Search name: witnis-dev. Not Witnis AB. Apache-2.0.

Install

pip install witnis
# or
uvx witnis

Related MCP server: roam-code

What it catches that grep misses

On spring-petclinic @ 500158f, git grep -lw Person -- '*.java' hits five files. None of them are OwnerController, PetController, or VisitController — those only talk about Owner.

witnis impact Person follows Owner extends Person into those controllers.

witnis index .
witnis impact Person --plain

That is analysis completeness (grep vs index), not an LLM A/B test. Dual-human labels are still open. Notes: docs/benchmarks/petclinic-person-grep-vs-impact.md.

PR Action

Use a full clone (fetch-depth: 0). @v1 moves with 1.x; pin @v1.11.2 if you do not want that. Default run is blocked — 0 commands executed.

- uses: actions/checkout@v4
  with: { fetch-depth: 0 }
- uses: L00PLeGeNd/Witnis/.github/actions/pr-gate@v1

MCP

Public tools: index, look, impact, verify. Everything else needs WITNIS_MCP_EXPERIMENTAL=1.

uvx witnis loop-init

That writes a Cursor / Claude snippet and a Harnis stdio policy. One install — seatbelt is not a second product. WITNIS_DB defaults to .witnis/index.sqlite.

{
  "mcpServers": {
    "witnis": {
      "command": "npx",
      "args": [
        "-y", "harnis", "mcp", "--preset", "coding-agent", "--",
        "uvx", "witnis", "mcp"
      ]
    }
  }
}

Verify honesty

Verify does nothing until WITNIS_ALLOW_VERIFY=1 and --execute. automation_verified means the allowlisted commands ran. It is not a human review.

More: SECURITY.md · docs/trusted-agent-loop.md · docs/cli-cheatsheet.md · PetClinic GT (not dual-human): docs/benchmarks/petclinic-human-v2.md.

mcp-name: io.github.L00PLeGeNd/witnis

Available Tools

4 tools
impactA

Blast-radius envelope for a symbol: direct and transitive callers/callees, capped by limit (default 50). Read-only. Requires a prior index. Not a security audit.

Inputs: target (required), limit. Returns: result

indexA

Index the current working directory into SQLite (WITNIS_DB or .witnis/index.sqlite). Incremental; does not run tests or modify source. Call this first in a new repo. Returns JSON with file and symbol counts.

Inputs: no named parameters. Returns: result

lookA

Witness card for a symbol or file name: definition, callers, impact size, related tests, verify plan. Read-only. Requires a prior index. Does not execute tests.

Inputs: target (required). Returns: result

verifyA

Gated verification. Default (execute=false) returns a plan only — 0 commands ran. execute=true runs tests only if WITNIS_ALLOW_VERIFY=1; otherwise status is blocked. Never treat blocked or plan-only as tests passed. automation_verified is true only after authorized execute.

Inputs: target, execute. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each tool has a distinct role: index builds state, look returns a symbol card, impact computes blast radius, and verify handles gated test execution. There is slight overlap because look includes callers and impact size, but the descriptions make the deeper blast-radius purpose of impact clear.

    Naming Consistency4/5

    All names are short, lowercase single words, giving a predictable style. They do not follow a verb_noun convention, and impact reads more like a noun than a verb, but the set is otherwise consistent.

    Tool Count5/5

    Four tools is well-scoped for a focused code indexing and verification server. Each tool earns its place in the workflow without obvious redundancy.

    Completeness4/5

    The core lifecycle is covered: index the repo, inspect symbols/files, assess impact, and verify with gated execution. A symbol search or index-status tool would fill a minor discovery gap, but agents can work around it.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI clients to perform local code search, indexing, and analysis across Java, JavaScript/TypeScript, .NET/C#, and Python projects through the MCP protocol.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Provides local codebase intelligence as an MCP server, enabling AI agents to query dependencies, assess change impact, and produce tamper-evident change evidence packets.
      477 PyPI
      516
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides bounded repository context and edit-grant MCP tools to coding agents such as Codex, indexing local repositories and enabling fingerprint-checked patch application.
      23
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables proof-backed code audit via MCP tools for AST-based code maps, symbol lookup, callers, audit commands, and persistent verdict memory.
      MIT