Skip to content
PDF Dark — Invert PDF Colors & Dark Mode logo
MCP server
RegistryRemote

PDF Dark — Invert PDF Colors & Dark Mode MCP Server

Invert PDF colors and convert PDFs to dark mode with theme presets and browser tools.

PDF Dark — Invert PDF Colors & Dark Mode scores 65 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Knowledge. GitHub shows 3 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by 1436941541MITTypeScript3 stars
Trust score
65Good
Trust score 65 of 100, Good

Good trust

65 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "1436941541-pdf-dark": {      "url": "https://pdfdark.org/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

🌙 PDF Dark

Convert any PDF to dark mode — entirely in your browser. No upload, no signup, free.

Live: pdfdark.org

PDF Dark turns any PDF into a dark-themed downloadable file. The entire conversion runs in your browser via PDF.js and a Web Worker — your file never touches a server. A saturation-based algorithm preserves photos and charts in their original colors while darkening the rest.

Why this exists

Reading long PDFs at night meant either staring at a bright white page or uploading sensitive documents (research papers, contracts, medical records) to "PDF dark mode" services I didn't fully trust. The "invert colors" toggles in existing tools also wreck photos and charts — turning portraits into negatives and graphs into noise.

So PDF Dark was built around two non-negotiable defaults:

  1. Nothing leaves your browser. Verify it yourself in DevTools → Network.
  2. Images keep their original colors. Only text and UI elements get themed.

Features

  • 100% browser-side — file processed via File API + Web Worker + OffscreenCanvas
  • Image preservation — saturation classifier keeps photos and charts in original colors
  • Real PDF output — image-based PDF, opens dark in any reader (Kindle, iPad, Acrobat, Preview)
  • 4 dark themes — pick your preferred contrast
  • No signup, no tracking — Sentry runs only on errors, with full content masking
  • Mobile support — works on iOS Safari and Android Chrome
  • Free — and intends to stay that way

How it works

Drop PDF
  → PDF.js parses each page to canvas
  → Web Worker classifies pixels by saturation
       ├─ saturated pixels (images, charts)  → preserved
       └─ low-saturation pixels (text, UI)   → inverted / themed
  → pdf-lib stitches a new PDF
  → User downloads

The saturation classifier runs on OffscreenCanvas inside a Web Worker, so the UI thread never blocks even on large PDFs.

Stack

Privacy

Your PDF never leaves your browser. The conversion uses only:

  • File API (local file read)
  • Web Worker (off-main-thread processing)
  • OffscreenCanvas (per-pixel manipulation)
  • Blob + URL.createObjectURL() (download trigger)

Verify yourself: open DevTools → Network → drop a PDF. No upload requests appear.

Error monitoring via Sentry runs only when something breaks. Session replays mask all text, inputs, and media — so error reports show structure but never content.

See Privacy for the full policy.

Local development

git clone https://github.com/1436941541/pdf-dark.git
cd pdf-dark
npm install
npm run dev

Open http://localhost:3000.

To enable Sentry locally, copy .env.local.example to .env.local and add your DSN.

Project structure

app/
  page.tsx                       Tool: in-browser dark mode reader
  invert-pdf-colors/             Tool: invert colors & download the new PDF
                                 (was /converter until Aug 2026 — merged)
  blog/                          Guides, one dir per post (see lib/variants.ts)
  about/, privacy/, terms/       Legal / about
  changelog/                     Release history
  sitemap.ts, robots.ts          SEO infrastructure
components/
  drop-zone.tsx                  File input + drag-and-drop
  converter.tsx                  Reader orchestrator (drop zone + viewer)
  downloader.tsx                 Convert & download flow; theme/image defaults
                                 are props so tool pages can start differently
  pdf-viewer.tsx                 Render + dark pass + in-browser reading
lib/
  dark-color.ts                  Color mapping + per-image classifier
  build-dark-pdf.ts              Rebuilds the output PDF
  themes.ts                      Theme background definitions
  variants.ts                    Blog post registry (drives sitemap + cross-links)
  site.ts                        Canonical URL helper

Contributing

Issues and PRs welcome — especially:

  • Edge cases that break the algorithm (weird embedded fonts, scanned PDFs)
  • New theme presets
  • Performance improvements for large PDFs (>50 MB)

For substantial features, please open an issue first to discuss the approach.

License

MIT

Contact

hello@pdfdark.org

Frequently asked questions

What is PDF Dark — Invert PDF Colors & Dark Mode MCP Server?

Invert PDF colors and convert PDFs to dark mode with theme presets and browser tools.

How do I install PDF Dark — Invert PDF Colors & Dark Mode MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. PDF Dark — Invert PDF Colors & Dark Mode MCP Server connects to the remote endpoint https://pdfdark.org/mcp, so there is nothing to install locally.

Is PDF Dark — Invert PDF Colors & Dark Mode MCP Server free and open source?

Yes. PDF Dark — Invert PDF Colors & Dark Mode MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does PDF Dark — Invert PDF Colors & Dark Mode MCP Server support remote (HTTP) connections?

Yes. PDF Dark — Invert PDF Colors & Dark Mode MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is PDF Dark — Invert PDF Colors & Dark Mode MCP Server's trust score calculated?

PDF Dark — Invert PDF Colors & Dark Mode MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server