Enables the generation of metadata summaries and entity reports from CDISC Define-XML documents in Markdown format.
Provides comprehensive tools for loading, parsing, and querying CDISC Define-XML (versions 2.0 and 2.1) files, including support for datasets, variables, codelists, and Analysis Results Metadata (ARM).
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Define-XML MCP Serversummarize the clinical metadata for /clinical/data/sdtm/define.xml"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
define-xml-mcp-server
TypeScript MCP server for CDISC Define-XML.
Features
Supports Define-XML 2.0 and 2.1
Detects Define version and ARM presence from ODM attributes
Supports both MCP transports:
stdio(default)Streamable HTTP (
/mcpendpoint)
Local file-path input only
Multi-document in-memory cache using
document_idResponse formats:
jsonmarkdown
Install
npm installBuild
npm run buildRun
stdio (default)
npm run devor
node dist/index.js --transport=stdioStreamable HTTP
node dist/index.js --transport=http --port=3000Server endpoint:
POST /mcp
Tool Catalog
Document Tools
define_load_documentInput:
file_path,response_formatLoads/parses XML and returns
document_id
define_close_documentInput:
document_id,response_formatRemoves document from cache
define_get_metadata_summaryInput:
document_id,response_formatReturns metadata and entity counts
Required List/Get Tools
Datasets
define_list_datasetsdefine_get_dataset
Variables
define_list_variablesdefine_get_variable
Codelists
define_list_codelistsdefine_get_codelist
ARM
define_list_arm_resultsdefine_get_arm_result
Search Tool
define_search
Notes
ARM is optional. ARM tools return empty results when ARM data is not present.
All list tools support pagination via
offsetandlimit.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.