About Aislop
Aislop is an MCP server published by scanaislop in the Science category: open-source code-quality scanner for AI-assisted development. Catch dead code, unsafe casts, swallowed errors, and duplication locally or in CI. Deterministic rules, no LLM at runtime. Conduid read 4 tools from its source: aislop_baseline, aislop_fix, aislop_scan and aislop_why. It is published to npm as aislop and starts with npx.
The repository has 801 stars and 46 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v0.24.0 (30 Nov 2026): Set lint.ruff: project in the aislop configuration to use your installed Ruff for Python linting and formatting. It follows v0.23.1 (29 Nov 2026), and the 5 most recent releases go back to v0.22.2 (20 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include ai-slop, ai-slop-detection, astro, cli, code-quality and code-review.
Install
claude mcp add aislop -- npx -y aislopnpx -y aislopgit clone https://github.com/scanaislop/aislopTools (4)
aislop_baselineRead the project's baseline (the last captured score the per-edit hook compares against). Returns score / lastScanAt / fileCount, or null if no baseline exists yet (run `aislop hook baseline` to capture).| Parameter | Type | Description |
|---|---|---|
| path | string | Project directory, confined to the MCP server's cwd. Defaults to that cwd. |
aislop_fixApply mechanical fixes (formatting, unused imports, narrative comments, duplicate imports, etc.). Returns counts before/after so the agent can see how many issues remain. Use BEFORE handing off to the agent — saves tokens by clearing what the CLI handles deterministically.| Parameter | Type | Description |
|---|---|---|
| force | boolean | Run aggressive fixes (dependency audit overrides, unused-file removal, framework alignment). Off by default; on means writes to package.json and may delete files. |
| path | string | Project directory to fix, confined to the MCP server's cwd. Defaults to that cwd. |
aislop_scanScan a project with aislop. Runs the deterministic engines (format, lint, code-quality, ai-slop, security, architecture), returns a 0–100 score and the top findings. Use this before deciding whether the agent's recent changes are ready to ship.| Parameter | Type | Description |
|---|---|---|
| path | string | Project directory to scan, confined to the MCP server's cwd. Defaults to that cwd. |
aislop_whyExplain an aislop rule: what it catches, why an AI agent typically produces it, severity, and whether it's auto-fixable. Use when a finding's message alone isn't enough to act on.| Parameter | Type | Description |
|---|---|---|
| rule_id * | string | Full rule id (e.g. `ai-slop/narrative-comment`, `complexity/function-too-long`, `security/sql-injection`). |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
- !No dynamic code executionScanned 379 source files and found 3 calls to eval or shell execution, in src/output/rule-labels.ts:86 and src/utils/github-slug.ts:24 among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdiosrc/mcp.ts:3
- Starts other programs
- 37 callssrc/agents/provider-runner.ts:35, src/agents/providers.ts:74, src/agents/providers.ts:82
- Outbound network calls
- 3 callssrc/telemetry/client.ts:101, src/update-notifier.ts:91, tools/oss-benchmark/trending.mjs:16
- Writes or deletes files
- 84 callssrc/agents/monitor-store.ts:60, src/agents/monitor-store.ts:61, src/agents/provider-preference.ts:49
- Lockfile
- pnpm-lock.yaml
Pattern matches on the source text of 379 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 3.3K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README