SlopTotal

v0.1.1
io.github.pablocaeg/sloptotal Checked 8 hours ago Published 4 days ago

Open-source AI text detector: 23 engines, one calibrated score.

Lets AI agents (Claude Code, Claude Desktop, Cursor, VS Code, any MCP client) check whether a text or a website is AI-generated with SlopTotal: 23 open detection engines, one calibrated 0-100 score. The score is evidence, not proof; the tool descriptions tell the agent so. The MCP server is a thin client: it calls a SlopTotal API, by default http://localhost:8000, so the text never leaves your machine.

Summary extracted from the README.

SlopTotal MCP server

Lets AI agents (Claude Code, Claude Desktop, Cursor, VS Code, any MCP client) check whether a text or a website is AI-generated with SlopTotal: 23 open detection engines, one calibrated 0-100 score.

Tool What it does
analyze_text Scores a text (50+ characters; 300+ words is steadier). Returns overall_score, overall_verdict, engines_flagged, each engine's score and verdict, the language and a report link.
analyze_url Fetches a public page, extracts its main text and scores it the same way.
check_website_builder Was the site built with an AI app builder (Lovable, v0, Bolt, ...)? Fingerprints with their evidence, plus a quick score of the page copy.

The score is evidence, not proof; the tool descriptions tell the agent so.

1. Run a SlopTotal server

The MCP server is a thin client: it calls a SlopTotal API, by default http://localhost:8000, so the text never leaves your machine.

docker run -d --name sloptotal -p 8000:8000 -v sloptotal-models:/app/models ghcr.io/pablocaeg/sloptotal

The image runs on linux/amd64 and linux/arm64 (Apple Silicon included). The first start downloads about 9 GB of models and needs about 12 GB of RAM; see the self-hosting guide for source installs, GPU and offline use.

No room for the models? Point the MCP server at the public instance with SLOPTOTAL_URL=https://api.sloptotal.com. Everything you analyze is then sent to sloptotal.com and leaves your machine, and the public instance has rate limits. Prefer a local server for anything private.

2. Add it to your client

Two ways to run the MCP server; uvx sloptotal-mcp is the short one.

  • uv: uvx sloptotal-mcp fetches the PyPI package; nothing else to install. To run the latest code from this repository instead: uvx --from "git+https://github.com/pablocaeg/sloptotal#subdirectory=integrations/mcp" sloptotal-mcp.
  • Docker: the image ghcr.io/pablocaeg/sloptotal-mcp (linux/amd64 and linux/arm64, about 55 MB: only the MCP client, no models). It reaches the SlopTotal server on your machine through host.docker.internal; the --add-host flag makes that name work on Linux too.

It is also listed in the official MCP registry as io.github.pablocaeg/sloptotal, so clients that browse the registry can install it from there. Walkthrough with a real call and reply: sloptotal.com/ai-detector-mcp.

Claude Code

# uv
claude mcp add sloptotal -- uvx sloptotal-mcp

# Docker
claude mcp add sloptotal -- docker run -i --rm --add-host=host.docker.internal:host-gateway ghcr.io/pablocaeg/sloptotal-mcp

With the public instance instead of a local server:

claude mcp add sloptotal -e SLOPTOTAL_URL=https://api.sloptotal.com -- uvx sloptotal-mcp
# or
claude mcp add sloptotal -- docker run -i --rm -e SLOPTOTAL_URL=https://api.sloptotal.com ghcr.io/pablocaeg/sloptotal-mcp

Add --scope user to have it in every project.

Claude Desktop

Settings, Developer, Edit Config (claude_desktop_config.json). With uv:

{
  "mcpServers": {
    "sloptotal": {
      "command": "uvx",
      "args": ["sloptotal-mcp"],
      "env": { "SLOPTOTAL_URL": "http://localhost:8000" }
    }
  }
}

With Docker:

{
  "mcpServers": {
    "sloptotal": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--add-host=host.docker.internal:host-gateway", "ghcr.io/pablocaeg/sloptotal-mcp"]
    }
  }
}

Restart Claude Desktop. If it cannot find docker or uvx, put its full path (which docker, which uvx) in command.

Cursor

~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project), the same blocks as Claude Desktop:

{
  "mcpServers": {
    "sloptotal": {
      "command": "uvx",
      "args": ["sloptotal-mcp"],
      "env": { "SLOPTOTAL_URL": "http://localhost:8000" }
    }
  }
}

VS Code (Copilot agent mode)

.vscode/mcp.json in the workspace, or "MCP: Open User Configuration". With uv:

{
  "servers": {
    "sloptotal": {
      "type": "stdio",
      "command": "uvx",
      "args": ["sloptotal-mcp"],
      "env": { "SLOPTOTAL_URL": "http://localhost:8000" }
    }
  }
}

With Docker:

{
  "servers": {
    "sloptotal": {
      "type": "stdio",
      "command": "docker",
      "args": ["run", "-i", "--rm", "--add-host=host.docker.internal:host-gateway", "ghcr.io/pablocaeg/sloptotal-mcp"]
    }
  }
}

Any other MCP client

Run either of these as a stdio server:

uvx sloptotal-mcp
docker run -i --rm --add-host=host.docker.internal:host-gateway ghcr.io/pablocaeg/sloptotal-mcp

Settings

Variable Default Meaning
SLOPTOTAL_URL http://localhost:8000 (http://host.docker.internal:8000 in the Docker image) The SlopTotal server to call. https://api.sloptotal.com sends your text to sloptotal.com.
SLOPTOTAL_TIMEOUT 300 Seconds to wait for a queued scan before giving up.

Try it

Ask your agent: "Use SlopTotal to check whether this paragraph was written by AI: ...", or "Was example.com built with an AI app builder?".

Develop

The image is built from Dockerfile here. Each GitHub release (or a manual run of the "Publish MCP server to PyPI" and "Publish MCP server" workflows) uploads the package to PyPI, pushes the image to ghcr.io and publishes server.json to the MCP registry; bump the version in pyproject.toml, src/sloptotal_mcp/__init__.py and server.json (version and image tag) together, CI checks they match.

cd integrations/mcp
uv venv && uv pip install -e ".[test]"
.venv/bin/pytest -q          # mocked API, no network

MIT licensed, like SlopTotal.