PUB Viewer for Claude and other AI assistants
Let Claude Desktop, Claude Code, Cursor or VS Code read your Microsoft Publisher .pub files: text, pictures and an HTML copy, on your own computer, without uploading the files.
Download for Claude Desktop Download for other assistants
What you can ask the assistant
- “Read
C:\Documents\newsletter.puband summarise it in five lines.” - “Translate the text of this flyer into Spanish and keep the layout of the headings.”
- “Save all the pictures of
brochure.pubinto the folderDocuments\pictures.” - “Make an HTML version of this publication so I can paste it into our website.”
- “List all the .pub files in
D:\Archive: title, pages, words and pictures, in a table.”
The assistant uses the PUB Viewer tools: read a publication (title and properties, the text of every page in reading order, tables, list of pictures), save the pictures, make an HTML copy (an approximation of the layout) and list a whole folder of .pub files. Converting to PDF is not included: for PDF use the Windows app or the website.
Claude Desktop (Windows and Mac)
- Download pubviewer.mcpb.
- In Claude Desktop open Settings › Extensions › Advanced settings › Install extension and choose the downloaded file.
- Ask Claude, for example: “read
C:\Users\me\Documents\flyer.pub”.
Claude Code, Cursor, VS Code and other assistants
- Download pubviewer-mcp.zip and extract it to a folder, for example
C:\Tools\pubviewer-mcp. Node.js 18 or newer is required. - Add the server to your assistant with one of the configurations below, replacing the path with your folder.
Claude Code (command line):
claude mcp add pubviewer -- node "C:\Tools\pubviewer-mcp\server.js"Cursor (.cursor/mcp.json) and Claude Desktop set up by hand (claude_desktop_config.json):
{ "mcpServers": { "pubviewer": { "command": "node", "args": ["C:\\Tools\\pubviewer-mcp\\server.js"] } } }VS Code (.vscode/mcp.json):
{ "servers": { "pubviewer": { "type": "stdio", "command": "node", "args": ["C:\\Tools\\pubviewer-mcp\\server.js"] } } }Want to use it in your own programs, in a script or on a server? The same package also has a command line and a local HTTP API: API and command line.
Price: a PUB Viewer Pro feature
The extension for AI assistants is part of PUB Viewer Pro: €9.99, one-off, the same licence as the website and the Windows app. The first 10 documents are free, so you can try it.
- Buy Pro on this website (Get PUB Viewer Pro) or from the Windows app: it is the same licence, tied to your email address.
- Ask the assistant: “activate PUB Viewer Pro with my email [email protected]”. You get a 6-digit code by email: tell it to the assistant and Pro stays active on that computer. Alternatively, from a terminal:
node server.js login. - Already activated the website licence in the Windows app? The extension finds it by itself.
Privacy: your documents stay on your computer
Publications are read by the program on your computer, with the same converter as the website: they are not uploaded to the Internet and PUB Viewer does not receive them. The result (for example the text of the publication) goes to the AI assistant you use, which processes it under its provider's terms, for example Anthropic for Claude. The only Internet connection is Pro activation, with your email and a code. Details in the privacy policy.
Frequently asked questions
Does it work with claude.ai in the browser, phone apps or ChatGPT?
Not yet. claude.ai on the web, the phone apps and ChatGPT only accept services on the Internet, while PUB Viewer works on your computer precisely so that your documents are not uploaded. It works with Claude Desktop, Claude Code, Cursor, VS Code and other assistants that use local MCP servers.
What is an MCP server?
MCP (Model Context Protocol) is the standard AI assistants use to work with external tools. PUB Viewer's “server” is a small program that the assistant starts by itself when needed: it does not stay running, does not open ports and does not connect to the Internet, except to activate Pro.
Can the assistant make a PDF?
No. PDF needs a browser engine, so it is done by the Windows app or the website. The assistant reads the text, saves the pictures and makes an HTML copy, which is an approximation: gradients, rotations and special effects are not reproduced.
What is the difference from the website and the Windows app?
On the website and in the app you open and convert files yourself. With the assistant you work inside a conversation and can ask for the next step too: a summary, a translation, a table of all the newsletters of a year. The converter is the same.
I bought Pro inside the app: does it work here too?
Yes, if you paid through the website (the app opens the payment page in your browser): the licence is tied to your email and works everywhere. Only an old purchase made with the Microsoft Store payment stays tied to your Microsoft account and works only in the app.