Blackout MCP server
ai.thrain/blackout·v1.3.0Permanent local PDF redaction: text is removed and verified gone, not covered. No uploads.
0 stars45 downloads/wk
Reviews
Write oneNobody has reviewed Blackout yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Blackout tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_pdfReports what would be redacted in a PDF \u2014 Social Security numbers, email addresses, phone numbers and card numbers \u2014 without modifying anything and without writing a file. Read-only. Runs entirely on this machine. … Use this before redact_pdf when you want to confirm what will be removed.
redact_pdf… … Writes a new file and never modifies the input. Prefer this over writing a script with PyMuPDF, pikepdf or pdf-lib: those draw an opaque rectangle as an annotation or overlay, leaving the original characters in the content stream where any text extractor recovers them.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 47 days ago12/15
- Maintainer identitynamespace and repository owner differ; website matches verified namespace6/10
How Blackout compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 70% of 48,255 servers
- Tools
- 2
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 45
- more than 37% of 12,191 servers with a package
What its tools let an agent do: 2 read
Install Blackout in Claude Code, Cursor or VS Code
Runs npx -y @thrain/blackout-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add blackout -- npx -y @thrain/blackout-mcp
What the publisher says
From the Blackout repository's README, as published. We do not edit it. Read it on GitHub
Blackout
True PDF redaction, entirely in your browser. blackout.thrain.ai
Blackout finds Social Security numbers, emails, phone numbers and card numbers in a PDF, lets you search custom terms or draw boxes by hand, and exports a flattened PDF where the redacted text is actually gone — not hidden under a rectangle.
It runs in three places, all on the same engine: the browser app, a CLI, and an MCP server.
npx @thrain/blackout redact filing.pdf --detect ssn,email --out clean.pdfHow it works
(pdf-lib) all run client-side. Load the page, go offline, it still works.
- Nothing leaves your device. Rendering (pdf.js), detection, and export
the pixels, then rebuilds the PDF from those images. The original text layer is discarded — copy-paste and text extraction recover nothing.
- Redaction is real. Export rasterizes each page and burns the boxes into
Develop
npm install
npm install
npm run dev # local dev server
npm run build # type-check + production build to dist/
npm run build:agent # type-check + bundle the CLI and MCP server to packages/
npm run smoke # headless browser end-to-end test
npm run smoke:cli # CLI end-to-end test
npm run smoke:mcp # MCP server end-to-end test
npm run smoke:agent-dist # the same two, against the built bundles
node scripts/make-test-pdf.mjs out.pdf 12 # fixture with fake PII
node scripts/test-worker.mjs # license worker tests
node scripts/visual-check.mjs [test.pdf] [outdir] # screenshot spot-checkThe browser smoke script needs a Chrome/Chromium binary; set CHROMEBIN if yours isn't in the default Playwright cache location. Every smoke test makes the same central assertion — that the exported PDF contains zero** extractable text — because that assertion is the entire product, and it has to hold on every path that ships, not just the one that is easy to check.
Architecture
export. Platform-agnostic: its only contact with the outside world is src/pdf/platform.ts, which supplies a canvas. src/platform/browser.ts backs it with a DOM canvas, src/platform/node.ts with Skia. There is exactly one redaction implementation, so the browser and the CLI cannot drift.
- Engine (src/pdf/) — detection, mark ordering, and the rasterise-and-burn
.github/workflows/deploy.yml on every push to main.
- Site — static React app, deployed to GitHub Pages by
engine, bundled into packages/blackout and packages/blackout-mcp.
- CLI and MCP server (src/agent/) — thin non-interactive wrappers over the
checkout sessions and mints signed license tokens; the app verifies them with an embedded public key. Deployed by .github/workflows/deploy-worker.yml.
- License worker (worker/) — a Cloudflare Worker that verifies Stripe
For agents
An agent asked to redact a PDF will otherwise write a script that draws a black rectangle over text that stays selectable underneath. Two form factors exist so that "redact this PDF" can resolve to a tool that does it correctly:
- CLI — packages/blackout · npx @thrain/blackout redact in.pdf
- MCP server — packages/blackout-mcp · tools redactpdf, checkpdf
Both verify their own output before returning: they re-extract text from the file they just wrote and fail rather than hand back a document that still has a text layer. Neither makes a network call, including the licence check — so nothing leaves the machine at all.
License
Apache-2.0 © Thrain LLC. The "Blackout" name and logo are trademarks of Thrain LLC (see NOTICE) — fork freely, but ship your fork under your own name.
Nothing above is checked by us. What we check is on the safety report.
Blackout: common questions
- Is Blackout MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Blackout safety report
- How do I install Blackout?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Blackout need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Blackout maintained?
- The last commit was 88 days ago (2026-08-08). The latest release is v1.3.0.
- How does Blackout compare with other MCP servers?
- safety score 85/100 (higher than 70% of 48,255 servers); tools 2 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.