Skip to main content
MCP server CX Codex

pyxsd — Claude Code MCP server: what it does, how to install

pyxsd — an MCP server for Claude Code and Cursor: explores XML schemas, validates documents, and transforms typed object trees.

no license ★ 11 updated 2026-11-16

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add pyxsd -- uvx pyxsd
Open on GitHub

What pyxsd does

pyxsd compiles XML Schema into Python classes and validates XML documents into typed object trees. It combines validation reports, XPath queries, and user-defined transforms with optional Pydantic and Arrow integrations. The local stdio server allows agents to inspect schemas and run diagnostics directly in the workspace.

Python 3.11 or newer is required. Transformation execution via MCP remains disabled by default.

What it helps with

  • compile XML Schema into Python classes
  • validate XML documents against XSD
  • query data using XPath paths
  • convert between XML and JSON formats

Example prompts for the agent

  • Validate inventory.xml against inventory.xsd using pyxsd
  • Query the XML document structure with XPath
  • Convert XML data to JSON format

How to install pyxsd

Platform CLI

claude mcp add pyxsd -- uvx pyxsd

uvx runs the command named after the package; if the README names another one, use uvx --from pyxsd <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about pyxsd

How to install pyxsd in Claude Code?

Run claude mcp add pyxsd -- uvx pyxsd in your terminal.

What does pyxsd do?

It compiles XML schemas into Python classes, validates documents, and handles XML queries.

What is required to run pyxsd?

Python 3.11 or newer and the uvx runner are required.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open