pangram-cli MCPサーバー
コミット 2026年11月5日AIクライアントを使用して、テキスト、ファイル、YouTube動画、GitHubのプルリクエストに対してAI生成検知および盗用チェックを実行します。
別名 Microck/pangram-cli
- スター
- 2
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年11月5日
- ライセンス
- MIT
pangram-cli MCPとは
pangram-cliはMCPサーバーです。 AIクライアントを使用して、テキスト、ファイル、YouTube動画、GitHubのプルリクエストに対してAI生成検知および盗用チェックを実行します。.
プロジェクトのREADMEから生成された概要
pangram-cli MCP server について
pangram-cliは、AI生成検知および盗用チェックを実行するためのコマンドラインインターフェース(CLI)とMCP serverを提供します。ローカルファイル、YouTube動画、GitHubのプルリクエストなど、さまざまな形式のテキストコンテンツを検証する必要がある開発者やAIエージェント向けに設計されています。ユーザーは、スクリプト用のJSONファーストなCLI、対話的なターミナルユーザーインターフェース、またはCursorなどのAIクライアントと統合可能な型定義済みのstdio MCP serverを通じてツールを利用できます。
サーバーを使用するには、課金が発生する操作に対してPANGRAM_API_KEYを提供する必要があります。このツールには、支出上限を設定するためのmax-billable-unitsフラグや、ファイルシステムへのアクセスおよび履歴の変更に関するAIエージェント向けの厳格なセーフガードなどの安全機能が含まれています。また、直接的なテキストやPDF、テキストファイルの解析に加え、検知を実行する前にローカルのwhisper-cliやyt-dlpを使用してメディアを文字起こしすることもサポートしています。
できること
- 1GitHubのプルリクエスト内容の検証AIエージェントが、特定のGitHubプルリクエストのタイトルや本文にAI生成されたテキストが含まれているかを確認できます。
- 2動画および音声メディアの解析開発者は、ローカルの動画ファイルやYouTube動画を文字起こしし、話されている内容に対してAI生成検知を行うことができます。
- 3テキスト検証の一括自動化複数のアイテムを含むJSONLファイルを送信して、非同期で一括検知処理を行うことができます。
- 4複合的なコンテンツ解析の実行単一のテキストに対して、AI生成検知と盗用チェックを同時に実行できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
設定
GH_TOKENPANGRAM_API_KEY
| 名前 | 説明 | 種類 |
|---|---|---|
| GH_TOKEN | — | |
| PANGRAM_API_KEY | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能microck/pangram-cli is public and reachablegithub.com/microck/pangram-cli ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-05github.com/microck/pangram-cli ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るhttps://github.com/user-attachments/assets/1bb1be71-2399-4f66-b840-61cbae703981
pangram is an unofficial terminal client for Pangram AI detection and plagiarism checking. it serves three interaction modes through one behavioral core: a JSON-first command-line interface for scripts and shell pipelines, an interactive terminal user interface for people, and a typed stdio MCP server for AI agents.
documentation | npm | github | contracts
why
pangram's web application is useful for interactive checks, but terminal and agent workflows need a different interface:
- one command surface for AI detection, plagiarism, files, and bulk work
- JSON-first output with stable errors and exit codes
- an interactive TUI with optional local history
- typed MCP tools with billing, filesystem, and mutation safeguards
- signed native releases with package-manager-aware updates
quickstart
linux or macos
install the signed native binary:
curl -fsSL https://github.com/Microck/pangram-cli/releases/latest/download/pangram-installer.sh | sh
pangram --help
the installer places pangram in ~/.local/bin. add that directory to PATH when the installer asks you to.
windows
run the signed PowerShell installer:
irm https://github.com/Microck/pangram-cli/releases/latest/download/pangram-installer.ps1 | iex
pangram --help
using a package manager
npm install -g @microck/pangram-cli
# homebrew
brew install --formula https://github.com/Microck/pangram-cli/releases/latest/download/pangram.rb
# scoop
scoop install https://github.com/Microck/pangram-cli/releases/latest/download/pangram-scoop.json
native archives for Linux, macOS, and Windows are also available from GitHub Releases. see the installation guide for platform details.
authentication
set PANGRAM_API_KEY before the first billable command:
export PANGRAM_API_KEY='...'
pangram auth status
store the key in the protected local credential file without putting it in shell history or process arguments:
printf '%s\n' "$PANGRAM_API_KEY" | pangram auth set --api-key-stdin
pangram auth status
interactive terminals can run pangram auth for masked setup. authentication commands do not submit content or consume credits.
first analysis
run AI detection on literal text:
pangram detect "text to analyze" --max-billable-units 1
read text from a shell pipeline:
printf '%s\n' 'text to analyze' | pangram detect - --max-billable-units 1
run AI detection and plagiarism checks together:
pangram analyze "text to analyze" --max-billable-units 6
use terminal-readable output instead of the default JSON envelope:
pangram detect --format pretty "text to analyze" --max-billable-units 1
open the interactive terminal interface:
pangram
every analysis submits content to Pangram. use --max-billable-units to reject requests above a local spending ceiling. local history and public dashboard links stay disabled by default.
files and bulk jobs
analyze supported documents directly:
pangram detect --file ./paper.pdf --max-billable-units 10
pangram detect --file ./notes.txt --format pretty --max-billable-units 1
preview a bulk JSONL request without credentials or network access:
pangram bulk submit items.jsonl --max-billable-units 20 --dry-run
submit a bulk request and wait for its terminal result:
pangram bulk submit items.jsonl --max-billable-units 20 --wait
media and github shortcuts
transcribe locally, then detect. ffmpeg and whisper-cli (whisper.cpp) must be installed; the first run downloads the ggml model only with --download-model or an interactive yes:
pangram video ./lecture.mp4 --max-billable-units 80 --download-model
pangram youtube 'https://www.youtube.com/watch?v=...' --max-billable-units 80
GH_TOKEN=... pangram pr owner/repo#123 --comments --max-billable-units 5
youtube uses your own yt-dlp install. review comments send only their prose body, never diffs.
a bare pull request, issue, or YouTube URL routes to the matching shortcut, and trailing flags go to that command. any other bare URL is rejected; use pangram detect to analyze a URL as text:
GH_TOKEN=... pangram https://github.com/owner/repo/pull/123 --max-billable-units 5
mcp client
preview the exact configuration edit before writing it:
pangram mcp install --target cursor --dry-run
pangram mcp install --target cursor
restart the client, then call its Pangram detection tool with a positive billable-unit ceiling. MCP startup exposes no history mutations, public links, or file roots unless you enable those capabilities explicitly.
shell completion
generate completion for your shell:
pangram completions bash > ~/.local/share/bash-completion/completions/pangram
pangram completions zsh > ~/.zsh/completions/_pangram
pangram completions fish > ~/.config/fish/completions/pangram.fish
in Nushell, save the module into an autoload directory:
mkdir ($nu.data-dir | path join vendor autoload)
pangram completions nushell | save -f ($nu.data-dir | path join vendor autoload pangram.nu)
for the full authentication, MCP, history, and platform guides, see the documentation.
command surface
available today:
| command | purpose |
|---|---|
pangram |
bare literal text or piped stdin runs AI detection; a bare pull request, issue, or YouTube URL routes to its shortcut; an all-TTY launch opens the TUI |
pangram detect |
run Pangram 4 AI text detection |
pangram plagiarism |
run plagiarism checking on text |
pangram analyze |
run AI detection and plagiarism together on text |
pangram video |
transcribe a local video with whisper.cpp, then detect |
pangram audio |
transcribe a local audio file with whisper.cpp, then detect |
pangram youtube |
download audio with your installed yt-dlp, transcribe, then detect |
pangram pr |
detect AI writing in a GitHub pull request title, body, and optional comments |
pangram issue |
detect AI writing in a GitHub issue title, body, and optional comments |
pangram comments |
detect AI writing in GitHub issue and review comment bodies |
pangram auth |
configure and inspect API-key authentication |
pangram config |
inspect and update non-secret configuration |
pangram doctor |
run local, non-billable diagnostics |
pangram bulk |
submit and inspect asynchronous bulk detection |
pangram task |
inspect or wait for a Pangram text task |
pangram history |
list, show, search, delete, clear, export, and rerun optional local history |
pangram mcp |
run or install the typed stdio MCP server |
pangram agent |
print the embedded agent usage guide |
pangram skills |
list and load version-matched embedded skills |
pangram completions |
generate a completion script |
pangram update |
inspect signed update status |
privacy and agent safety
local history is disabled by default. when enabled, it stores canonical inputs, results, and task identity in a local SQLite database until you delete them. public Pangram dashboard links are also disabled by default and must be requested explicitly for each submission.
for AI agents, the MCP server enforces strict safeguards. it requires explicit startup capabilities for history mutation, configuration changes, public links, and filesystem access. file inputs are restricted to approved root directories, and billable MCP tools require explicit ceilings to prevent uncontrolled costs.
architecture summary
the runtime uses Rust. a single deep analysis module owns Pangram HTTP behavior, polling, normalization, retries, and task state. the CLI, TUI, and MCP server act as adapters over that module to ensure consistent semantics. documentation lives in a separate TypeScript workspace and consumes generated schemas to stay aligned with the runtime contract.
development status
version 0.1.0 is available through npm and GitHub Releases. observable behavior is defined in docs/contracts.md and enforced through compiled-binary, loopback HTTP, SQLite, PTY, MCP, update, and generated-contract tests.
documentation
- product specification
- architecture specification
- observable contracts
- history contract
- mcp contract
- update contract
disclaimer
this project is unofficial and is not affiliated with, endorsed by, or connected to Pangram Labs, Inc. it is an independent client for documented Pangram APIs.
use of Pangram services remains subject to Pangram's terms, billing, retention, and acceptable-use policies. detection results are probabilistic evidence and should be one signal among many, not a verdict.
license
Browser regression tests
Run npm ci, npm run docs:build, npx e2e-web install chromium, then
npm run test:e2e -w docs-app. The pinned tester-army/e2e tests open every
documentation route against the production server. No provider accounts, model
agents, billable submissions or update-network operations are used. Native CLI,
TUI and MCP acceptance remain in their existing real-process suites.
pangram-cli MCPのよくある質問
MCP serverを使用する際、コストを制御することはできますか?
はい、MCP serverには、予期せぬコスト発生を防ぐために、課金ユニットの上限を明示的に設定できるセーフガードが含まれています。
動画や音声の解析にも対応していますか?
はい、whisper.cppを使用してローカルの動画や音声ファイルを文字起こしできるほか、yt-dlp経由で音声をダウンロードすることでYouTubeのURLを処理することも可能です。
データはデフォルトでプライベートですか?
はい、プライバシー保護のため、ローカル履歴および公開ダッシュボードへのリンクはデフォルトで無効になっています。