Offline PDF and text tools: merge, extract pages, inspect, clean text. No upload, no API key.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Offline PDF and text tools for AI agents. An MCP server that lets Claude Desktop, Cursor, VS Code and any other MCP client merge PDFs, pull out pages, inspect documents and clean up text β entirely on your own machine.
No upload. No API key. No account. No network call of any kind: the PDF work is done locally by pdf-lib, so a confidential contract never leaves your laptop.
| Tool | What it does | Writes files? |
|---|---|---|
pdf_info | Page count, per-page dimensions and metadata of a PDF | No |
merge_pdfs | Combine two or more PDFs into one, in the given order | Yes |
extract_pdf_pages | Copy a page selection ("1-3,7,10-12") into a new PDF | Yes |
clean_text | Collapse whitespace, strip invisible characters, normalize punctuation, optionally remove URLs | No |
The two tools that write files refuse to replace an existing file unless you pass overwrite: true, so an agent retrying a call cannot quietly destroy a document.
Node.js 20 or newer.
No install step β your MCP client runs it on demand with npx. Add the server to your client's config and restart it.
Edit claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonRestart Claude Desktop. The tools appear under the tools icon in the chat box.
Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json for every project):
Then enable the server under Settings β MCP.
Create .vscode/mcp.json:
Then point your client at node /absolute/path/to/tooldash-mcp/server.js instead of npx.
Paths may be absolute, relative to the client's working directory, or start with ~. Surrounding quotes are stripped, so a path pasted as "/home/you/file.pdf" still works.
The server reads and writes wherever your user account can. To confine it to one directory, set TOOLDASH_MCP_ROOT β any path outside it is refused with a clear error:
Ask your assistant in plain language β "merge these two PDFs and put the result on my desktop" β and it will fill in the calls below. The raw JSON is here for testing.
pdf_infomerge_pdfsextract_pdf_pagesPages are 1-based. Order is preserved, so "3,1-2" gives you page 3 first. A descending range like "5-1" reverses those pages.
clean_textremoveUrls strips every http/https URL. The server is offline, so it cannot tell a working link from a dead one β it does not pretend to.
Bad input comes back as a readable error result the model can act on, never as a crash: a missing file, a password-protected PDF, a page number past the end of the document, or an output path that already exists each produce a message saying what to do next. The server keeps running.
Diagnostics go to stderr only. stdout carries protocol frames and nothing else β the tests would fail if anything leaked into it.
ToolDash is a set of free, browser-based utilities β PDF, text, image, colour, developer and calculator tools β that run entirely in your tab with nothing uploaded. This server brings the same idea to your editor.
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tooldash-mcp)<a href="https://allmcps.com/mcp/tooldash-mcp"><img src="https://allmcps.com/api/badge/tooldash-mcp?style=directory" alt="Tooldash MCP on AllMCPs" /></a>