Skip to main content
Glama
Byakugan: Private, open-source AI-text checker

Byakugan: Private, open-source AI-text checker

by JayOfemi

AI Checker

Check whether writing reads as AI, on your own machine, then improve how it reads. Free and open source.

Two ways to use it.

1. In your browser

A static web app. Paste your text and get a read on how AI-like it sounds, with a plain-language explanation, a grammar pass, and a check against your own documents for reuse. Everything runs in the page, and nothing you paste leaves the browser.

Run it locally:

cd site
npm install
npm run dev

Related MCP server: AI Content Detector MCP Server

2. Inside the AI you already use

A mcp server for your AI assistant (Claude Desktop, an IDE, any MCP client). It gives that AI a detection read plus the exact phrases that read as AI, so your own AI can check and rewrite your writing, on your machine.

For Claude Desktop, add this to claude_desktop_config.json and restart:

{
  "mcpServers": {
    "ai-checker": {
      "command": "npx",
      "args": ["-y", "@jayofemi/ai-checker"]
    }
  }
}

Claude Code users can install it as a plugin instead: /plugin marketplace add JayOfemi/byakugan, then /plugin install ai-checker@ai-checker.

Then tell your AI "use ai-checker to check this text" and paste what you want checked. Full setup, the tools, and how to verify it are in mcp/README.md.

What to expect

AI-text detection is a signal, not a verdict, and it is biased against non-native English writers. It is shown as a likelihood with its confidence, never a yes/no judgement. Stiff, even, stock-phrase-heavy writing reads high; varied, personal writing reads low. Use it on your own work.

Layout

Each folder is its own package with its own build. Node 22 (.nvmrc).

License

MIT. Copyright (c) 2026 Jay Ofemi.

Available Tools

4 tools
check_grammarCheck grammarA

Run a rule-based grammar and style check over the text, fully on-device, and return each issue with its character span, a message, the flagged text, and suggested fixes. Use it to tidy grammar and phrasing, before or after rewriting the flagged AI tells. Deterministic.

Inputs: text (required).

check_reuseCheck reuse overlapA

Compare the text against reference documents you provide, using word shingles, and return the share of overlap and the verbatim shared passages. This is a local check against the documents passed in. It does not search the web or any plagiarism database. Deterministic.

Inputs: text (required), references (required).

detect_ai_textDetect AI textA

Score how likely a passage reads as AI-written, fully on-device, with a per-signal breakdown and a confidence band. Returns a 0 to 100 likelihood, never a yes/no verdict. The signal is directional and biased against non-native English writers, so treat it as a second opinion and not proof. Get a read here, then call find_ai_tells to locate the spans worth rewriting.

Inputs: text (required).

find_ai_tellsFind AI tellsA

Locate the exact character spans that read as AI, covering stock phrasing, long dashes, and formulaic sentence openers. Returns a list of spans with start, end, the matched text, and a note. Use these to rephrase only the flagged parts and leave the rest of the writing intact. Deterministic.

Inputs: text (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: grammar checking, reuse detection, global AI-likelihood scoring, and localized span detection. No overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern (check_grammar, check_reuse, detect_ai_text, find_ai_tells) with uniform verb usage.

    Tool Count5/5

    Four tools is an appropriate scope for a text checker covering grammar, reuse, and two distinct AI-detection features. Not too few or too many.

    Completeness4/5

    The tool set covers grammar, reuse, and AI detection comprehensively. A minor gap is absence of a rewrite/repair tool, but the purpose is detection, not editing.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      AI text detection and humanization for Claude Code, Cursor, and Windsurf. Check if text sounds AI-generated, improve it to read naturally, and verify results — all without leaving your editor.
      46 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Bilingual (EN/ES) AI-writing detection that shows the evidence instead of a percentage: named tells with line and column, hidden-character inspection, and citation cross-checking against a document's own bibliography. Seven of its nine tools run entirely locally and never touch the network.
      10
      31
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides local, deterministic scoring and detailed auditing of text for AI-writing patterns via two read-only tools, with no network calls or language models.
      2
      9 npm
      3
      MIT