What it does
MsgLens, published by andyliu0427, reads Outlook .msg, .eml and winmail.dat (TNEF) email files and identifies each format from its contents rather than its file extension. It shows headers, the message body and attachments. For winmail.dat files it recovers the formatted body and the attachments that the format holds. Body recovery falls back through several Outlook properties, including compressed RTF, and non-Latin text is decoded using the code page declared in the message. Inline cid: images are matched to the message's own attachments, and remote images are blocked by default.
It suits reviewing email archive files, extracting attachments from Outlook exports, or checking raw internet headers for IT and deliverability work. The viewer runs entirely in the browser with no backend, and messages can be exported to .eml, .txt or PDF, with attachments extracted individually or as a ZIP.
The parsing code is also packaged as the msglens-cli npm package, and its msglens mcp command starts an MCP server over the same functions. The package runs under Node, which the README notes is not a browser, so it needs Node.js to run. The README describes parsers that report structure only, without message contents, for checking files against real archives.
Limitations and requirements
winmail.dat files do not contain the recipient list, so To and Cc show as empty rather than being guessed. The MCP server runs through the Node-based msglens-cli npm package and needs Node.js. The web viewer needs a browser.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
MsgLens
Read Outlook .msg, .eml and winmail.dat files locally: headers, body and attachments.
v0.2.1As shown on registry.modelcontextprotocol.io when we last read it