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

@europarcel/mcp

v2.0.1

Published

MCP server for Europarcel API - Enable AI assistants to interact with shipping and logistics services

Downloads

56

Readme

Europarcel MCP Server

A Model Context Protocol (MCP) server for the Europarcel Public API, providing AI assistants with tools to interact with shipping and logistics services. Easy installation via npm.

Features

  • 🚚 Comprehensive Shipping Tools - 24 tools covering account, addresses, locations, orders, tracking, and pricing
  • 🔐 Secure API Integration - Uses your own Europarcel API key
  • 📦 npm Package - Simple installation via npm/npx
  • 🤖 AI Assistant Ready - Works with Claude Desktop and other MCP-compatible clients

Quick Start

Claude Desktop Configuration (Simplest - Copy & Paste)

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "europarcel": {
      "command": "npx",
      "args": ["@europarcel/mcp"],
      "env": {
        "EUROPARCEL_API_KEY": "your-api-key-here"
      }
    }
  }
}

Using npm (Recommended)

# Install globally
npm install -g @europarcel/mcp

# Set your API key
export EUROPARCEL_API_KEY=your-api-key-here

# Run the server
europarcel-mcp

Using npx (No Installation)

# Run directly
EUROPARCEL_API_KEY=your-api-key npx @europarcel/mcp

Configuration

Environment Variables

  • EUROPARCEL_API_KEY (required) - Your Europarcel API key
  • LOG_LEVEL (optional) - Logging level: error, warn, info, debug (default: info)

Available Tools

Account Tools

  1. getProfile - Retrieves complete customer profile information
    • Account details (name, email, phone)
    • Wallet balance and currency
    • Notification preferences
    • Marketing settings

Address Tools

  1. getBillingAddresses - Retrieves all billing addresses

    • Parameters: None
    • Returns: complete list of billing addresses with business details, VAT info, bank details
  2. getShippingAddresses - Retrieves all shipping addresses (pickup locations)

    • Parameters: None
    • Returns: complete list of shipping addresses with coordinates and postal codes
  3. getDeliveryAddresses - Retrieves all delivery addresses (destination locations)

    • Parameters: None
    • Returns: complete list of delivery addresses with coordinates and postal codes

Location Tools

  1. getCountries - Retrieves all available countries

    • Returns: country code, name, currency, and language
  2. getCounties - Retrieves counties for a specific country

    • Parameters: country_code (required)
    • Returns: county ID, code, and name
  3. getLocalities - Retrieves localities for a specific country and county

    • Parameters: country_code (required), county_code (required)
    • Returns: locality ID and name
  4. getCarriers - Retrieves all available carriers

    • Returns: carrier ID, name, and active status
  5. getServices - Retrieves services with carrier information

    • Parameters: service_id, carrier_id, country_code (all optional)
    • Returns: service details with carrier and country information
  6. getFixedLocations - Retrieves fixed locations (lockers) for a country

    • Parameters: country_code (required), locality_id, carrier_id (single or comma-separated), locality_name+county_name (optional)
    • Returns: locker details including coordinates and schedule
  7. getFixedLocationById - Gets detailed information about a specific fixed location

    • Parameters: id (required)
    • Returns: complete locker details including schedule and payment type

Repayment Tools

  1. getRepayments - Retrieves customer repayments with payment details

    • Parameters: page (number), order_id (number - optional filter)
    • Returns: AWB, amounts, carrier info, delivery status, payout details
  2. getPayoutReports - Gets consolidated payout reports for bank transfers

    • Parameters: page (number)
    • Returns: payout amounts, bank details, payment dates, status summary

Search Tools

  1. searchLocalities - Advanced locality search with intelligent matching

    • Parameters: country_code (2 letters, required), search (min 2 chars, required), per_page (15|50|100|200)
    • Supports: diacritics, punctuation, reversed county-city queries
    • Returns: locality ID, name, county information
  2. searchStreets - Search streets within a specific locality

    • Parameters: country_code (required), locality_id (required), search (required)
    • Returns: street name, ID, and postal code
  3. postalCodeReverse - Reverse lookup postal code to get location details

    • Parameters: country_code (required), postal_code (required)
    • Returns: locality, county, and street information for the postal code

