slopbench-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Slopbench
14-point forensic Slopstrap benchmark for AI agents, UI code (HTML, JSX/TSX, CSS), copy/Markdown, and live URLs.
Inspiration & Basis: Slopbench is directly inspired by and based on Slopstrap by Mike Lacher, expanded into a standalone MCP server, CLI tool, Agent Skill, and companion Web Dashboard with headless Chromium computed-style auditing.
Features
Stdio MCP Server (
slopbench-mcp/mcp_server.py): Exposes 6 tools (slopbench_analyze,slopbench_file,slopbench_url,slopbench_compare,slopbench_history,slopbench_spec) for Claude Code, Claude Desktop, Codex, Cursor, Goose, Loom, and any MCP-compatible agent.Agent Skill (
skills/slopbench/SKILL.md): Drop-in skill file teaching agents when and how to audit, interpret line-numbered evidence, and verify slop reduction.CLI Tool (
slopbench/cli.py): Run audits, live URL scans, A/B comparisons, and rubric lookups directly from any terminal or CI pipeline.Headless Chromium Live Scanner (Playwright): Renders live
http(s)://URLs or HTML files to measuregetComputedStyle()(backdropFilter,borderLeftWidth,backgroundClip, font mismatches, grid tracks, wide SVG underlines, ambient blur orbs).JSX/TSX & Tailwind v4 Support: Parses
className={cn(...)}tokens,bg-linear-to-*,blur-[110px],insetleft-border shadows, CSSmask-imagesquiggles, and@property --angleborder beams.SQLite WAL History & Leaderboard + Companion Web UI (
slopbench-server/server.py): Optional FastAPI dashboard on port8106with Analyzer, Live Scanner, A/B Compare, and Agent/Model Leaderboard.
Related MCP server: SyteCheck MCP Server
Installation
git clone <your-repo-url> slopbench
cd slopbench
pip install -e .
# Optional: enable headless Chromium live URL & computed-style scanning
pip install -e ".[browser]"
playwright install chromium1. Use as an MCP Server
Generic MCP Client (mcpServers JSON)
Works with Claude Desktop, Cursor, Windsurf, Cline, etc.:
{
"mcpServers": {
"slopbench": {
"command": "python",
"args": ["/absolute/path/to/slopbench/mcp_server.py"]
}
}
}Or if installed into your environment via pip install -e .:
{
"mcpServers": {
"slopbench": {
"command": "slopbench-mcp"
}
}
}Claude Code / Codex
claude mcp add slopbench -- python /absolute/path/to/slopbench/mcp_server.pyLoom (exo.slopbench)
exo-extension.json is included at the repository root. Register its path in Loom Admin (Extensions tab) to auto-attach slopbench to ordinary agent sessions and optionally run the companion dashboard.
MCP Tools Exposed
Tool | Purpose |
| Score raw HTML, JSX/TSX, CSS, Markdown, or copy across all 14 Slopstrap elements, returning line-numbered evidence, de-slop fixes, and optional SQLite persistence ( |
| Read and benchmark a local file on disk ( |
| Render a live |
| Compare a |
| List recent benchmark runs, retrieve a saved run by |
| Return the 14-point Slopstrap rubric, scoring formula, and anti-pattern fixes. |
2. Use as an Agent Skill
Copy skills/slopbench/ into your agent harness's skills directory (for example ~/.claude/skills/slopbench/, ~/.agents/skills/slopbench/, or .gemini/skills/slopbench/):
cp -r skills/slopbench ~/.agents/skills/slopbench3. Use as a CLI Tool
# Audit a local file (HTML, JSX/TSX, CSS, Markdown, or text)
slopbench analyze path/to/Hero.tsx
# Audit HTML with headless Chromium computed-style checks
slopbench analyze path/to/index.html --browser
# Audit a live URL
slopbench url http://127.0.0.1:3000/
# Compare before/after drafts
slopbench compare before.html after.html
# Print the 14-point rubric (add --json for machine-readable output)
slopbench spec4. Companion Web Dashboard & HTTP API
slopbench serve --host 127.0.0.1 --port 8106
# or: python server.py --host 127.0.0.1 --port 8106GET /— Interactive Slopbench Dashboard (Analyzer, Manual Audit, Live Chromium URL Scanner, A/B Compare, Run Log & Leaderboard)GET /health— Service health & run totalsGET /llms.txt— Agent quickstart &curlexamplesGET /spec.md— 14-point specification in MarkdownPOST /api/analyze,POST /api/scan-url,POST /api/compareGET /api/runs,GET /api/runs/{id},GET /api/leaderboard
(By default, server.py gates HTTP access to loopback and Tailscale CGNAT/ULA ranges; set SLOPBENCH_ALLOW_ALL=1 to disable the network gate.)
Running Tests
pytest test_slopbench.py -vLicense
Licensed under the MIT License.
Inspired by and based on Slopstrap by Mike Lacher.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Servers
AlicenseAqualityBmaintenanceRuns WCAG accessibility, SEO, performance, and security audits on URLs or raw HTML via SiteLint Auditor. Enables LLM agents to audit web pages and check WCAG criteria through MCP tools.6153 npmMozilla Public 2.0- AlicenseAqualityBmaintenanceEnables running comprehensive website audits from any MCP client, returning actionable plain-language reports covering SEO, accessibility, performance, security, and more.683 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables agentic accessibility auditing of a URL through a tool that runs axe-core, zoom and WCAG text-spacing checks, a keyboard-focus agent, and visual analysis, returning fixes as Markdown plus structured results. Keeps Chromium warm between calls so an agent can audit, apply fixes, and re-audit the same page to see what changed.MIT
- AlicenseAqualityBmaintenanceEnables auditing a single web page for AI-search readiness, exposing per-element evidence, scores, and copy-paste fixes, plus explanations of individual checks through MCP tools.2MIT