XSD Retrieval Server
FreeNot checkedEnables users to retrieve, validate, and analyze XSD files from URLs or local paths, integrating with any LLM model.
About
Enables users to retrieve, validate, and analyze XSD files from URLs or local paths, integrating with any LLM model.
README
A Model Context Protocol (MCP) server for retrieving and analyzing XSD (XML Schema Definition) files.
Description
This MCP server provides tools for retrieving XSD files from URLs or local paths, validating them, and analyzing their elements. Integrates with any LLM model.
Features
The server provides the following MCP tools:
- retrieve_xsd - Retrieve an XSD file from a URL or file path
- validate_xsd - Validate if the retrieved content is a valid XSD
- list_xsd_elements - List elements defined in an XSD
- get_mcp_server_info - Get MCP server information including name and version (v1.2.0+)
Installation
npm install
npm run build
Usage
To run the server:
npm start
The server communicates via stdio and can be integrated with any MCP-compatible client.
Tool: retrieve_xsd
Retrieves an XSD file from a URL or local path.
Parameters:
source(string, required): URL or file path to the XSD filesave_path(string, optional): Local path where to save the retrieved XSD file
Tool: validate_xsd
Validates if the provided content is a valid XSD.
Parameters:
xsd_content(string, required): XSD content to validate
Tool: list_xsd_elements
Lists elements defined in an XSD.
Parameters:
xsd_content(string, required): XSD content to analyze
Tool: get_mcp_server_info
Get MCP server information including name and version.
Parameters:
- None
Recent Improvements (v1.2.0)
- Enhanced XML/XSD parsing with improved regex patterns for better accuracy
- Better error handling with graceful degradation for malformed content
- New
get_mcp_server_infotool to retrieve server name and version - Improved namespace extraction with proper prefix and URI handling
- Enhanced element attribute extraction for both self-closing and container elements
- Better deduplication logic for elements with the same name
- Added comprehensive test suite with 9 new tests for XML parsing
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Installing XSD Retrieval Server
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/gdorsi44/mcp-xsd-retreivalFAQ
Is XSD Retrieval Server MCP free?
Yes, XSD Retrieval Server MCP is free — one-click install via Unyly at no cost.
Does XSD Retrieval Server need an API key?
No, XSD Retrieval Server runs without API keys or environment variables.
Is XSD Retrieval Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install XSD Retrieval Server in Claude Desktop, Claude Code or Cursor?
Open XSD Retrieval Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare XSD Retrieval Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