Order Tools

  1. getOrders - List customer orders with tracking information

    • Parameters: page (optional), per_page (15-200, optional)
    • Returns: paginated list of orders with status, carrier, AWB details
  2. getOrderById - Get detailed information about a specific order

  • Parameters: order_id (required)
  • Returns: complete order details, tracking history, financial breakdown
  1. createOrder - Create a new shipping order ⚠️ CHARGES YOUR WALLET
  • Parameters: complete order structure (carrier_id, service_id, addresses, content, extra)
  • Returns: order details including order ID, AWB, pricing, tracking URL
  • Requirements: exact carrier/service IDs, valid addresses, correct content structure
  1. cancelOrder - Cancel an existing order
  • Parameters: order_id (required), refund_channel ('wallet' or 'card', required)
  • Returns: cancellation status and refund details
  1. trackAwbsByCarrier - Track multiple AWB numbers from a specific carrier
  • Parameters: carrier_id (required), awb_list (array, max 200, required), language (optional)
  • Returns: tracking status and history for each AWB
  1. generateLabelLink - Generate secure download link for order labels
  • Parameters: order_ids (array, required), format ('A4' or 'A6', optional)
  • Returns: secure download URL for shipping labels PDF
  1. trackOrdersByIds - Track multiple orders by their IDs
  • Parameters: order_ids (array, required), language (optional)
  • Returns: tracking information for each order

Pricing Tools

  1. calculatePrices - Calculate shipping prices for a shipment
  • Complex tool with specific validation requirements
  • Supports address IDs or full address details
  • Handles multiple package types (envelopes, parcels)
  • Service-specific fixed location requirements
  • Returns prices from multiple carriers with delivery estimates

Usage Examples

With Claude Desktop

After configuration, you can ask Claude:

  • "Get my Europarcel profile"
  • "Show me all my billing addresses"
  • "Get all my shipping addresses"
  • "List my delivery addresses"
  • "What countries does Europarcel support?"
  • "Show me all counties in Romania (RO)"
  • "List localities in Bucharest county (B) in Romania"
  • "What carriers are available?"
  • "Show me services for carrier GLS in Romania"
  • "Find fixed locations (lockers) in Romania"
  • "Find lockers for carriers 1,2,3 in Bucharest, Romania"
  • "Get details for fixed location ID 123"
  • "Show my repayments"
  • "Get repayments for order 12345"
  • "Show my payout reports"
  • "Search for localities named 'Bucuresti' in Romania"
  • "Find streets containing 'Victoria' in locality 1234"
  • "What location has postal code 010123 in Romania?"
  • "Show my recent orders"
  • "Get details for order 12345"
  • "Cancel order 12345 with refund to wallet"
  • "Create order with carrier 1, service 1, from address 123 to address 456"
  • "Track AWBs 123456, 789012 from carrier 1"
  • "Generate label download link for orders 100, 101, 102"
  • "Calculate shipping price from Bucharest to Cluj for 2 parcels"

Development

Prerequisites

  • Node.js 20+
  • TypeScript 5+
  • npm 7+

Setup

# Clone the repository
git clone https://github.com/europarcel/mcp-npm.git
cd mcp-npm

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

Testing

# Run tests
npm test

# Test with MCP Inspector
EUROPARCEL_API_KEY=your-key npx @modelcontextprotocol/inspector dist/index.js

API Documentation

For detailed API documentation, visit:

  • Public API Docs: https://api.europarcel.com/api/documentation
  • Developer Portal: https://www.eawb.ro/docs/direct

Support

  • 📧 Email: [email protected]
  • 📚 Documentation: https://www.eawb.ro/docs
  • 🐛 Issues: https://github.com/europarcel/mcp-npm/issues

License

MIT License - see LICENSE file for details