XSN Viewer for Claude and other AI assistants
Connect XSN Viewer to Claude Desktop, Claude Code, Cursor or VS Code: the assistant reads InfoPath forms, extracts attachments and turns a whole folder of forms into a table or CSV on your computer, without uploading anything.
Download for Claude Desktop Download for other assistants For developers
What you can ask the assistant
- “Read the form
C:\Forms\leave-request.xmland tell me who submitted it, for which dates and how many days.” - “Show this form as it looked in InfoPath, as an HTML page in
C:\Out.” - “Extract the attachments of this form into
C:\Out\attachments.” - “Turn all the forms in
C:\Archive\Expensesinto a table with one row per form and save it as CSV, so I can migrate the data.” - “Describe the template
expense-report.xsn: which views, fields and data sources does it have?”
The assistant uses the tools of XSN Viewer: reading a form (every field with the labels of the template, repeating sections, attachments, signatures), rendering the form as an HTML page with its original layout, extracting attachments, a table of a whole folder of forms (one row per form, ready for Excel) and describing a template (views, fields, data sources). That is what you need to migrate an old InfoPath archive now that InfoPath is retired.
Claude Desktop (Windows and Mac)
- Download xsnviewer.mcpb.
- In Claude Desktop open Settings › Extensions › Advanced settings › Install extension and choose the downloaded file.
- Ask Claude, for example: “read the form
C:\Users\name\Downloads\leave-request.xml”.
Claude Code, Cursor, VS Code and other assistants
- Download xsnviewer-mcp.zip and extract it to a folder, for example
C:\Programs\xsnviewer-mcp. Node.js 18 or later is required. - Add the server to your assistant with one of the configurations below, changing the path to your folder.
Claude Code (command line):
claude mcp add xsnviewer -- node "C:\Programs\xsnviewer-mcp\server.js"Cursor (.cursor/mcp.json) and Claude Desktop configured by hand (claude_desktop_config.json):
{ "mcpServers": { "xsnviewer": { "command": "node", "args": ["C:\\Programs\\xsnviewer-mcp\\server.js"] } } }VS Code (.vscode/mcp.json):
{ "servers": { "xsnviewer": { "type": "stdio", "command": "node", "args": ["C:\\Programs\\xsnviewer-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 feature of XSN Viewer Pro
The extension for AI assistants is a feature of XSN Viewer Pro: €29, one-off, the same licence that works on the website and in the Windows app. The first 10 documents are free, to try it.
- Buy Pro on this site (Pro in the web app) or from the Windows app: it is the same licence, tied to your email.
- Ask the assistant: “activate XSN Viewer Pro with the email name@example.com”. You receive a 6-digit code by email: tell it to the assistant and Pro stays active on that computer. Or, from a terminal:
node server.js login. - Already activated the site licence in the Windows app? The extension recognises it by itself.
Privacy: the forms stay on your computer
Forms are read by the program on your computer, with the same engine as the website: they are not uploaded to the Internet and XSN Viewer does not receive them. The result (for example the fields, names and amounts of a form) is passed to the AI assistant you use, which handles it under its provider’s terms, for example Anthropic for Claude. The only Internet connections are the activation of Pro (email and code) and, with Pro, a licence check about once a week. Details in the privacy policy.
Frequently asked questions
Does it work with claude.ai in the browser, the phone apps or ChatGPT?
Not yet. claude.ai on the web, the phone apps and ChatGPT only accept services on the Internet, while XSN Viewer works on your computer precisely so that your forms are not uploaded. It works with Claude Desktop, Claude Code, Cursor, VS Code and the other assistants that use local MCP servers.
What is an MCP server?
MCP (Model Context Protocol) is the standard AI assistants use to call outside tools. The XSN Viewer “server” is a small program that the assistant starts by itself when needed: it does not stay running, opens no ports and does not connect to the Internet, except to activate Pro and, about once a week, to check the licence.
How is it different from the website and the Windows app?
On the website and in the app you open forms yourself, one by one or in a batch. With an assistant you do it inside a conversation and can ask for the next step too: a table of an entire archive, a summary of leave requests, a plan to move the data to SharePoint lists or Power Apps. It is the same InfoPath engine.
Do I need the .xsn template?
It is better to have it: the field labels, the drop-down texts and the original layout come from the template. The tools look for it next to the form, or you tell the assistant where it is. Without it you still get the data, with labels derived from the field names.
I bought Pro inside the app: does it work here?
Yes. In the Windows app, too, Pro is bought with the payment on this website (the app opens the payment page in your browser): the licence is tied to your email and works everywhere, here included.