
Free the Tools
io.github.sapience-designv0.1.0Updated Oct 10, 2026
Local PDF, image, data and text tools for AI assistants. Files stay on your computer.
Overview
Runs 25 local file tools for PDFs, photos, data, text and developer jobs, keeping files on your own computer.
- What it does
- A local MCP server and command line that give an assistant 25 everyday file tools. It can compress, merge, split, rotate and fill PDFs, strip location data from photos, convert CSV and JSON, encode and decode base64, hash, decode JWTs, test regexes, generate UUIDs and passwords, make QR codes, and convert units, time zones, case and word counts. Results are saved to a library folder and every job is recorded in a log.
- When to use it
- Worth adding when an assistant needs to work on files on your machine without installing Ghostscript, ImageMagick or Python packages, and when you want the work to stay local. Useful for routine PDF, data-conversion and text jobs.
- Requirements
- Node.js 22 or later; npx fetches the package on first use. Runs as a local stdio process, so it is desktop only. Optional FREETHETOOLS_LIBRARY sets the results folder; --allow-save or FREETHETOOLS_ALLOW_SAVE widens where results may be written. No account or API key.
Installation
In SourceWeft
- Open Free the Tools in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
freethetools
Free the Tools on your own computer, for AI assistants. Your files never leave it.
This package runs a Model Context Protocol (MCP) server and a small command line. They give an AI assistant 25 tools for everyday file jobs, such as compressing, merging, splitting, rotating and unlocking PDFs, stripping location data from photos, converting CSV and JSON, and hashing. The tools are the same ones as on freethetools.com.
It is listed in the official MCP Registry as io.github.sapience-design/freethetools.
An assistant that has this server no longer needs to install Ghostscript, ImageMagick or a Python package for those jobs. The server tells it to use these tools instead.
The privacy promise
- The server runs on your computer. It reads the files you point it at from your disk.
- It makes no network connection of its own. Nothing is uploaded and nothing is counted.
- Results are saved in a folder on your computer (see Where results go).
- The record of every job keeps options such as a quality level or a page range. It never keeps the text you gave a tool, a password or any other secret.
- It reads and writes only what is safe for an assistant to touch (see Safety).
- Anything the assistant reads or makes passes through your conversation with it. Use the website, not an assistant, for secrets such as passwords.
Set it up
You need Node.js 22 or later. Nothing else is installed: npx fetches the package the first time.
Claude Code
Run this once in a terminal:
Add --scope user before the name to use it in every project. Check it with claude mcp list.
Source: Claude Code MCP documentation.
Claude Desktop
Claude Desktop does not run in your project folder. Give the assistant absolute paths, such as C:\Users\you\Documents\report.pdf or /Users/you/Documents/report.pdf. A short path such as report.pdf will not be found.
- Open the Claude menu, then Settings, then Developer, then Edit Config.
- Add this to
claude_desktop_config.json(Windows:%APPDATA%\Claude, macOS:~/Library/Application Support/Claude):
- Restart Claude Desktop.
Source: Connect to local MCP servers. On Windows, if the app cannot start npx, use "command": "cmd" and "args": ["/c", "npx", "-y", "freethetools", "mcp"].
Cursor
Add the same mcpServers block as above to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). Source: Cursor MCP documentation.
Any other MCP client
Start the server with this command and speak MCP over standard input and output (stdio):
Use it without MCP
An assistant or script without MCP can use the command line:
run prints the result as JSON: ok, a summary, data and the files it saved, with their full paths. It exits with code 1 if the job failed. On Windows, put the JSON in a file and write @args.json instead of the JSON. Run freethetools --help for everything.
The tools
Run freethetools list for the full list. Files are always paths on your computer, absolute or relative to the working directory.
Every tool that makes files also takes an optional saveTo: a folder where the results are saved as well. An existing file is never overwritten. The server adds " (2)" to the name instead. saveTo has rules: see Safety.
Where results go
A record holds the tool, the time, the settings, the input file names and sizes, the short summary the tool returned and the result files. Failed jobs are recorded with the error.
- Settings are options only: yes/no switches, numbers, choices from a list, and a few short values such as a file name or a page range. Text you gave a tool, passwords, secrets (a JWT secret, a Wi-Fi password) and
saveToare never recorded. - Summaries are one line, such as "Encoded 3 bytes." A summary can name something you typed, such as a Wi-Fi network name.
- The record never holds file contents.
In Chrome and Edge, the library page on freethetools.com can open this folder, so you can see what an assistant did and get the results again. The page reads the folder in your browser; nothing is uploaded.
Safety
An AI assistant chooses the paths and file names. The package does not trust them.
Reading
- It never reads a hidden file, or a file inside a hidden folder. A name that starts with a dot is hidden. This covers
~/.ssh,~/.aws,~/.gnupg,.envand.git. - It follows links first, so a link to a hidden file is refused too.
- Only the part of a path below your working directory, your library or your home folder is checked. A project inside a folder such as
.workstill works. - A tool returns at most 1 MB of text or data in the conversation. Larger data is saved as a file in the library, and the result gives the path.
Saving with saveTo
saveTo may only point to a folder inside one of these:
- The working directory. This does not apply when the working directory is your home folder or the top of a drive.
- The library folder.
- A folder you allow with
--allow-save <folder>. Repeat the option for more folders. You can also setFREETHETOOLS_ALLOW_SAVEto a list of folders, separated by;on Windows and:elsewhere.
saveTo may not go into a hidden folder, such as .git/hooks. It follows links first, so a link cannot lead outside the allowed folders.
To allow a folder in Claude Code:
File names
- The package never saves a file whose name starts with a dot, or has no extension.
- It never saves a file that can run a program or start by itself:
.bat .cmd .com .exe .dll .msi .ps1 .psm1 .vbs .vbe .js .jse .wsf .wsh .hta .scr .pif .lnk .url .reg .sh .bash .zsh .command .desktop .app .jar .py .rb .pl .mjs .cjs .scpt .workflow .ps1xml .inf .cpl. - This holds for the library as well. The error names the file and asks for another name.
Limits
- Each call stops after 60 seconds, and after 5 minutes for
compress_pdf. This stops a runaway job from hanging the server. - A call may read up to 2 GB of input files. Larger files are refused.
- Password-protected PDFs must be unlocked first.
- Image Compress, Convert and Resize, and PDF to Images, are not in the package yet. They need an image engine that runs in Node.
How compress_pdf works
compress_pdf runs Ghostscript compiled to WebAssembly (@jspawn/ghostscript-wasm). The WebAssembly file ships inside this package (about 16 MB), so it needs no download and no Ghostscript on your computer.
Licence
AGPL-3.0-only, like the website. The source is at github.com/sapience-design/freethetools. Third-party code is listed in NOTICE.
A Sapience initiative.
Source: packages/freethetools/README.md at commit a225e26
Tools
0Version history
1- v0.1.0LatestOct 10, 2026


