Unsliced
Local MCP server that turns Markdown or HTML into searchable PDFs without splitting tables
Unsliced is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add unsliced -- npx -y unsliced-pdf-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"unsliced": {
"command": "npx",
"args": [
"-y",
"unsliced-pdf-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"unsliced": {
"command": "npx",
"args": [
"-y",
"unsliced-pdf-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"unsliced": {
"command": "npx",
"args": [
"-y",
"unsliced-pdf-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"unsliced": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"unsliced-pdf-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add unsliced -- npx -y unsliced-pdf-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.unsliced]
command = "npx"
args = ["-y", "unsliced-pdf-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"unsliced": {
"command": "npx",
"args": [
"-y",
"unsliced-pdf-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "unsliced": { "command": "npx", "args": [ "-y", "unsliced-pdf-mcp" ] } } }Or run: gemini mcp add -s user unsliced npx -- -y unsliced-pdf-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "unsliced": { "command": "npx", "args": [ "-y", "unsliced-pdf-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "unsliced": { "command": "npx", "args": [ "-y", "unsliced-pdf-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "unsliced": { "command": "npx", "args": [ "-y", "unsliced-pdf-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "unsliced": { "command": "npx", "args": [ "-y", "unsliced-pdf-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "unsliced": { "command": "npx", "args": [ "-y", "unsliced-pdf-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "unsliced": { "command": "npx", "args": [ "-y", "unsliced-pdf-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "unsliced": { "command": "npx", "args": [ "-y", "unsliced-pdf-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Unsliced
Unsliced plans page breaks across the whole document rather than filling one page at a time. Tables break only between complete rows and repeat their header on continuation pages, while diagrams, cards and images are kept whole whenever they fit.
It runs locally as a stdio MCP server launched through npx, so it works with any MCP client that can start a local process. The output contains real selectable text rather than screenshots, and Chinese text is supported with a bundled font.
It suits people who generate reports, invoices or documentation with an AI assistant and need the printed or exported PDF to look clean across page boundaries.
What it does
- Whole-document page breaks
- Chooses breaks across the entire document by weighing the cost of each possible layout.
- Table-aware splitting
- Splits tables only between complete rows and repeats the header on each continuation page.
- Keeps visuals intact
- Holds diagrams, cards and images on one page when they fit, and keeps headings with the content that follows.
- Searchable PDF output
- Produces PDFs with real text that can be searched and copied.
- Chinese font support
- Includes a bundled font so Chinese text renders without extra setup.
Good for
- Export a Markdown report from an AI assistant as a PDF without cut-off table rows
- Turn HTML pages with diagrams into print-ready PDFs that keep figures whole
- Produce searchable PDF invoices or reports that stay compact across pages
- Generate bilingual English and Chinese PDF documents from assistant output
Pricing
Open source
Unsliced FAQ
How do I install Unsliced?
Install Node.js 22 or newer, then add a local stdio MCP server that launches with npx -y unsliced-pdf-mcp. Setup snippets are provided for Claude Desktop, Cursor and OpenCode.
Where are the generated PDFs saved?
By default PDF files go to Documents/Unsliced. Source archiving is off by default and can be enabled with the UNSLICED_KEEP_SOURCE=1 environment variable.
Does the PDF contain selectable text?
Yes. The output uses real text, so it can be searched and copied, unlike raster-slice exports.
Is Unsliced free?
Yes. Unsliced is open source, so you can use and self-host it for free.
How do I add Unsliced to Claude Code?
Run this command in your terminal: claude mcp add unsliced -- npx -y unsliced-pdf-mcp
What are the best alternatives to Unsliced?
The closest alternatives to Unsliced are MintPDF, MCP Pdf, Pdf It, Document Parser and Markdown.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.