Back to Browse

Peppol MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Peppol participant lookup (SML + SMP + Peppol Directory).

About

Peppol participant lookup (SML + SMP + Peppol Directory).

Remote endpoints: streamable-http: https://gateway.pipeworx.io/peppol/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (1976/1978 approved).

47 tools verified · Open access · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Optional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.Required

Environment variable: PIPEWORX_API_KEY

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

@pipeworx/peppol

Check whether a company is registered on the Peppol e-invoicing network, list the document types it accepts, and get the AS4 endpoint a sender needs — walked live through the Peppol SML and SMP, with no network membership required.

Part of Pipeworx — an MCP gateway connecting AI agents to 1867+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • lookup_participant(participantId, scheme?, environment?) — the authoritative registration check. Resolves the participant through the SML (DNS/BDXL) to its SMP and reads the ServiceGroup. Answers "can I send this company an e-invoice, and in which formats?" Returns registered: false with a reason, plus determinate, when there is no SML record.
  • get_participant_endpoint(participantId, documentTypeId, documentTypeScheme?, scheme?, environment?) — the AS4 delivery details for one document type: transport profile, receiving endpoint URL, process identifier, and the service activation/expiration window. Answers "where do I actually deliver this, and is it still live?"
  • search_participants(q, country?, limit?) — searches the Peppol Directory by company name, VAT number or organisation number. Answers "what is this company's Peppol identifier?", which is the input the other two tools need.

Auth

Keyless. All three upstreams are public and need no Peppol network membership, no Access Point contract and no PKI certificate. Reading the network's discovery layer is deliberately open — it is what lets any sender find any receiver.

(Note the asymmetry: reading discovery is open, sending over AS4 is not. Delivering a document needs an accredited Access Point and a Peppol certificate. This pack covers the read half only.)

Data sources

  • https://cloudflare-dns.com/dns-query and https://dns.google/resolve — the SML NAPTR lookup, over DNS-over-HTTPS because the Workers runtime has no DNS resolver. Cloudflare first, Google as fallback.
  • SML zone iso6523-actorid-upis.edelivery.tech.ec.europa.eu (production) and iso6523-actorid-upis.acc.edelivery.tech.ec.europa.eu (pilot), operated by the European Commission — maps a participant identifier to its SMP base URL.
  • Per-participant SMPs, whichever host the NAPTR names (e.g. https://smp.elma-smp.no, https://smp.horus-software.be) — serve /{scheme}::{participantId} and /{scheme}::{participantId}/services/{docTypeId}.
  • https://directory.peppol.eu/search/1.0/json — the Peppol Directory, the network's opt-in business-card index, operated by OpenPEPPOL.

Things worth knowing before you touch this

The MD5 lookup scheme every write-up describes is dead. Most Peppol documentation (and most blog posts) describe the SML as B-{md5(lowercased participant id)}.iso6523-actorid-upis.{zone} resolving to a CNAME. That NXDOMAINs today for every participant, including ones you can see listed in the Peppol Directory. The live scheme is OASIS BDXL: the record name is the unpadded base32 of SHA-256 over the lowercased identifier, and the record is a NAPTR whose service field is Meta:SMP and whose regexp field carries the SMP URL as !.*!https://smp.example/!. Getting NXDOMAIN on a company you know is registered means you are on the MD5 path, not looking at an unregistered company — that costs an hour if you trust the docs over a live dig.

Hash the identifier value only. The input to SHA-256 is 0192:989995278, never iso6523-actorid-upis::0192:989995278. Including the scheme prefix NXDOMAINs silently, which looks exactly like "not registered".

The two DoH providers return NAPTR RDATA in different shapes. Cloudflare quotes the character-strings (100 10 "U" "Meta:SMP" "!.*!https://x!" .), Google does not (100 10 U Meta:SMP !.*!https://x! .). Parse both or the fallback path silently returns nothing.

SMPs disagree about Accept. smp.elma-smp.no (Spring-based) answers 406 Not Acceptable to Accept: application/xml, while smp.horus-software.be serves it. Both accept text/xml. Send a q-list, or the pack works against one operator's SMP and 406s against another's — and a 406 here reads like the participant is broken rather than like our header is.

XML prefixes vary by SMP implementation. The same elements come back as smp:ServiceGroup from one operator and ns2:ServiceGroup from another. Match on local name, never on prefix.

Absence from the Directory is not absence from the network. Business cards are opt-in, so search_participants returning nothing does not mean a company cannot receive e-invoices. lookup_participant against the SML is the authoritative answer; the Directory is a convenience index for turning names into identifiers.

The participant identifier is {icd}:{value}, and the ICD prefix is part of it. 989995278 is a Norwegian org number; 0192:989995278 is a Peppol participant. The same company can appear under several ICDs (e.g. 0208 company number and 9925 VAT for the same Belgian entity), each a separate registration with its own document types.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "peppol": {
      "url": "https://gateway.pipeworx.io/peppol/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/peppol/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 1867+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/lookup_participant \
  -H 'Content-Type: application/json' \
  -d '{"participantId":"0192:989995278"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/lookup_participant. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Run it from npm

@pipeworx/mcp-peppol is a local stdio bridge to the Pipeworx gateway: your MCP client starts it with npx, and it forwards every call to the same https://gateway.pipeworx.io/peppol/mcp endpoint shown above. It needs network access; there is no offline mode.

{
  "mcpServers": {
    "peppol": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-peppol"]
    }
  }
}

Without a key it calls anonymously, capped at 50 calls a day. A free account raises that to 200 a day: get a key at https://pipeworx.io/signup and add "env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry. The key is sent as a Bearer token, the same way a hosted connection sends it, so calls are metered and billed exactly as they are there.

It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to also list ask_pipeworx and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check your Node version's documentation.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Peppol data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Reviews

No reviews yet

Be the first to review this server!