MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Validate, parse, build and acknowledge X12 and HIPAA EDI files locally with ediFabric Native.
Skills that teach the AI this kind of work; they work alongside this one
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
A privacy-first app that strips AI watermarks from content you own.
Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 4/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 16/100 |
Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install ediFabric EDI. Follow https://mcp.popnx.com/i/edifabric-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a ediFabric EDI key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server ediFabric EDI for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "edifabric": { "command": "npx", "args": [ "-y", "@edifabric/mcp" ], "env": { "EDIFABRIC_SERIAL": "your-value", "EDIFABRIC_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For EDIFABRIC_SERIAL, EDIFABRIC_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the ediFabric EDI tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
SettingsDeveloperEdit Config
{
"mcpServers": {
"edifabric": {
"command": "npx",
"args": [
"-y",
"@edifabric/mcp"
],
"env": {
"EDIFABRIC_SERIAL": "your-value",
"EDIFABRIC_TOKEN": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use ediFabric EDI and tell me what you can do for me, then show me one thing✓ If Claude says it is using ediFabric EDI or shows a ediFabric EDI tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
EDIFABRIC_ALLOWED_DIRS Folders the tools may read and write, separated by ; on Windows and : elsewhere. Defaults to the client's roots or the home folder.EDIFABRIC_MAP Path to a map.json with local or custom models.EDIFABRIC_OFFLINE Set to true to use only the models in EDIFABRIC_MAP.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect ediFabric EDI yet
ediFabric EDI runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect ediFabric EDI
Works with Claude Code, with some setup first
You need a ediFabric EDI key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server ediFabric EDI for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user edifabric --env EDIFABRIC_SERIAL=your-value --env EDIFABRIC_TOKEN=your-value -- npx -y @edifabric/mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For EDIFABRIC_SERIAL, EDIFABRIC_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the ediFabric EDI tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user edifabric --env EDIFABRIC_SERIAL=your-value --env EDIFABRIC_TOKEN=your-value -- npx -y @edifabric/mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see ediFabric EDI listed as connected
Use ediFabric EDI and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using ediFabric EDI or shows a ediFabric EDI tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
EDIFABRIC_ALLOWED_DIRS Folders the tools may read and write, separated by ; on Windows and : elsewhere. Defaults to the client's roots or the home folder.EDIFABRIC_MAP Path to a map.json with local or custom models.EDIFABRIC_OFFLINE Set to true to use only the models in EDIFABRIC_MAP.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a ediFabric EDI key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server ediFabric EDI for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "edifabric": { "command": "npx", "args": [ "-y", "@edifabric/mcp" ], "env": { "EDIFABRIC_SERIAL": "your-value", "EDIFABRIC_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For EDIFABRIC_SERIAL, EDIFABRIC_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the ediFabric EDI tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the ediFabric EDI settings, EDIFABRIC_SERIAL, EDIFABRIC_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use ediFabric EDI and tell me what you can do for me, then show me one thing✓ If Cursor says it is using ediFabric EDI or shows a ediFabric EDI tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
EDIFABRIC_ALLOWED_DIRS Folders the tools may read and write, separated by ; on Windows and : elsewhere. Defaults to the client's roots or the home folder.EDIFABRIC_MAP Path to a map.json with local or custom models.EDIFABRIC_OFFLINE Set to true to use only the models in EDIFABRIC_MAP.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a ediFabric EDI key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server ediFabric EDI for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "edifabric": { "type": "stdio", "command": "npx", "args": [ "-y", "@edifabric/mcp" ], "env": { "EDIFABRIC_SERIAL": "your-value", "EDIFABRIC_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For EDIFABRIC_SERIAL, EDIFABRIC_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the ediFabric EDI tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the ediFabric EDI settings, EDIFABRIC_SERIAL, EDIFABRIC_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use ediFabric EDI and tell me what you can do for me, then show me one thing✓ If VS Code says it is using ediFabric EDI or shows a ediFabric EDI tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
EDIFABRIC_ALLOWED_DIRS Folders the tools may read and write, separated by ; on Windows and : elsewhere. Defaults to the client's roots or the home folder.EDIFABRIC_MAP Path to a map.json with local or custom models.EDIFABRIC_OFFLINE Set to true to use only the models in EDIFABRIC_MAP.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user edifabric --env EDIFABRIC_SERIAL=your-value --env EDIFABRIC_TOKEN=your-value -- npx -y @edifabric/mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"edifabric": {
"command": "npx",
"args": [
"-y",
"@edifabric/mcp"
],
"env": {
"EDIFABRIC_SERIAL": "your-value",
"EDIFABRIC_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"edifabric": {
"command": "npx",
"args": [
"-y",
"@edifabric/mcp"
],
"env": {
"EDIFABRIC_SERIAL": "your-value",
"EDIFABRIC_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"edifabric": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@edifabric/mcp"
],
"env": {
"EDIFABRIC_SERIAL": "your-value",
"EDIFABRIC_TOKEN": "your-value"
}
}
}
}EDIFABRIC_SERIAL secret required envEDIFABRIC_ALLOWED_DIRS envEDIFABRIC_MAP envEDIFABRIC_OFFLINE envEDIFABRIC_TOKEN secret required envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: @edifabric/mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
The registry name was verified against the domain edifabric.com (the registry checks domain ownership)
Code last changed 3 days ago
GitHub could not identify the licence type; open the file to check
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @edifabric/mcp@1.0.1
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/edifabric-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: EDIFABRIC_SERIAL, EDIFABRIC_TOKEN
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 3 days ago, and the latest version (1.0.1) reached the registry 7 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, Anki MCP Server
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Atlassian’s official server lets AI search and manage Jira work and Confluence pages. Connects to Atlassian’s cloud with OAuth sign-in.
MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.
| This one ediFabric EDI | Puter MCP | XcodeBuildMCP | Vexa | Atlassian Rovo MCP Server | Anki MCP Server | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Installs on your computer |
| Needs a key | Yes | No | No | Yes | No | No |
| Add with + in Claude | No | No | No | No | Yes | No |
| Basic checks | 2/3 | 4/4 | 3/3 | 2/4 | 4/4 | 3/3 |
| License | NOASSERTION | AGPL-3.0 | MIT | Apache-2.0 | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
An MCP server for EDI, currently X12 and HIPAA. It lets AI assistants such as Claude, Cursor and GitHub Copilot convert EDI to JSON and back, validate files, and generate 997 and 999 acknowledgments, using ediFabric Native on your own machine.
Your EDI files stay on your machine: the server reads and writes them locally, and returns summaries to the assistant rather than whole files.
| Tool | What it does |
|---|---|
parse_edi | Converts an EDI file to JSON, saves it to a file, and summarizes the interchanges and transaction sets |
validate_edi | Validates an EDI file up to HIPAA SNIP level 4, and returns each error with the segment it is in |
acknowledge_edi | Saves a 999 or 997 for an X12 file, with a TA1 when the interchange asks for one |
build_edi | Converts EDI JSON to an EDI file |
split_edi | Saves each transaction set in a file as its own EDI file |
describe_spec | Describes a transaction set from the model the other tools use, standard or custom: its loops and segments with their JSON property names, or one segment's elements, types, lengths, codes and syntax rules. With output: skeleton, it makes JSON of the required parts to fill in for build_edi |
get_status | Shows the license and how it's checked, where models come from and the allowed folders |
The tools detect the format from the file, and take an optional format to set it.
Try asking:
You need Node.js 18 or later. The server runs on Windows x64, Linux x64 and arm64, and macOS on Apple silicon.
Without EDIFABRIC_SERIAL, the server uses the free demo serial, which has a small daily quota and isn't for production. Use your own serial from Your account.
Install it as a plugin, which asks for your serial and keeps it in your system's credential store:
/plugin marketplace add EdiFabric/edifabric-mcp
/plugin install edifabric@edifabric
Or add the server on its own:
claude mcp add edifabric -e EDIFABRIC_SERIAL=YOUR_SERIAL -- npx -y @edifabric/mcp
On Windows, outside WSL, run npx through cmd: claude mcp add edifabric -e EDIFABRIC_SERIAL=YOUR_SERIAL -- cmd /c npx -y @edifabric/mcp.
Download edifabric-mcp- .mcpb from the latest release, then open it in Claude Desktop in one of these ways:
.mcpb file type);Claude Desktop shows the extension: select Install, then enter your serial and your EDI folder. The bundle includes everything, so you don't need Node.js.
Or add this to claude_desktop_config.json, under Settings, Developer, Edit Config:
{
"mcpServers": { "edifabric": { "command": "npx", "args": ["-y", "@edifabric/mcp"], "env": { "EDIFABRIC_SERIAL": "YOUR_SERIAL", "EDIFABRIC_ALLOWED_DIRS": "C:\\EDI" } } } }
Add this to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json:
{
"mcpServers": { "edifabric": { "command": "npx", "args": ["-y", "@edifabric/mcp"], "env": { "EDIFABRIC_SERIAL": "YOUR_SERIAL" } } } }
Add this to .vscode/mcp.json:
{
"servers": { "edifabric": { "type": "stdio", "command": "npx", "args": ["-y", "@edifabric/mcp"], "env": { "EDIFABRIC_SERIAL": "YOUR_SERIAL" } } } }
Add this to ~/.codex/config.toml:
[mcp_servers.edifabric]
command = "npx" args = ["-y", "@edifabric/mcp"] env = { EDIFABRIC_SERIAL = "YOUR_SERIAL" }
Gemini CLI (~/.gemini/settings.json), Windsurf (~/.codeium/windsurf/mcp_config.json), Cline, and most other clients take the same mcpServers entry as Claude Desktop.
Other MCP clients use the same command, npx -y @edifabric/mcp, and the same environment variables.
| Variable | What it does |
|---|---|
EDIFABRIC_SERIAL | Your ediFabric serial. The default is the demo serial |
EDIFABRIC_TOKEN | A token issued for you, for machines without internet access. See Licensing and quotas |
EDIFABRIC_TOKEN_CACHE | The folder for cached tokens, or none to keep them in memory only. The default is your user cache folder |
EDIFABRIC_ALLOWED_DIRS | The folders the tools can read and write, separated by ; on Windows and : elsewhere. Without it, the server uses the folders your MCP client shares, or your home folder |
EDIFABRIC_MAP | A map.json with local or custom models. See Models |
EDIFABRIC_OFFLINE | Set to true to use only the models in EDIFABRIC_MAP |
EDIFABRIC_LIBRARY | The path to the ediFabric Native library, if it isn't the one installed with the package |
Each transaction set is read and validated with a model for its type and version. By default, the server downloads the standard X12 and HIPAA models from EdiNation, which sends the transaction type and version, never the contents of your files.
To use local or custom models, such as ones you made in the EDI Spec Builder and downloaded for ediFabric Native, list them in a map.json and set EDIFABRIC_MAP to it:
{
"default": "", "maps": { "837:005010X222A1": { "type": 1, "name": "model837P.json", "location": "." }, "850:004010": { "type": 1, "name": "acme-850.json", "location": "models" } } }
Each key is the transaction set and version from ST or GS. location is relative to the map file. Transactions that aren't in the map still use the online models, unless EDIFABRIC_OFFLINE is true.
describe_spec finds models the same way, so it describes your custom models too. It keeps the models it downloads in memory only, and never saves them.
How the license is checked depends on your plan. You don't have to choose: set EDIFABRIC_SERIAL, and get_status shows which applies.
| Plan | How it works |
|---|---|
| Community | Each tool call that reads or writes EDI is checked online and counts towards your quota, so the server needs internet access. It allows 250 operations a day; see pricing |
| Developer | The server gets a token for this machine and saves it, so operations are checked locally and a restart needs no license call. It refreshes the token by itself. The plan covers up to 3 machines |
| Enterprise, Perpetual | The same, with a token that isn't limited to one machine |
| Issued token | Set EDIFABRIC_TOKEN to a token issued for you, such as for a Perpetual license or a site without internet access. The server makes no license calls. Without EDIFABRIC_SERIAL as well, it can only use the models in EDIFABRIC_MAP |
To upgrade, keep your serial if it stays the same, or set the new one in EDIFABRIC_SERIAL, and restart your MCP client. describe_spec and get_status don't read or write EDI, so they don't count as operations. describe_spec downloads models with your serial, as the other tools do.
This MCP server is open source under the MIT license. ediFabric Native, which it uses through the edifabric-x12 package for X12, is licensed under the ediFabric EULA.
npm install
npm test
The tests need Node.js 22.9 or later, for --env-file-if-exists. They use the sample model in test/fixtures and need a serial with quota left. Put EDIFABRIC_SERIAL=YOUR_SERIAL in a .env.local file, which git ignores, or set the variable. They need ediFabric Native 120 or later: set EDIFABRIC_LIBRARY if the installed package has an older one. Set EDIFABRIC_ONLINE_TESTS=1 to include the tests that download models online. To try the server interactively, run npm run inspect.
Each EDI format has a module in src/formats, with its own ediFabric Native library and bindings package. To add one, such as EDIFACT with edifabric-edifact-tools, write a module with the same members as src/formats/x12/index.js and register it in src/formats/index.js. The tools, licensing and models then work with it. Its library loads only when a file of that format is used, so the bindings package can be an optional dependency. test/formats.test.js shows a complete example with a stand-in library.