Get the FREE Ultimate OpenClaw Setup Guide →

cdisc-library

DXT-packaged MCP server for the CDISC Library (discovery, Biomedical Concepts, SDTM Dataset Specializations)

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio cicatriiz-cdisc-library-mcp-server node server.js \
  --env CDISC_API_KEY="your_api_key_here" \
  --env CDISC_AUTH_QUERY="api-key" \
  --env CDISC_AUTH_HEADER="api-key" \
  --env CDISC_CACHE_DEBUG="0" \
  --env CDISC_OPENAPI_DIR="server/openapi" \
  --env CDISC_RETRY_COUNT="2" \
  --env CDISC_API_BASE_URL="https://api.library.cdisc.org" \
  --env CDISC_CACHE_TTL_MS="60000" \
  --env CDISC_AUTH_LOCATION="header" \
  --env CDISC_CACHE_ENABLED="1" \
  --env CDISC_RETRY_BACKOFF_MS="300" \
  --env CDISC_CACHE_MAX_ENTRIES="500" \
  --env CDISC_CACHE_PERSIST_PATH="" \
  --env CDISC_CACHE_EXCLUDE_REGEX="" \
  --env CDISC_CACHE_INCLUDE_REGEX=""

How to use

This MCP server exposes a compact wrapper around the CDISC Library API to help you discover and retrieve Biomedical Concepts and SDTM Dataset Specializations. Use the discovery tools to search and get suggested concepts, then drill into latest or versioned packages. You can fetch a concept or a dataset specialization and follow the _links for deeper context, such as related packages or parent concepts. The server supports both latest routes and package-based routes for reproducible results tied to an effective date. Tools include discovery (suggest and search), Biomedical Concepts (latest and package-based), and SDTM Specializations (latest and package-based).

How to install

Prerequisites:

  • Node.js >= 18
  • npm (comes with Node.js)

Installation steps:

  1. Clone the MCP server repository or obtain the package from your asset store.
  2. Install dependencies: npm install
  3. Create or update environment variables as needed (see Configuration section in README).
  4. Start the server: npm start
  5. Verify the server is running by invoking a basic MCP call or checking logs. If needed, adjust the base API URL or authentication method via environment variables (CDISC_API_KEY, CDISC_AUTH_LOCATION, etc.).

Additional notes

Notes and tips:

  • Ensure your CDISC API key is set (CDISC_API_KEY). If you encounter 401 Unauthorized, verify the key and switch between header and query authentication using CDISC_AUTH_LOCATION.
  • If you experience timeouts or network errors, confirm connectivity to https://api.library.cdisc.org and consider increasing timeout when using call_operation.
  • The server can be packaged as a DXT extension; for changes to API endpoints, update the server/openapi specs and restart.
  • Cache settings are configurable via environment variables (CDISC_CACHE_*). Disable caching by setting CDISC_CACHE_ENABLED=0 if you encounter stale data during development.
  • Use the quick API reference in the README to form requests for discovery, biomedical concepts, and SDTM data.

Related MCP Servers

Sponsor this space

Reach thousands of developers