Skip to main content

gptzero-mcp

MCP server for GPTZero AI content detection. Get sentence-level and paragraph-level AI probability scores so you can surgically identify and fix AI-generated content.

Installation

pip install gptzero-mcp

Configuration

Set your API key as an environment variable:

export GPTZERO_API_KEY=your_api_key_here

Get your API key at app.gptzero.me/api.

Claude Code

claude mcp add -s user -e GPTZERO_API_KEY=your_key gptzero -- gptzero-mcp

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "gptzero": {
      "command": "gptzero-mcp",
      "env": {
        "GPTZERO_API_KEY": "your_key"
      }
    }
  }
}

Tools

detect_text

Full AI detection with sentence-level and paragraph-level scoring. Returns:

  • Overall classification (human/ai/mixed) with confidence
  • Per-sentence AI probability and flags
  • Per-paragraph AI probability
  • Burstiness and perplexity metrics

detect_text_summary

Quick overview — overall score plus only the flagged sentences.

detect_files

Scan document files (PDF, DOCX, TXT). Up to 50 files per request.

list_model_versions

List available GPTZero detection model versions.

Example

> detect_text("Your content here...")

{
  "classification": "ai",
  "confidence": "high",
  "confidence_score": 0.95,
  "sentences": [
    {
      "sentence": "Your content here...",
      "ai_probability": 0.98,
      "flagged_as_ai": true
    }
  ]
}

License

MIT

Metadata

Release files for gptzero-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gptzero-mcp 0.1.0
File Size Uploaded Provenance Actions
gptzero_mcp-0.1.0.tar.gz 6.9 kB With provenance Details for gptzero_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gptzero-mcp 0.1.0
File Interpreter ABI Platform Actions
gptzero_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for gptzero_mcp-0.1.0-py3-none-any.whl

Total release size: 13.7 kB

Release files / gptzero_mcp-0.1.0.tar.gz

Download URL gptzero_mcp-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6f5b6098aa650c2963886bdfe4042636fc88254671eac193a810f1f54ef3efdd
BLAKE2b-256 checksum
How to use checksums
56ebad1470ab7c23e5dbf8cd5f567af29accc1ad9bf3a47b1a14de8439e4c62e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 15, 2026.

Transparency log

Release files / gptzero_mcp-0.1.0-py3-none-any.whl

Download URL gptzero_mcp-0.1.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38e1a7b8bf55114ccaa4536e1b2a642ec034eb2c772bfa0678b6a6ea630bdd57
BLAKE2b-256 checksum
How to use checksums
a6c2dcb3627b3de12e03463f70c0027b04f01c0ba9f777576322328deff92389
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 15, 2026.

Transparency log

Security for gptzero-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gptzero_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page