PDF Slim MCP MCP server
The PDF Slim MCP server enables AI agents to compress PDFs to exact target sizes, perform lossless optimization, and inspect PDF metadata such as page count and password status. It leverages MuPDF compiled to WebAssembly on Cloudflare Workers to achieve significant size reductions while maintaining quality.
Endpoint and access
No sign-in: your client connects and lists tools immediately, with no account or key.
No sign-inEndpoint checked 2026-10-05
MCP endpoint (Streamable HTTP)
https://api.pdfslim.app/mcpWhat you can do with it
- Compress PDFs to a specific target file size
- Perform lossless optimization of PDF documents
- Inspect PDF page count, size, and password status
compress_pdfoptimize_pdfinspect_pdf
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http pdf-slim-mcp https://api.pdfslim.app/mcpCodex
Codex configuration
codex mcp add pdf-slim-mcp --url https://api.pdfslim.app/mcpCursor
Cursor configuration
{
"mcpServers": {
"pdf-slim-mcp": {
"url": "https://api.pdfslim.app/mcp"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"pdf-slim-mcp": {
"type": "streamableHttp",
"url": "https://api.pdfslim.app/mcp",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"pdf-slim-mcp": {
"type": "http",
"url": "https://api.pdfslim.app/mcp"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http pdf-slim-mcp https://api.pdfslim.app/mcpClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"pdf-slim-mcp": {
"url": "https://api.pdfslim.app/mcp"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"pdf-slim-mcp": {
"serverUrl": "https://api.pdfslim.app/mcp"
}
}
}Other productivity and knowledge servers
Do you run PDF Slim MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.