pangram-cli MCP server
2026년 11월 5일 커밋AI 클라이언트가 텍스트, 파일, YouTube 동영상 및 GitHub pull request에 대해 AI 생성 여부와 표절 검사를 수행할 수 있도록 합니다.
다른 이름 Microck/pangram-cli
- 스타
- 2
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 11월 5일
- 라이선스
- MIT
pangram-cli MCP란?
pangram-cli은(는) MCP server입니다. AI 클라이언트가 텍스트, 파일, YouTube 동영상 및 GitHub pull request에 대해 AI 생성 여부와 표절 검사를 수행할 수 있도록 합니다.
프로젝트 README에서 생성된 요약
pangram-cli MCP server 정보
pangram-cli는 AI 생성 여부 및 표절 검사를 수행하기 위한 CLI와 MCP server를 제공합니다. 이 도구는 로컬 파일, YouTube 동영상, GitHub pull request 등 다양한 형식의 텍스트 콘텐츠를 검증해야 하는 개발자와 AI agent를 위해 설계되었습니다. 사용자는 스크립팅을 위한 JSON 우선 CLI, 대화형 터미널 사용자 인터페이스(TUI), 또는 Cursor와 같은 AI 클라이언트와 통합할 수 있는 타입 지정 stdio MCP server를 통해 도구를 사용할 수 있습니다.
server를 사용하려면 과금 작업에 필요한 PANGRAM_API_KEY를 제공해야 합니다. 이 도구에는 지출 상한선을 설정하는 max-billable-units 플래그와 AI agent의 파일 시스템 접근 및 히스토리 변경에 대한 엄격한 안전 장치와 같은 보안 기능이 포함되어 있습니다. 일반 텍스트, PDF 또는 텍스트 파일 분석을 지원하며, 검사를 실행하기 전에 로컬 whisper-cli 또는 yt-dlp 설치 환경을 사용하여 미디어를 전사할 수도 있습니다.
활용 사례
- 1GitHub pull request 콘텐츠 검증AI agent가 특정 GitHub pull request의 제목이나 본문에 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에는 통제되지 않는 비용 발생을 방지하기 위해 명시적인 과금 단위 상한선(billable-unit ceilings)을 설정하는 안전 장치가 포함되어 있습니다.
비디오 및 오디오 분석을 지원하나요?
네, whisper.cpp를 사용하여 로컬 비디오 또는 오디오 파일을 전사할 수 있으며, yt-dlp를 통해 YouTube URL의 오디오를 다운로드하여 처리할 수도 있습니다.
데이터는 기본적으로 비공개인가요?
네, 개인정보 보호를 위해 로컬 히스토리 및 공개 대시보드 링크 기능은 기본적으로 비활성화되어 있습니다.