# xmlvalid

> xmlvalid is a freemium MCP server for developer tools. Validate XML and e-invoices against XSD, DTD, RelaxNG and Peppol or XRechnung rules. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API, CLI, self-hosted
- **Website:** https://xmlvalid.com/docs/api
- **MCP Registry name:** com.xmlvalid/xmlvalid
- **Categories:** developer tools, files and documents
- **Listing updated:** 2026-11-15

## About

xmlvalid runs the same engine behind its web validator and REST API, and this MCP endpoint (xmlvalid.com/mcp) brings it to an assistant, which can also explain what the errors mean. Without a schema it checks well-formedness; with one, it validates against a public catalog entry or a saved schema, and findings include line and column.

E-invoicing is a particular strength. The catalog includes UBL and CII profiles such as EN 16931, Peppol BIS and XRechnung with their business rules, an auto mode picks the profile from the document's own specification identifier, and Factur-X, ZUGFeRD or XRechnung PDFs have their embedded XML extracted and checked. Zip files validate up to 1,000 documents, and you can add your own Schematron rules or pin a rule-set release so results do not change unnoticed.

Validation in the browser is free up to 1 GB; the API gives 100 validations a month on Free and 10,000 or more on Pro. Self-hosting is offered for documents that must stay on your network.

## Features

- **Multiple schema languages:** XSD, DTD and RelaxNG, plus a schema catalog.
- **E-invoice profiles:** EN 16931, Peppol BIS, XRechnung and similar with business rules.
- **PDF invoice extraction:** Pulls XML from Factur-X and ZUGFeRD PDFs.
- **Custom Schematron:** Run your own rules and pin rule-set versions.
- **Batch zips:** Up to 1,000 documents in one request.

## Good for

- Check an XRechnung before sending
- Explain why a Peppol invoice failed a rule
- Validate an XML feed or sitemap in CI
- Test documents against your own XSD
- Catch rule changes by pinning a version

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http xmlvalid https://xmlvalid.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://xmlvalid.com/mcp
```

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "xmlvalid": {
      "serverUrl": "https://xmlvalid.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "xmlvalid": {
      "type": "http",
      "url": "https://xmlvalid.com/mcp"
    }
  }
}
```

## FAQ

### What does the free plan include?

Browser validation up to 1 GB, 25 saved schemas and 100 API validations a month.

### What happens at the monthly limit?

The API returns 429 until the next month, with no overage billing.

### Can it run on my own servers?

A self-hosted Docker image is listed for confidential documents.

### Does it report error locations?

Yes, with line and column.

### Is xmlvalid free?

xmlvalid has a free plan, with paid plans for more usage or features.

### How do I add xmlvalid to Claude Code?

Run this command in your terminal: claude mcp add --transport http xmlvalid https://xmlvalid.com/mcp

### What are the best alternatives to xmlvalid?

The closest alternatives to xmlvalid are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/xmlvalid
