返回目录
其他 待识别

dsh-pdfslim

zhaoyaqi18/dsh-pdfslim

PDF compression MCP tools for DeepSeek Harness (dsh). Compress/optimize/inspect PDFs via api.pdfslim.app — free 20 calls/day, pro key on Ko-fi.

Stars
0
Forks
0
Issues
0
更新
1 天前

PROJECT TOPICS

项目标签

PROJECT README

README

dsh-pdfslim — PDF Compression for DeepSeek Harness

中文

Bring production-grade PDF compression to DeepSeek Harness. This bundle wires the api.pdfslim.app MCP server (Cloudflare Worker + MuPDF engine, ~93% average compression) into your DSH profile as three tools:

Tool (as seen by the model) What it does
mcp__pdfslim__compress_pdf Compress a PDF to a target size / quality (render-rebuild engine)
mcp__pdfslim__optimize_pdf Lossless structural optimization (garbage collection, stream compression)
mcp__pdfslim__inspect_pdf Page count, file size, password protection check

Install

git clone https://github.com/zhaoyaqi18/dsh-pdfslim
dsh plugin --profile <name> add ./dsh-pdfslim
dsh --profile <name>

The upstream MCP server is hosted and always-on — no local engine, no dependencies.

Usage example

"Compress this PDF to under 1MB: ./report.pdf"

The agent calls mcp__pdfslim__compress_pdf and returns the compressed file.

Limits & pricing

  • Anonymous: 20 free calls/day per IP — perfect for trying it out.
  • Pro Key: $9.90/month, 5,000 calls, up to 100MB files — buy on Ko-fi.
  • Files up to 100MB. Gigantic files (100MB+) are handled by the web app: pdfslim.app.

When the free quota runs out, the API itself tells the AI where to go (buy a key or use the free web app) — no dead ends.

Why PDF Slim?

  • Real compression engine (MuPDF render-rebuild), not just re-packaging — measured 93% on a 11MB test PDF.
  • Privacy-first: files are processed in memory, not stored.
  • Works from anywhere: Claude, Hermes, DSH, or any MCP client.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型待识别
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。