
Free the Tools
io.github.sapience-designv0.1.0更新於 Oct 10, 2026
Local PDF, image, data and text tools for AI assistants. Files stay on your computer.
概覽
在本機執行 25 個檔案工具,處理 PDF、照片、資料、文字與開發工作,檔案不離開你的電腦。
- 功能
- 一個本機 MCP 伺服器與命令列,為助理提供 25 個日常檔案工具。它可以壓縮、合併、拆分、旋轉與填寫 PDF,移除照片中的位置資料,轉換 CSV 與 JSON,進行 base64 編碼解碼、雜湊、JWT 解碼、正規表達式測試、產生 UUID 與密碼、製作 QR code,以及單位、時區、大小寫與字數轉換。結果會存到函式庫資料夾,每個工作都會記錄在日誌中。
- 適用情境
- 當助理需要處理你電腦上的檔案,又不想安裝 Ghostscript、ImageMagick 或 Python 套件時適合加入;也適合希望處理過程留在本機的情境。常用於 PDF、資料轉換與文字類日常任務。
- 執行需求
- 需要 Node.js 22 或更新版本;首次使用時由 npx 取得套件。以本機 stdio 程序執行,僅限桌面端。選用環境變數 FREETHETOOLS_LIBRARY 可指定結果資料夾;--allow-save 或 FREETHETOOLS_ALLOW_SAVE 可擴大結果寫入範圍。不需要帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Free the Tools,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:packages/freethetools/README.md,提交 a225e26
工具
0版本歷史
1- v0.1.0最新Oct 10, 2026


