npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

orderful-mcp

v1.0.1

Published

MCP server for Orderful EDI API integration

Readme

Orderful MCP Server

An MCP (Model Context Protocol) server that provides access to the Orderful EDI API, enabling Claude to interact with your EDI transactions, trading partners, and document workflows.

Features

This MCP server exposes the following Orderful API capabilities:

Organization

  • get-organization - Get your Orderful organization details

Transactions

  • list-transactions - List EDI transactions with filtering (type, status, date range)
  • get-transaction - Get details of a specific transaction
  • get-transaction-message - Get the raw EDI message content
  • create-transaction - Create a new EDI transaction

Polling Bucket

  • get-polling-bucket - Retrieve transactions from a polling bucket for processing

Deliveries

  • get-delivery - Get delivery details
  • approve-delivery - Approve a transaction delivery
  • fail-delivery - Mark a delivery as failed

Relationships

  • list-relationships - List all trading partner relationships

Acknowledgments

  • create-acknowledgment - Create an acknowledgment (997/999) for a transaction
  • get-acknowledgment - Get acknowledgment details

Attachments

  • get-attachment - Get attachment metadata

Data Conversion

  • convert-data - Convert between X12, EDIFACT, and JSON formats

Labels

  • generate-label - Generate shipping labels from transaction data

Installation

  1. Clone or copy this directory

  2. Install dependencies:

    cd orderful-mcp-server
    npm install
  3. Build the TypeScript:

    npm run build

Configuration

Set your Orderful API key as an environment variable:

export ORDERFUL_API_KEY="your-api-key-here"

Usage with Claude Desktop

Add the following to your Claude Desktop configuration file:

macOS

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "orderful": {
      "command": "node",
      "args": ["/Users/jamesmartin/Documents/orderful-mcp-server/dist/index.js"],
      "env": {
        "ORDERFUL_API_KEY": "[YOUR API KEY HERE]"
      }
    }
  }
}

Windows

Edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "orderful": {
      "command": "node",
      "args": ["C:\\path\\to\\orderful-mcp-server\\dist\\index.js"],
      "env": {
        "ORDERFUL_API_KEY": "your-api-key-here"
      }
    }
  }
}

Development

Run in development mode with hot reloading:

npm run dev

Available Transaction Types

Common EDI transaction types supported by Orderful:

  • 850_PURCHASE_ORDER - Purchase Order
  • 855_PURCHASE_ORDER_ACKNOWLEDGMENT - PO Acknowledgment
  • 856_SHIP_NOTICE - Advance Ship Notice (ASN)
  • 810_INVOICE - Invoice
  • 860_PURCHASE_ORDER_CHANGE_REQUEST - PO Change Request
  • 945_WAREHOUSE_SHIPPING_ADVICE - Warehouse Shipping Advice
  • 944_WAREHOUSE_STOCK_TRANSFER - Warehouse Stock Transfer
  • 997_FUNCTIONAL_ACKNOWLEDGMENT - Functional Acknowledgment

Status Values

Validation Status

  • PROCESSING - Transaction is being validated
  • VALID - Transaction passed validation
  • INVALID - Transaction failed validation

Delivery Status

  • PENDING - Delivery not yet attempted
  • SENT - Delivery in progress
  • DELIVERED - Successfully delivered
  • FAILED - Delivery failed

Acknowledgment Status

  • PENDING - Awaiting acknowledgment
  • ACCEPTED - Transaction accepted
  • REJECTED - Transaction rejected

Example Usage in Claude

Once configured, you can ask Claude things like:

  • "Show me the recent purchase orders from Walmart"
  • "Get the details of transaction 12345"
  • "List all transactions that failed delivery in the last week"
  • "What trading partners do we have configured?"
  • "Check our polling bucket for new inbound transactions"
  • "Approve delivery for transaction 67890"

API Documentation

For more details on the Orderful API, visit: https://docs.orderful.com/reference/overview

Troubleshooting

  1. API Key Issues: Ensure your ORDERFUL_API_KEY environment variable is set correctly
  2. Connection Errors: Verify your network can reach api.orderful.com
  3. Permission Errors: Ensure your API key has the necessary permissions for the operations you're trying to perform

License

MIT