clinicaltrialsgov-mcp-server

A Model Context Protocol (MCP) Server providing LLM tools for the official ClinicalTrials.gov REST API. Search and retrieve clinical trial data, including study details and more

GitHub Stars

20

User Rating

Not Rated

Favorites

0

Views

29

Forks

2

Issues

3

Installation
Difficulty
Advanced
Estimated Time
20-45 minutes

Installation

[Node.js (>=18.0.0)](https://nodejs.org/)
[npm](https://www.npmjs.com/) (comes with Node.js)
Add the following to your MCP client's configuration file (e.g., cline_mcp_settings.json). This configuration uses npx to run the server, which will automatically install the package if not already present:
json
{
  "mcpServers": {
    "clinicaltrialsgov-mcp-server": {
      "command": "npx",
      "args": ["clinicaltrialsgov-mcp-server"],
      "env": {
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}
bash
npm install clinicaltrialsgov-mcp-server
1 Clone the repository: