ClinicalTrials.gov Natural Language API Server
MCP-Server für die Natural Language API von ClinicalTrials.gov
Dieser MCP-Server (Model Control Protocol) ermöglicht Ihnen die Abfrage von ClinicalTrials.gov in natürlicher Sprache. Er nutzt die GPT-Modelle von OpenAI, um Ihre Abfrage in API-Parameter zu übersetzen und strukturierte Ergebnisse zurückzugeben.
Merkmale
Akzeptiert Abfragen in natürlicher Sprache (z. B. „Zeigen Sie mir abgeschlossene Diabetesstudien der Phase 3 in Kanada“)
Verwendet die OpenAI-API zum Parsen und Zuordnen der ClinicalTrials.gov-API-Parameter
Gibt sowohl die analysierten Parameter als auch die Ergebnisse zurück
Related MCP server: Clinical Trials MCP Server
Anforderungen
Python 3.8+
Abhängigkeiten in
requirements.txtOpenAI-API-Schlüssel (als Umgebungsvariable
OPENAI_API_KEYfestgelegt)
Ausführen des Servers
Installieren Sie Abhängigkeiten:
pip install -r requirements.txtLegen Sie Ihren OpenAI-API-Schlüssel fest:
export OPENAI_API_KEY=sk-...Starten Sie den Server:
uvicorn server:app --reload
Verwendung
cURL-Beispiel
curl -X POST "http://127.0.0.1:8000/query" \
-H "Content-Type: application/json" \
-d '{"query": "Show me completed phase 3 diabetes trials in Canada"}'Python-Beispiel
import requests
query = "Show me completed phase 3 diabetes trials in Canada"
response = requests.post(
"http://127.0.0.1:8000/query",
json={"query": query}
)
print(response.json())Was ist MCP?
MCP (Model Control Protocol) ist ein Muster zum Erstellen KI-gesteuerter APIs, die als Kontrollschicht zwischen natürlicher Sprache und strukturierten APIs fungieren. Dieser Server verwendet ein LLM, um die Benutzerabsicht zu interpretieren und sie API-Aufrufen zuzuordnen. Dadurch werden komplexe Daten in einfacher Sprache zugänglich.
Anpassung
Sie können die Eingabeaufforderung ändern oder weitere Parameterschemata in
server.pyhinzufügen, um weitere Abfragetypen oder APIs zu unterstützen.
Bei Fragen oder für Verbesserungen öffnen Sie ein Problem oder einen PR!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables searching and retrieving information from the ClinicalTrials.gov database of over 400,000 clinical studies, including trial details, eligibility criteria, locations, and results across 220+ countries.5
- AlicenseBqualityDmaintenanceEnables searching and querying clinical trials from ClinicalTrials.gov with intelligent filtering for recruiting studies, geographic search, and detailed trial information including contacts and eligibility criteria.376MIT
- AlicenseAqualityDmaintenanceEnables conversational access to 400,000+ clinical trials on ClinicalTrials.gov, allowing users to search, compare, and retrieve trial details using plain English through MCP-compatible clients like Cursor and Claude Desktop.53MIT
- Alicense-qualityCmaintenanceWraps the ClinicalTrials.gov API v2 to enable querying clinical trials data through natural language.12MIT
Related MCP Connectors
ClinicalTrials MCP — wraps ClinicalTrials.gov API v2 (free, no auth)
Search ClinicalTrials.gov — find studies, retrieve results, match patients to eligible trials.
AI-moderated research platform: create and launch studies and query interview results.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/HuaiyuZhang/clinical-trial-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server