Define-XML MCP Server
A TypeScript MCP server for interacting with CDISC Define-XML 2.0 and 2.1 files, enabling users to load, search, and retrieve clinical data metadata including datasets, variables, and codelists. It supports local file processing with document caching and provides responses in both JSON and Markdown formats.
README
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_id - Response formats:
jsonmarkdown
Install
npm install
Build
npm run build
Run
stdio (default)
npm run dev
or
node dist/index.js --transport=stdio
Streamable HTTP
node dist/index.js --transport=http --port=3000
Server endpoint:
POST /mcp
Tool Catalog
Document Tools
define_load_document- Input:
file_path,response_format - Loads/parses XML and returns
document_id
- Input:
define_close_document- Input:
document_id,response_format - Removes document from cache
- Input:
define_get_metadata_summary- Input:
document_id,response_format - Returns metadata and entity counts
- Input:
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.