Skip to main content
Glama

RepoRefit

Check AI coding projects on your own machine or CI runner: instruction files and token use, Markdown links, committed secrets, MCP settings, dependencies, agent rules, duplicated code, import cycles and deploy setup. The same engine as the free web scanner at https://reporefit.com. Nothing is uploaded and no network request is made.

Command line (Node 20+, Windows, macOS, Linux)

npx -y reporefit scan     # check the current folder
npm install -g reporefit  # or install once (then: reporefit ...)
reporefit scan --tool secrets --fail-on high
reporefit fix > reporefit-fix-plan.md   # AI fix plan for Claude Code, Codex and others
reporefit badge               # README badge (counts only)
reporefit help

Exit codes: 0 ok, 1 findings at or above --fail-on, 2 usage or read error, 130 cancelled. Full guide: https://reporefit.com/en/cli/

Related MCP server: shipcheck-mcp

GitHub Action

name: RepoRefit
on: [push, pull_request, workflow_dispatch]
permissions:
  contents: read
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: false
      - uses: reporefit/action@v1
        with:
          fail-on: high

The action only reads files. It never runs the project's scripts, needs no token or secret, and works with pull_request (do not use pull_request_target for untrusted forks). Results appear in the job summary and as file annotations; Markdown and JSON reports and the AI fix plan are written to the runner's temp folder. Inputs, outputs and examples: https://reporefit.com/en/github-actions/

MCP server (Claude Code, Cursor, Codex)

claude mcp add reporefit -- npx -y reporefit mcp

Tools: scan, generate_fix_instructions, list_rules, explain_rule. Local, read-only, no network. Setup for other clients: https://reporefit.com/en/mcp/

Rules

Every rule ID (for example SEC-001) is explained at https://reporefit.com/en/rules/

RepoRefit 0.4.0 · MIT License · Third-party notices in THIRD_PARTY_NOTICES.md

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding tools to scan projects for security vulnerabilities, hardcoded secrets, injection flaws, and privacy violations with 699 rules and 76 MCP tools, all running locally with zero telemetry.
      2,608 npm
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables MCP-compatible AI agents to scan code for leaked secrets, copyleft licenses, unprotected routes, missing privacy policies, and risky card handling before committing or shipping.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI editors to run local security scans for vulnerabilities, leaked secrets, risky dependencies, IaC, container, license, and posture issues through MCP. It lets assistants surface findings and fix them in the same turn.
      7
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local, zero-egress MCP clients to scan codebases for post-quantum cryptography and structural issues, inspect standards constraints, verify dependency and candidate-fix safety, generate CycloneDX CBOMs, and map cryptographic assets to compliance mandates before commit or in CI.
      MIT