# Attestwire MCP server

EN 16931: validate invoice data, UBL/CII or PDF; emit XRechnung/Peppol XML, never a PDF.

## Facts

- Endpoint: https://api.attestwire.com/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: F (5/100, scanned 2026-09-24) · report https://gateturbo.com/report/a0b65b49-b5ab-4b60-92ab-ea4f85debc58
- Tools: 13
- Category: Docs & AI · source: registry
- Last probed: 2026-09-03 · first listed: 2026-08-16
- Directory page: https://gateturbo.com/mcp/attestwire · this document: https://gateturbo.com/mcp/attestwire.md · JSON: https://gateturbo.com/api/directory/servers/attestwire

## Tools (13)

- `validate_invoice`: Validate an invoice against EN 16931 and its national CIUS rule sets (XRechnung UBL/CII, Peppol BIS 3.0, Factur-X). Returns every failure as
- `validate_invoice_xml`: Validate an e-invoice FILE the user already has, in either EN 16931 syntax and of either document type. Reads a UBL 2.1 Invoice, a UBL 2.1 C
- `generate_invoice`: Generate compliant e-invoice XML from a JSON invoice, in either EN 16931 syntax. Profiles: en16931, xrechnung-ubl, peppol-bis-3, xrechnung-c
- `explain_rule`: Explain one EN 16931 / XRechnung / Peppol BIS rule in plain English: what it requires, why, the business term it constrains, a concrete fix 
- `check_vies_status`: Current availability of VIES, the European Commission service that validates EU VAT numbers. Per-member-state status, latency and 24h/7d upt
- `check_french_readiness`: Look up a French company by SIREN, SIRET or name in INSEE SIRENE open data, for the 2026-2027 French e-invoicing mandate. Confirms the compa
- `list_approved_platforms`: The official list of Plateformes Agréées (PA, formerly PDP) that DGFiP has approved to transmit invoices under the French e-invoicing mandat
- `issue_api_key`: Mint a free Attestwire API key (100 documents/month, no signup flow, no card) so validate_invoice and generate_invoice can be used. THE KEY 
- `get_upgrade_link`: Return a hosted checkout URL for upgrading an Attestwire key to a paid plan (starter: 2,500 documents/month at $49; scale: 25,000 at $199). 
- … 4 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Attestwire to your gate (https://gateturbo.com/login?next=/discovery?connect=attestwire).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/attestwire/claude · Claude Desktop → https://gateturbo.com/mcp/attestwire/claude-desktop · ChatGPT → https://gateturbo.com/mcp/attestwire/chatgpt · Codex → https://gateturbo.com/mcp/attestwire/codex · Cursor → https://gateturbo.com/mcp/attestwire/cursor · Windsurf → https://gateturbo.com/mcp/attestwire/windsurf · VS Code → https://gateturbo.com/mcp/attestwire/vscode · Gemini CLI → https://gateturbo.com/mcp/attestwire/gemini-cli · OpenClaw → https://gateturbo.com/mcp/attestwire/openclaw · n8n → https://gateturbo.com/mcp/attestwire/n8n · A script or server → https://gateturbo.com/mcp/attestwire/script

### Direct: Claude Code

Add Attestwire to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http attestwire https://api.attestwire.com/mcp
```

### Direct: Cursor

Add Attestwire to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "attestwire": {
      "url": "https://api.attestwire.com/mcp"
    }
  }
}
```

### Direct: VS Code

Add Attestwire to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "attestwire": {
      "type": "http",
      "url": "https://api.attestwire.com/mcp"
    }
  }
}
```

### Direct: Codex

Add Attestwire to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.attestwire]
url = "https://api.attestwire.com/mcp"
```

### Direct: Claude

Add Attestwire as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Attestwire" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://api.attestwire.com/mcp
```

### Direct: ChatGPT

Add Attestwire as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Attestwire" with the URL below.
3. Set authentication to none.

```
https://api.attestwire.com/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
