Skip to main content
Glama

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

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cphoskins/gptzero-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server