Skip to main content Announcing Tool Policies: AI agent permissions down to the field Read the announcement
Live 9 Actions

ClinicalTrials.gov MCP Server
for AI Agents

Connect your AI agent to StackOne's ClinicalTrials.gov MCP server and give it ready-to-use MCP tools out of the box. Auth, tool execution, and security all managed.

ClinicalTrials.gov logo
ClinicalTrials.gov MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

9 Agent Actions

Read-only access to ClinicalTrials.gov. Extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your ClinicalTrials.gov MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every ClinicalTrials.gov tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every ClinicalTrials.gov call.

Tools Discovery →

What is the ClinicalTrials.gov MCP Server?

A ClinicalTrials.gov MCP server lets AI agents read ClinicalTrials.gov data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's ClinicalTrials.gov MCP server ships with pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All ClinicalTrials.gov MCP Tools

Every StackOne action for ClinicalTrials.gov, ready for your agent. Read-only, scoped to exactly what you need.

Studies

  • List Studies

    Search and list clinical study records

Studys

  • Get Study

    Retrieve a single clinical study by its NCT number

Studies Metadatas

  • Get Studies Metadata

    Retrieve the study data-model definition

Study Search Areas

  • List Study Search Areas

    Retrieve the search areas used by study query parameters

Study Enums

  • List Study Enums

    Retrieve all enumeration types and their allowed values

Study Sizes Stats

  • Get Study Sizes Stats

    Retrieve statistics on the byte size of study records

Field Values Stats

  • List Field Values Stats

    Retrieve value statistics for study fields

Field Sizes Stats

  • List Field Sizes Stats

    Retrieve list-size statistics for list-valued study fields

Versions

  • Get Version

    Retrieve the API version and data snapshot timestamp

Set Up Your ClinicalTrials.gov MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to ClinicalTrials.gov in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

FAQ

ClinicalTrials.gov MCP Server FAQ

Ready to put your agents to work?